You are here: path_info - orig_path_info (PHP5?) « PHP Programming Language « IT news, forums, messages
path_info - orig_path_info (PHP5?)

Posted by Chuck Anderson on 07/01/06 22:29

This may be more of an Apache question, but after an upgrade at my
remote host (one of them being from Php4 to Php5), $_SERVER['PATH_INFO']
no longer contains any data. Instead, the string I am looking for is in
$_SERVER['ORIG_PATH_INFO'] (never heard of that one before - I found it
using phpinfo).

Example URL:
http://example.com/index.php/Keyword

Before the upgrade $_SERVER['PATH_INFO'] would contain /Keyword. Now it
is blank, and there is a new server variable, $_SERVER['ORIG_PATH_INFO']
that does contain /Keyword.

Is this a Php5 issue, ... an Apache issue, ... something else?

--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
Everyone's journey should be different,
so that we all are enriched
in new and endless ways
*****************************

 

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

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