RE: [PHP-WIN] Form data

From: Date: Thu, 21 Aug 2003 15:25:36 +0000
Subject: RE: [PHP-WIN] Form data
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-21202@lists.php.net to get a copy of this message
Muhammad You need to grab the variable first - register_globals is in safe mode, probably - so you should do this (you seem to be using an older, insecure method of doing it): <html> <body> <p>Welcome <?php if (isset($_POST["Applicant"])) { $Applicant = $_POST["Applicant"]; } else { $Applicant = "Nobody"; } echo ($Applicant); ?>!</p> </body> </html> Thanks, John Ellingsworth http://mail.med.upenn.edu/~jellings/ -----Original Message----- From: Muhammad Imran [mailto:imran@sdpi.org] Sent: Thursday, August 21, 2003 10:57 PM To: php-windows@lists.php.net Subject: [PHP-WIN] Form data How i can process my form data, my form contain just one text input field and .php code have to show it but when i press ""SUBMIT" button my page url does not change nor the input text seen thier. my php code is : <html> <body> <p>Welcome<?php echo ($Applicant); ?>!</p> </body> </html> html form just send the input text with Applicant text field data. However my php and apache is working fine. Do any one have idea. Imran

« previous php.windows (#21202) next »