You are here: Re: different PHP_SELF behaviors « PHP Programming Language « IT news, forums, messages
Re: different PHP_SELF behaviors

Posted by Csaba Gabor on 07/04/06 12:11

yawnmoth wrote:
> Say I had the following script:
>
> <?
> echo $_SERVER['PHP_SELF'];
> ?>
>
> Lets call this script test.php. On some severs, accessing
> /test.php/foobar will yield in /test.php/foobar being displayed while
> on others, it'll result in /test.php being displayed. I can't seem to
> find anything that all the servers that do display it or all the
> servers that don't display it have in common. Any ideas? Is it some
> PHP directive or some Apache module or something?

PATH_INFO
See, especially the Jul 3 post of:
http://groups.google.com/group/comp.lang.php/browse_frm/thread/5b0df8b9b8b5d81a/

Csaba Gabor from Vienna

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация