> -----Original Message-----
> From: Prashant A [mailto:[EMAIL PROTECTED]

> Our Site is running on Linux/Apache/PHP/MySQL Combination.
> I am unable to retrieve the Values passed from HTML
> FORM(test1.html) in a PHP Page(test1.php)
>
> Is it something to do with the Web Server Settings or any thing
> else...............?

Register Globals are disabled by default since PHP 4.2.0.
You can read more on these at:

        http://www.php.net/manual/en/security.registerglobals.php

> <?php
> echo $text1;
> ?>

something like this should work:

echo $_POST['text1'];

Of course you should validate that any external variables exist and contain
acceptable values.

if (isset($_POST['text1']) {
        // check for valid values, etc.
}

 - Barry


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to