PHP on HP-UX Problem!!

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
barrygar
Forum Newbie
Posts: 2
Joined: Wed Jul 12, 2006 9:14 am

PHP on HP-UX Problem!!

Post 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.
User avatar
sweatje
Forum Contributor
Posts: 277
Joined: Wed Jun 29, 2005 10:04 pm
Location: Iowa, USA

Post 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?
barrygar
Forum Newbie
Posts: 2
Joined: Wed Jul 12, 2006 9:14 am

Post by barrygar »

Yip that has sorted it,

Cheers Barry.....
User avatar
sweatje
Forum Contributor
Posts: 277
Joined: Wed Jun 29, 2005 10:04 pm
Location: Iowa, USA

Post by sweatje »

Great,

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