Re: Global Variables and Form Variables

From: Date: Mon, 12 Jan 2004 15:15:46 +0000
Subject: Re: Global Variables and Form Variables
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-22564@lists.php.net to get a copy of this message
On Mon, 2004-01-12 at 15:43, Jim MacDiarmid wrote: > For some reason, the first time I attempt to access a form variable or > global variable PHP does not seem to think it's defined. For each one > that shows an "undefined" error, I've had to put the following code at > the beginning of the script. Should I have to do this? As far as my knowledge go - which does not go that long at all - all I did was installing php and (POST'ed) FORM variables worked just fine with me. How do you try to retrieve FORM variables? Do you do something like: $MyPostedVar = $_POST['MyPostedVar'];

« previous php.windows (#22564) next »