ID: 22233 Updated by: [EMAIL PROTECTED] Reported By: zlo at canada dot com -Status: Assigned +Status: Feedback Bug Type: CGI related Operating System: RedHat 7.1, 7.2 PHP Version: 4CVS, 5CVS Assigned To: shane New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2003-08-21 16:05:38] paulknapp at att dot net I am having the same issues: I am expecting <form action="?"> and getting <form action="root/folder/file.php?"> the server is set up with version 4.3.1 Is there a fix? ------------------------------------------------------------------------ [2003-03-05 01:57:14] mailing at auktionmaster dot de Yust tested a new snapshot (4.3.2-dev): Problem is nearly solved :-) Now: if you call "http://host/test.php?a=test" where test.php does phpinfo(); then $PHP_SELF ist set to "/test.php?a=test". I think there should be no parameter... Even the PHP-Logo is NOT shown :-) "http://host/test.php" works fine. So as mod-Version Regards, Bjoern ------------------------------------------------------------------------ [2003-03-04 10:54:11] mailing at auktionmaster dot de Problem WAS fixed in an older snapshot but actually it is not. $PHP_SELF and all other variables like $_SERVER[PHP_SELF] are set to a wrong value (sometimes they are still empty). Depending on this the following problem occours: http://host/test.php?userid=1passwd=1 works; http://host/testtesttest.php?userid=1passwd=1 doesn't work; The file exist in both cases of course. Sometime the "parameter" is not splited on "&" ------------------------------------------------------------------------ [2003-02-24 10:30:18] Julian dot Pawlowski at jp-solution dot net Ooops I'm very sorry... just tried the actual snapshot and now everything works fine for me ;) Greetings from Munich Julian ------------------------------------------------------------------------ [2003-02-23 18:21:29] g00155005 at mersin dot edu dot tr and also i should add returned $_SERVER['PHP_SELF'] value is not related to real path. e.g.: Document root: /var/www/html document : /var/www/html/genel/index.php URL: http://localhost/genel/index.php PHP_SELF: l/genel/index.php ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22233 -- Edit this bug report at http://bugs.php.net/?id=22233&edit=1