...

View Full Version : Moved to PHP 4.2.3 and values disapeared from forms



raf
03-24-2003, 11:12 PM
OK. I'm not a PHP god. I'm moving from ASP into PHP and had a small testapp running.
I've installed PHP 4.2.3 today, and my app stopped running. There are simply no values in the form)variables. I've changed my form-code and used the GET method ---> there are values in the querystring, buth my PHP doesn't echo or print any values.

I'm going mental on this. Ive restarted my IIS (5) and Apache (1.3.27) but no luck. I'm running this on a Win2000 Pro machine.

I'm going mental on this.
I've already wasted more then an hour on this.

Anyone knows what i may have overlooked?

Nightfire
03-24-2003, 11:34 PM
How are you retrieving the values?

For get, you should be using:

$_GET['string']

For post variables:

$_POST['string'];

Server variables

$_SERVER['string']

Sessions

$_SESSION['string']

Cookies
$_COOKIE['string']

etc

raf
03-24-2003, 11:47 PM
Thanks.

i used $variable.
when i got your post, i made a search so now i know. (stupid old versions ...)

Spookster
03-24-2003, 11:47 PM
What was your previous version of PHP that you moved from?

raf
03-25-2003, 12:00 AM
4.1 i think.
Came with the 20$ book which got outdated by the time i realy dug in to it.

Should have checked the PHP4 Changelog http://www.php.net/ChangeLog-4.php but i got to frustrated . At least i'll be able to sleep now :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum