Page 1 of 1

Windows server and php forms

Posted: Fri Jan 16, 2004 9:59 pm
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.

Got my answer

Posted: Fri Jan 16, 2004 10:28 pm
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.

Posted: Sat Jan 17, 2004 2:42 am
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.