Hello to all!
I have this problem I'd like to share with you. 🙂
Imagine one simple form, where user enters his name, hits the SUBMIT button and then on the next page it says "Hi, $name", e.g. "Hi, Twiggy".
I was running PHP v4.1.2 and when I wrote on the second page <?php echo "Hi, $name"; ?> everything worked just fine.
Then I had to upgrade it (to use different function names, pg_exec -> pg_query, etc) to 4.3.1, where that code refuses to work (no errors, but the variable is empty) ... if now I want to print the variable $name, I have to do it like this:
<?php echo $_POST["name"]; ?>
... and I don't like it. I'd like the old way back 🙂 Yeah, I know, it's probably more secure, but anyway ...
Maybe its just a flag that I have to set in my php.ini file, for this to work, I don't know.
I'd be happy if someone could help.
Have a nice day,
Twiggy