I just saw that post...
I feel completely stupid at this point, might I point out.
You're right - register_globals is by default 'on' on this particular
server I"m working on (I don't do a lot of PHP work on it), cuz its an
older version and I haven't been bothered enough to upgrade it... I
hav
At 20:40 06.11.2002, Jason Young spoke out and said:
[snip]
>register_globals is definately off..
>Maybe its a PHP miracle, as Ernest suggested.. maybe Rasmus or someone
>else on the PHP dev team has something to say about it, but it works..
>maybe you all
lt;[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 12:13 PM
Subject: Re: [PHP] Code Advice
Hmm..
So then can anyone tell me why its working so far? ;)
I am trying out every single function in this page in hopes to catch
something, but so far I don'
EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 12:31 PM
Subject: Re: [PHP] Code Advice
> At 20:13 06.11.2002, Jason Young spoke out and said:
> [snip]
> >Hmm..
> >
> >So then can anyone tell me
On Wed, 6 Nov 2002, Jason Young wrote:
> So then can anyone tell me why its working so far? ;)
It doesn't work at all like you want it to. I assume you've already put
this script up on a web server to test, so watch this:
After this line:
$$key = $val;
Insert this line for debugging:
m: "Jason Young" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 12:13 PM
Subject: Re: [PHP] Code Advice
> Hmm..
>
> So then can anyone tell me why its working so far? ;)
>
> I am trying out every single function in this page in hop
At 20:13 06.11.2002, Jason Young spoke out and said:
[snip]
>Hmm..
>
>So then can anyone tell me why its working so far? ;)
>
>I am trying out every single function in this page in hopes to catch
>something, but so far I don't see any breakage - I can see t
At 20:08 06.11.2002, Ford, Mike [LSS] spoke out and said:
[snip]
>> -Original Message-
>> [...snip...]
>> value, in _GET or _POST? Try this:
>> foreach ($_POST as $name => $value)
>> $_GET[$name] =& $value;
>> You
L PROTECTED]
Subject: Re: [PHP] Code Advice
All I have to go by is what I see. The method was this..
$get_allow = array('foo', 'bar', 'add', 'takeovertheworld');
while (list($key,$val)=each($get_allow))
{
if (isset($_GET[$key]))
$$key = $val;
t; > a numerical Key
> > which is going to result in several errors.
>
> Huh? What on earth does this mean?
>
> > -Kevin
> >
> > - Original Message -
> > From: "Jason Young" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]&g
> -Original Message-
> From: Ernest E Vogelsinger [mailto:ernest@;vogelsinger.at]
> Sent: 06 November 2002 18:49
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Code Advice
>
>
> Ever had a headache with posted parameters, as to where to
> look for the
> val
> -Original Message-
> From: Kevin Stone [mailto:kevin@;helpelf.com]
> Sent: 06 November 2002 18:50
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Code Advice
>
>
> All I have to go by is what I see. The method was this..
>
> $get_allow = array('fo
At 19:50 06.11.2002, Ford, Mike [LSS] spoke out and said:
[snip]
>> -Original Message-
>> From: Kevin Stone [mailto:kevin@;helpelf.com]
>> Sent: 06 November 2002 18:32
>>
>> The method that you have described below is going to produce
invalid variable name.
-Kevin
- Original Message -
From: "Ford, Mike [LSS]" <[EMAIL PROTECTED]>
To: "'Kevin Stone'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Jason
Young" <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 11:
At 18:52 06.11.2002, Jason Young spoke out and said:
[snip]
>I (think I) have come up with an interesting little solution for pages
>that have/can potentially have a lot of get vars, and I just wanted to
>throw it by everyone to see if I know what I'm talki
this mean?
> -Kevin
>
> - Original Message -
> From: "Jason Young" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, November 06, 2002 10:52 AM
> Subject: [PHP] Code Advice
>
>
> > I (think I) have come up with an interesting
The method that you have described below is going to produce a numerical Key
which is going to result in several errors.
-Kevin
- Original Message -
From: "Jason Young" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 10:52 AM
Subject: [
I (think I) have come up with an interesting little solution for pages
that have/can potentially have a lot of get vars, and I just wanted to
throw it by everyone to see if I know what I'm talking about...
Instead of having a whole bunch of ...
"if (isset($_GET['var']))
$var = $_GET['var']"
..
18 matches
Mail list logo