You are here: Re: Problem with $PHP_SELF? « PHP SQL « IT news, forums, messages
Re: Problem with $PHP_SELF?

Posted by J.O. Aho on 03/29/07 16:01

strawberry wrote:
> I recently moved a mysql database and its associated php scripts from
> one machine to another.
> Now, however, although no errors are displayed, some aspects of the
> php interface no longer work properly.
>
> I suspect the problem is connected with my use of $PHP_SELF within
> some of the pages.
> I replaced "$PHP_SELF" with "$_SERVER['PHP_SELF']" which (I think) is
> more widely supported but the problem still persists. Is there some
> aspect of my php configuration that I should look at with respect to
> this kind of problem?

If you are using CGI, then $_SERVER[] won't work, if you use ISS you may note
have full functionality in $_SERVER[].

As you don't tell anything about the web server, we can't be sure on what goes
wrong.

--

//Aho

 

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

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