#22615 [Opn->Bgs]: html form variable not works

From: Date: Sun, 09 Mar 2003 19:49:10 +0000
Subject: #22615 [Opn->Bgs]: html form variable not works
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-35141@lists.php.net to get a copy of this message
ID: 22615 Updated by: pollita@php.net Reported By: amjad_rahman at hotmail dot com -Status: Open +Status: Bogus Bug Type: *Database Functions Operating System: window 2000 server & xpwin profe PHP Version: 4.3.0 New Comment: This bug system is for problems with the PHP scripting engine, however your description indicates a configuration and/or scripting error. Most likely you are using an old tutorial which dates from before PHP version 4.2.0. When retrieving data from forms either use the super globals: $_GET, $_POST, and/or $_REQUEST, or enable the 'register_globals' configuration directive in php.ini. Previous Comments: ------------------------------------------------------------------------ [2003-03-09 13:40:41] amjad_rahman at hotmail dot com hello, i am a student of computer fields and i am studying in e-commerce sir i used php version 4.3.0 , 4.3.1 , 4.0.3pl1 with iis 5.0 and 5.1 in win 2000 server and xp professional i have a problem with php.when i run it work write mean its function e.g phpinfo() run write but when i print the variable that come from html form mean i collect the data from html form <input> tag it canot print. mean i take a Name="fname" in <input> tag of the form and when i used this Name in php file Like this $fname; and print it like ($fname); it does not print same in echo ($fname); no error come php run proper but it not show the form attributes. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22615&edit=1

« previous php.bugs (#35141) next »