Re: IIS5 and PHP4 problems
| From: | Chris Hewitt | Date: | Tue, 16 Jul 2002 10:41:08 +0000 |
| Subject: | Re: IIS5 and PHP4 problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-107833@lists.php.net to get a copy of this message | ||
Peter Stöcker wrote:
Hi there! I have a problem with the IIS5. After I have installed PHP4 following the instruction on php.net, everything works fine instead of handling forms. Each variable deliverd by a form (e.g. test.php?id=5) is empty (id=="" is true). I imagine that the release notes to the version of php you have loaded will inform you that, by default, register_globals is off. I answered this one for another poster yesterday and I was not the only one. People do not seem to look at previous posts or archives or faqs before posting.You need to either turn register_globals on in php.ini or, better still, use $_GET['var'] to get the values of GET variables or $_POST['var'] for POST variables. HTH Chris