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:[EMAIL PROTECTED] 
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 [EMAIL PROTECTED]
Thanks
  Stan 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to