RE: [PHP-WIN] XP and PHP
| From: | RaveRod | Date: | Thu, 17 Feb 2005 05:47:32 +0000 |
| Subject: | RE: [PHP-WIN] XP and PHP | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25604@lists.php.net to get a copy of this message | ||
Try using either $_POST['NAMES'] or $_REQUEST['NAMES'].
You can only use $NAMES if you have register_globals on (which is a bad
thing).
-----Original Message-----
From: Stan Holmes [mailto:stan.holmes@arivia.co.za]
Sent: Thursday, 17 February 2005 2:06 AM
To: php-windows@lists.php.net
Subject: [PHP-WIN] XP and PHP
Hi
New at this game. I loaded php5 on XP with the php installer. I cannot get
a varable to parse. Can anyone help. I do believe it is with the
instalation. I have checked the rights to the ini file and the the php
directory - i gave full control to try and get it working. Set the path
varable. Here is the code which is in the root directory of the IIS web
site. Right are correct on these files.
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<FORM METHOD="POST" ACTION="p-3-3.php">
<BR> NAMES:
<INPUT TYPE="TEXT" NAME="NAMES">
<BR>
<INPUT TYPE="SUBMIT" VALUE="SEND">
</FORM>
</body>
</html>
==========================
PHP FILE
==========================
<?php
echo ("Names=$NAMES");
?>
My email address is stan.holmes@arivia.co.za
Thanks
Stan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php