$_POST["name"], $name, $_GET["name"] - Nothing works
From: Schnul (schnul_at_gmx.at)
Date: 10/29/03
- Next message: Chris Shiflett: "Re: [PHP] Problems with remote include"
- Previous message: Chris W. Parker: "RE: [PHP] ORDER BY RAND()...."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Oct 2003 21:57:07 +0100
Hi there!
I don't want to bother you, because this question is coming up over and
over. But I searched a lot and didnt't yet find an answer why nothing
works for me. It drives me nuts because I get NOTHING to work and that's
the reason why I would like to ask...
I've a form that looks like this:
this.php
<html>
<body>
<form action="this.php" method="POST">
<input type="text" name="gname">
<input type="text" name="gmail">
<textarea name="gcomment" rows=4 cols=50></textarea>
<input type="submit" value="Submit">
</form>
<?php
print_r($_POST);
print_r($_GET);
print_r($_REQUEST);
echo $_POST['gname'];
?>
</body>
</html>
When I submit the form I don't get anyhting out. I tried already several
variations, but nothing works.
I am using:
PHP 4.2.3
Mandrake Linux 9
Apache-AdvancedExtranetServer/1.3.26
The register_globals is set to on. This is the default by Mandrake in
this version.
Any help is appreciated very much.
Sorry & thanks,
Chris
- Next message: Chris Shiflett: "Re: [PHP] Problems with remote include"
- Previous message: Chris W. Parker: "RE: [PHP] ORDER BY RAND()...."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|