Re: Call to undefined function: array()

From: Date: Tue, 01 Jun 2004 22:08:03 +0000
Subject: Re: Call to undefined function: array()
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-23903@lists.php.net to get a copy of this message
You know what, your right. I should have caught that, and my friend should have caught that cause he programs PHP for a living. Shows how much he wanted to help. THanks a lot. "Jordi Canals" <llistes@jcanals.net> wrote in message news:40BCFC0C.5060709@jcanals.net... > Leguvan wrote: > > > I'm using Windows Server 2003 with IIS 6 and PhP Version 4.3.6. > > When I try to use this line of code > > > > $username = $_POST('username'); > This should be: $username = $_POST['username']; > > > > it will give m ethis error > > > > Fatal error: Call to undefined function: array() in D:\ > > > > My register_globals is ON. > > > > Any help is appreciated. > > Hope it helps, > Jordi.

« previous php.windows (#23903) next »