$_Request from 4.3 to v5.x
| From: | Michael Purdy | Date: | Tue, 13 Jul 2004 14:24:11 +0000 |
| Subject: | $_Request from 4.3 to v5.x | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-190351@lists.php.net to get a copy of this message | ||
Folks
I am currently using 4.3.7.
I have a script which accepts three POSTed variables from a basic form. Under 4.3.7 the script
runs fine and the variables are successfully passed to the script.
I am testing 5.0 C3 and receive the following error
PHP Notice: Undefined index: searchtype in c:\http\cgi\list7.php on line 13
<script language='php'>
$searchtype = $_REQUEST['searchtype']; -- this is line 13
$searchterm = $_REQUEST['searchterm'];
$matchtype = $_REQUEST['match'];
Any suggestions on the best way to access data input into a FORM in version 5.x would be most
appreciated.
Mike