[wp-hackers] PHP as cgi, SCRIPT_NAME errors
Nikolay Bachiyski
nbachiyski at developer.bg
Sat May 14 07:04:55 GMT 2005
Some months ago I encountered the same problem and I thought all
SCRIPT_NAME occurences were replaced by PHP_SELF ones.
See http://mosquito.wordpress.org/view.php?id=517
Nikolay.
Carthik Sharma wrote:
> Hi,
>
> http://wordpress.org/support/topic/33564 is an example of the problem
> produced when php is running as cgi. In this case, it appears that
> $_SERVER['SCRIPT_NAME'] returns the cgi path rather than the required
> file.
>
> What's the best way to solve this, a search lead to beleive that using
> $_SERVER['PHP_SELF'] should fix it, but I cannot begin to work out
> where all this will have to be changed :)
>
> Could something be done about this in the source, like in
> wp-settings.php or something?
>
> Carthik.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list