|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-01-04 13:52 UTC] pYrania at 1337-designz dot de
During some debug process I tried to display the script with:
<?php
show_source(getenv("SCRIPT_FILENAME"));
?>
This did work on all unix machines i tested ..
There is no configure line as you can imagine (WinServer). So all modules of the standart installer version are activated / used.
It doesnt output any Errors, and even the error.log of _Apache_ gives no information, BUT it prints out unusefull date like:
MZ????@??? ?!?L?!This program cannot be run in DOS mode.
...
HTTP_COOKIEPHP_SELF
%sErrors parsing %s
No syntax errors detected in %s
No input file specified.
rbPATH_TRANSLATED-+%s
Not Implemented
After this it shows the php.exe -? options ..
I hope it's just a porting bug from liunx -> windows.
Regards,
Markus Nigbur
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 13:00:01 2025 UTC |
Ok, the problem is getenv("SCRIPT_FILENAME") / gentenv("SCRIPT_NAME") outputs 'c:/php/php.exe' so it's not the show_source, but the getenv function :)