#27850 [Csd->Bgs]: didnt get forms value in php files
| From: | derick@php.net | Date: | Sat, 03 Apr 2004 12:43:43 +0000 |
| Subject: | #27850 [Csd->Bgs]: didnt get forms value in php files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57442@lists.php.net to get a copy of this message | ||
ID: 27850
Updated by: derick@php.net
Reported By: kalpeshchhatrola at compeersolutions dot com
-Status: Closed
+Status: Bogus
Bug Type: *General Issues
Operating System: Fedora
PHP Version: 4.3.4
Previous Comments:
------------------------------------------------------------------------
[2004-04-03 06:50:29] kalpeshchhatrola at compeersolutions dot com
Thanks a lot, this is done now by 'register_globals' ,
------------------------------------------------------------------------
[2004-04-03 02:35:46] pollita@php.net
In PHP 4.2.0, the 'register_globals' setting default changed to
'off'. See http://www.php.net/release_4_2_0.php for more info.
We are sorry about the inconvenience, but this change was a necessary
part of our efforts to make PHP scripting more secure and portable.
Try using $_POST['name1'], $_POST['lanme'], etc...
------------------------------------------------------------------------
[2004-04-03 00:58:19] kalpeshchhatrola at compeersolutions dot com
i have code like, file name is test.php
<?php
?>
<html>
<body>
<form action='test.php' method=post >
<input type=text name=name1 value=''>
<input type=text name=lanme value=''>
<input type=submit name=save value='save'>
</body>
</html>
so while after submit this page, and i want to echo $name1 and $lname
in php file, there i didnt get any value which is i have inputed in to
text field.
if you know about this so please let us know you views
------------------------------------------------------------------------
[2004-04-03 00:20:49] pollita@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Think paragraphs.
------------------------------------------------------------------------
[2004-04-03 00:14:23] kalpeshchhatrola at compeersolutions dot com
Description:
------------
I didint get any value of the forms in php file,
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27850&edit=1