Reply to Re: [PHP] Inconsistent behavior, same code, different server

Your name:

Reply:


Posted by Rob Tanner on 01/19/05 00:36

--On Tuesday, January 18, 2005 02:05:59 PM -0800 Richard Lynch
<ceo@l-i-e.com> wrote:

>
> First, use <?php phpinfo();?> to confirm 100% that the php.ini file you
> think is loading is actually loading.
>
> Next, be sure your Apache was restarted.
>
> Finally, I'd look (maybe even grep) for some kind of auto_prepend script
> or bug or something odd with the name 'fmode' outside of your scripts.
>

How right thou art! Turns out that there was more than one php.ini on the
production server and the php.ini it was using was in /usr/local/lib, and
register_globals was turned on. Turn register_globals off, and my problem
went away. But as it turns out, we have to leave it on for the time being
because of legacy code that hasn't been rewritten yet. Found that I had a
form field and a php variable with the same name. I changed the form field
name and I'm back in business.

Many helpful clues. Thanks to everyone who responded.


--
Rob Tanner
UNIX Services Manager
Linfield College, McMinnville OR

[Back to original 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

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