ID: 17021 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Analyzed +Status: Closed Bug Type: Other web server Operating System: Windows XP Pro PHP Version: 4.2.0 New Comment:
I have decided to Switch to Apache. If I have further problems I will open a new bug report. Thank you for you time! David Previous Comments: ------------------------------------------------------------------------ [2002-05-05 21:15:57] [EMAIL PROTECTED] quite frankly, xitami gives extremely strange results, for lots of issues. have you considered using another server, such as apache for windows? ------------------------------------------------------------------------ [2002-05-05 17:19:55] [EMAIL PROTECTED] Upon closer inspectation of the CGI code I it seems your webserver doesn't properly set the environment varaibles needed for PHP to construct the PHP_SELF variable. CGI needs to have either PATH_INFO or SCRIPT_NAME to be set via the environment. That's the only possibility why PHP_SELF is simply empty. Since I'm not that familiar with Xitami I can't say if it's a bug there, but you might want to check in Xitami related forums to get a quicker answer. ------------------------------------------------------------------------ [2002-05-05 17:04:25] [EMAIL PROTECTED] Changing category. Seems to be a Xitami or CGI issue then (sorry I seem to have misread you were using Xitami). ------------------------------------------------------------------------ [2002-05-05 16:52:28] [EMAIL PROTECTED] The script doesn't show anything. Just says "_SERVER["PHP_SELF"]" in the first column and nothing in the second column. See for your self. http://www.dgtechnology.com/server.php Make sure to keep the www.. Thanks David ------------------------------------------------------------------------ [2002-05-05 16:39:51] [EMAIL PROTECTED] No, echo $PHP_SELF or var_dump(${PHP_SELF) *cannot* display PHP_SELF unless you disabled php parsing or whatever. Anyway, what does phpinfo() output say about PHP_SELF, does it show anywhere up in the page? If so, where (paste the appropriate table line) ? And, also double check the register_globals ini setting in your phpinfo() output. I still think you have it disabled. ------------------------------------------------------------------------ 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/17021 -- Edit this bug report at http://bugs.php.net/?id=17021&edit=1