Click to See Complete Forum and Search --> : GET & POST Data not working + Long story ...


jrichey_98
12-15-2002, 12:16 AM
Once upon a time there was this happy person running apache 1.3? on his Windows 2000 Pro, Dual Pentium Pro 512K, it ran great with PHP & MySQL. Then one day this dumbfolded person decided to reformat and reinstall since he had been hacked. He reinstalled windows then proceded to install the latest builds of Apache2, PHP, & MySQL.
Everything was running like a dream till he tried to log into his site. Apparently no POST or GET data was getting through. He installed apache 1.3 (latest) and same problem. By this time this poor guy was banging his head against the wall and copied the http.conf and php.ini from his backup and still the same problem ... he even tried to install the old versions that were.running on the computer at the time to no avail.

Anyway I don't know why the system isn't taking GET or POST data but it has me stumped ... I followed every step described in the installation manual for Apache1 & 2. It has to be some setting that my old config was tolerant of but won't work now.

Since then I've reinstalled windows 2000 & Apache2 latest, MySQL 3 latest, and PHP 4 latest. Any help would be greatly appriciated as I have run out of idea's and have spent about 24 hours atleast trying to get the darn thing working.

HTTPD.CONF + PHP.INI + PHPINFO(); Included as attachment

Thanks,
--Jem

ahundiak
12-15-2002, 12:27 AM
Does your code use things like
$var = $_POST['posted_variable_name'];
echo $var;

Or does it just use
echo $posted_variable_name

Your phpinfo shows that
register_globals=Off

So if you use the second format then your scripts will stop working. Edit php.ini and turn register_globals back on. Or better yet, change your scripts.

jrichey_98
12-15-2002, 12:28 AM
register-globals = on

Sorry for the spam guy's ... guess I should have read more into the forum's ... I haven't needed to do anything with my code for so long it's just set there and become out dated.

I hope I learn from this experiance and that you all enjoy my little story.

Thx,
--Jem