RE: [PHP-WIN] php help
| From: | Rich Gray | Date: | Mon, 26 Aug 2002 23:05:15 +0000 |
| Subject: | RE: [PHP-WIN] php help | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15520@lists.php.net to get a copy of this message | ||
I presume you have v4.2 of PHP installed...
Globals are off by default so use $_POST['id'] in course.php or set
register_globals to on in php.ini (security implications however)
-----Original Message-----
From: mathew jose seby [mailto:sebyjm@rediffmail.com]
Sent: 23 August 2002 23:23
To: php-windows@lists.php.net
Subject: [PHP-WIN] php help
sir,
the following code i used to pass an id from one page to next but
it is not working,can you please help me.
(i am working on windows 98 os,apache server)
application.html::::::::::
<html>
<body>
<form action=course.php method=post>
<BR> Enter an id num:<input type=text name=id size=4><br>
<input type=submit value="Send Id!">
</form>
</body>
</html>
---------------------------------------------------
course.php::::::::::::::
<html>
<body>
<?
print "You entered: " . $id . "<br>";
?>
</body>
</html>
__________________________________________________________
Give your Company an email address like
ravi @ ravi-exports.com. Sign up for Rediffmail Pro today!
Know more. http://www.rediffmailpro.com/signup/
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php