note 22774 deleted from faq.installation by philip
| From: | philip@php.net | Date: | Tue, 21 Jan 2003 02:23:40 +0000 |
| Subject: | note 22774 deleted from faq.installation by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-42456@lists.php.net to get a copy of this message | ||
Q: With the new (php 4.2.0) version of PHP we couldn't pass
form/query string etc., variables from one file to the other.(eg: form
submissions). Do we need to set any variables in PHP.ini or some where to
enable such behaviour for this PHP version. Any clues to solve this issue
will be highly appreciated.
A: you should turn on the register_globals variable in php.ini
This however seems to create some security risks.. The docs say you should use the $HTTP_*_VARS[],
wich i couldn't figure out since I couldn't find any documentation about this.
You could also use cookies or a DB to store the values ofcourse.....