Windows server and php forms

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
mwphurst
Forum Newbie
Posts: 17
Joined: Fri Jan 16, 2004 9:59 pm

Windows server and php forms

Post by mwphurst »

I recently installed php and mysql on my home pc, windows xp, so I could work on my scripts without having to upload them to my hosted server, every time I wanted to test something.

The problem I am having is the php seems to be working. All the code is hidden when the page is displayed. But when I submit information, nothing happens. I have run scripts that just send info to the same script from a simple form, but nothing happens.
mwphurst
Forum Newbie
Posts: 17
Joined: Fri Jan 16, 2004 9:59 pm

Got my answer

Post by mwphurst »

I got my answer from another post I found. It was because the register_globals were set to off. Because the way the scripts I was using were written. I needed them set to on. Now that I did that they seem to work, but in doing so I created some more problems.

Oh how I love working with php.
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

I would recomend keeping register_globals off and referencing variables with $_POST and $_GET etc. Dont get into bad habbits by turning register_globals on.
Post Reply