Re: php problem

From: Date: Tue, 23 Jul 2002 03:09:52 +0000
Subject: Re: php problem
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-11466@lists.php.net to get a copy of this message
if you'ld have read php.ini, you'ld see this: ; - register_globals = Off [Security, Performance] ; Global variables are no longer registered for input data (POST, GET, cookies, ; environment and other server variables). Instead of using $foo, you must use ; you can use $_REQUEST["foo"] (includes any variable that arrives through the ; request, namely, POST, GET and cookie variables), or use one of the specific ; $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending ; on where the input originates. Also, you can look at the ; import_request_variables() function. ; Note that register_globals is going to be depracated (i.e., turned off by ; default) in the next version of PHP, because it often leads to security bugs. ; Read http://php.net/manual/en/security.registerglobals.php for further ; information. On Mon, 22 Jul 2002, Steven Scrivner wrote: > i'm running apache and php on my windows xp box. i'm having problems with passing > form variables to my php script. for some reason, the variables aren't being read by the script > and therefore aren't processing. the php module appears to be set up correctly because other > php scripts work fine, but for whatever reason, i can't pass a variable from a form to a > script. > > thanks for your help, > > /steven scrivner > lexington, ky > -- Best regards, Shimi ---- "Outlook is a massive flaming horrid blatant security violation, which also happens to be a mail reader." "Sure UNIX is user friendly; it's just picky about who its friends are." Sign that you downloaded Linux from a bad source: "My compiler keeps hanging on NSABackdoor.h !!!"

« previous php.mirrors (#11466) next »