Re: variables not working
| From: | Brad Kowalczyk | Date: | Sat, 23 Jul 2005 23:28:59 +0000 |
| Subject: | Re: variables not working | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-16519@lists.php.net to get a copy of this message | ||
eric lewis wrote:
Hi there But I can’t transfer a simple variable from a form to another php file. However it does work if I use $_POST['inputdata']. I would much rather be able to use simple variables, No you dont want to do this, it poses a major security risk which is why it is now turned off by default. If you REALLY MUST do it then find register_globals = Off in php.ini and change it to 'On' and restart Apache. Again, this really isnt such a good idea.
(it works fine on my hosting companies server) EEIIK!!!-- Brad Kowalczyk Web Developer www.ibiscode.com