View Full Version : $_POST error
01-11-2006, 08:01 PM
i face a very strange problem
when i build form using post method
i cannot get values like $_POST['email']
must use $HTTP_POST_VARS['email'] to get it, what happens?
01-11-2006, 08:16 PM
What version of PHP do you run? Try running print_r($_POST);
01-11-2006, 09:47 PM
$_POST was introduced in PHP 4.1.0. For versions before then, you have to use HTTP_POST_VARS. This is most likely to be this in your case.
01-11-2006, 10:04 PM
I'd change the server/upgrade PHP.
01-12-2006, 04:05 AM
you you giving the value to a variable?
$email = HTTP_POST_VARS['email'];
01-12-2006, 04:46 AM
my version is PHP Version 4.4.0
and i tried to print_r($_POST);
01-12-2006, 08:05 AM
are you using method="POST" in your forms ?
01-12-2006, 03:03 PM
What do you get if you use
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.