On Mar 16 Abr 2002 11:33, Steve Edberg wrote:
> You might be thinking of the register_globals parameter here, instead
> of safe_mode:
>
> http://php.he.net/manual/en/configuration.php#ini.register-globals
>
> It is, in general best to keep this off so that you can explicitly
> validate user in
You might be thinking of the register_globals parameter here, instead
of safe_mode:
http://php.he.net/manual/en/configuration.php#ini.register-globals
It is, in general best to keep this off so that you can explicitly
validate user input. If you trust the POST or GET data, though, you
can tu
esday, April 16, 2002 9:25 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] viewing get/post variables
On Mar 16 Abr 2002 11:02, Jaime Bozza wrote:
> Read the NEWS file for PHP 4.2.0. (It should be located in the base
> directory of the source distro)
You're talking about:
- ACHTUNG!!
On Mar 16 Abr 2002 11:02, Jaime Bozza wrote:
> Read the NEWS file for PHP 4.2.0. (It should be located in the base
> directory of the source distro)
You're talking about:
- ACHTUNG!! register_globals defaults to 'off' now !!!
Yes, but phpinfo() says that register_globals is On!!
Any way, I go
ECTED]]
Sent: Tuesday, April 16, 2002 8:44 AM
To: Christoph Starkmann; [EMAIL PROTECTED]
Subject: Re: [PHP] viewing get/post variables
On Mar 16 Abr 2002 10:35, Christoph Starkmann wrote:
> Hi Martín!
>
> > I can't remmeber how to configure php.ini so that if I get the UR
On Mar 16 Abr 2002 10:50, Jason Wong wrote:
> >
> > - Original Message -
> > From: "Martín Marqués" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, April 16, 2002 8:29 AM
> > Subject: [PHP] viewing get/post variables
> >
> > > I can't remmeber how to configure php.ini so
On Tuesday 16 April 2002 21:39, Tyler Longren wrote:
> You shouldn't have to do anything to php.ini to get that. You should have
> a variable called $var1 on index.php already.
>
> Just:
> if ($var1 != "") {
> print "$var1";
> }
> else {
> print "var1 is empty";
> }
>
> Tyler Longren
> Ca
On Mar 16 Abr 2002 10:39, Tyler Longren wrote:
> You shouldn't have to do anything to php.ini to get that. You should have
> a variable called $var1 on index.php already.
Wrong. I get NULL from the variable I'm passing.
--
Porqué usar una base de datos relacional cualquiera,
si podés usar Post
On Mar 16 Abr 2002 10:35, Christoph Starkmann wrote:
> Hi Martín!
>
> > I can't remmeber how to configure php.ini so that if I get the URL
> > http://localhost/index.php?var1=10
> > an echo $var1 will return 10
> > What I mean, is that _GET["var1"] exists, but I want $var1 to
> > be available.
>
>
You shouldn't have to do anything to php.ini to get that. You should have a
variable called $var1 on index.php already.
Just:
if ($var1 != "") {
print "$var1";
}
else {
print "var1 is empty";
}
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
- Origin
Hi Martín!
> I can't remmeber how to configure php.ini so that if I get the URL
> http://localhost/index.php?var1=10
> an echo $var1 will return 10
> What I mean, is that _GET["var1"] exists, but I want $var1 to
> be available.
If $var1 is not available directly, your safe_mode seems to be
tur
11 matches
Mail list logo