[thelist] PHP form problems

Sarah Adams mr.sanders at geekjock.ca
Tue Apr 24 14:00:16 CDT 2007


> Maybe we step back a moment and see what I am doing in my very basic form
> handling script, which is hardly anything at all:
> 
> <snip>
> $name = $_POST["name"];
> <snip>
> 
> That's all there is to it. Like I said earlier, on my dev domain, I get all
> the info in my e-mail immediately, but on my clients domain, the email does
> come over - but it's totally blank. It's as if it has no idea that the
> variables contain any data I assume.
> 
> My client's server is running PHP 4.0.6, my dev server is running 4.4.4 ...

I think the problem may be that $_POST isn't defined in 4.0.6:
http://ca.php.net/manual/en/reserved.variables.php#reserved.variables.post
Quote: "Note:  Introduced in 4.1.0. In earlier versions, use
$HTTP_POST_VARS."

-- 
sarah adams
web developer & programmer
portfolio: http://sarah.designshift.com
blog: http://hardedge.ca



More information about the thelist mailing list