Page 1 of 1

PHP on HP-UX Problem!!

Posted: Wed Jul 12, 2006 9:31 am
by barrygar
Hi Folks,

I have been using PHP4 on windows with apache and MySql for ever basically, but have a need to move to hp-ux. I installed everything , PHP4, MySql5, Apache 1.3.26. Everything is running. But for some reason the values from a htm form are not carrying over to my .php scripts. Example a html from calling a php script to enter from values into the database. But if i hard code the values into the php insert script and call it it works fine.

I have looked at httpd.conf and php.ini but dont see anything unusual.

Any help as i am cracking up trying this out.

Barry.

Posted: Wed Jul 12, 2006 10:03 am
by sweatje
It sounds like perhaps you had register_globals on in the original environment, and off in the current. Can you post a snippet of how you are getting the vars from the post data?

Posted: Wed Jul 12, 2006 10:30 am
by barrygar
Yip that has sorted it,

Cheers Barry.....

Posted: Wed Jul 12, 2006 10:36 am
by sweatje
Great,

Hopefully it was solved by correcting the code, not by enabling the register_globals setting, right?