[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-db
Subject:    Re: [PHP-DB] forms and method POST - variables
From:       Chris <dmagick () gmail ! com>
Date:       2008-01-10 2:05:39
Message-ID: 47857D73.4040801 () gmail ! com
[Download RAW message or body]


> Because I got some old scripts where I donīt have this setting.they worked
> on MS Win2000 - PWS and PHP 4.0 but now - with Apache 2.2.6, PHP 5.2 on WIN
> XP it doesnīt work.

You might be using the old format of $HTTP_POST_VARS.

Do a search for that string and change it to

$_POST

and the same for $HTTP_GET_VARS (change to $_GET).


It could also be a side-effect of register_globals being enabled in 
php4.0 and not in php5.2.

http://www.php.net/manual/en/security.globals.php

-- 
Postgresql & php tutorials
http://www.designmagick.com/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic