You are here: Something strange introduced in 5.2.0 « PHP Programming Language « IT news, forums, messages
Something strange introduced in 5.2.0

Posted by Jeremy on 11/17/06 23:22

If you have 5.2.0 installed, try this. Create a file called
"TestThing.class.php" in the document root of a host (say the host is
test.thing.net).

Now, if you go to http://test.thing.net/TestThing the code in
TestThing.class.php gets executed. Some kind of URL rewriting is going
on here on PHP's end? I do not have mod_rewrite enabled on this server
- it's installed, but "RewriteEngine On" is never issued. I cannot find
anything in apache2.conf or php.ini that would cause this to occur.

Is there some new thing in PHP5 that does this? This does not happen on
an identical web site (all code the same, same apache version) on a
server running 5.1.2. How would php even get *called* for that Request URI?

Jeremy

 

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

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