Andrés Robinet schreef:
-Original Message-
...
$name = 'mylist[myindex]';
this is almost an invite to moan about how http_build_query() was
'fixed'
in 5.1.3 to escape square brackets ... which makes php nolonger do one
of
the coolest, imho, with regard to incoming GET/POST values -
> -Original Message-
> From: Jochem Maas [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 14, 2008 8:34 PM
> To: Andrés Robinet
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] $_GET and multiple spaces.
>
> Andrés Robinet schreef:
> >> -Origina
Andrés Robinet schreef:
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Monday, January 14, 2008 7:08 PM
To: Andrés Robinet
Cc: php-general@lists.php.net
Subject: RE: [PHP] $_GET and multiple spaces.
On Mon, January 14, 2008 1:33 pm, Andrés Robinet wrote
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 14, 2008 7:08 PM
> To: Andrés Robinet
> Cc: php-general@lists.php.net
> Subject: RE: [PHP] $_GET and multiple spaces.
>
> On Mon, January 14, 2008 1:33 pm, Andrés Robinet w
On Mon, January 14, 2008 1:33 pm, Andrés Robinet wrote:
>> -Original Message-
>> From: Richard Lynch [mailto:[EMAIL PROTECTED]
>> Sent: Monday, January 14, 2008 2:11 PM
>> To: Jochem Maas
>> Cc: clive; Churchill, Craig; php-general@lists.php.net
>> S
> -Original Message-
> From: Andrés Robinet [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 15 January 2008 6:33 AM
> To: php-general@lists.php.net
> Subject: RE: [PHP] $_GET and multiple spaces.
> Like this?
>
> $url =
> htmlspecialchars('whatever.php?'.
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 14, 2008 2:11 PM
> To: Jochem Maas
> Cc: clive; Churchill, Craig; php-general@lists.php.net
> Subject: Re: [PHP] $_GET and multiple spaces.
>
> On Mon, January 14, 2008 3:
On Mon, January 14, 2008 3:17 am, Jochem Maas wrote:
> I think actually the whole url should be urlencoded as a matter of
> course, not
> 100% sure about this (and it's way to early on a monday to bother
> checking up ;-) ...
> maybe someone else can chime in?
Actually, after you urlencode() the v
On Sun, January 13, 2008 6:04 pm, Churchill, Craig wrote:
> One of the values I'm passing in a URL string contains multiple
> spaces.
>
> ...
> (The multiple spaces are between Argononemertes and australiensis)
*ALL* data passed by URL to GET should be urlencoded:
http://php.net/urlencode
urlenco
thanks, Nisse, for clearing up my half-baked-monday-morning answer.
AFAICT (now that I have woken up somewhat) you are indeed correct.
Nisse Engström schreef:
On Mon, 14 Jan 2008 10:17:03 +0100, Jochem Maas wrote:
clive schreef:
Hi - What Al said, but you want to use the url_encode/url_decode
On Mon, 14 Jan 2008 10:17:03 +0100, Jochem Maas wrote:
> clive schreef:
>> Hi - What Al said, but you want to use the url_encode/url_decode
>> functions in php
>
> you don't need to use url_decode() because php will do that automatically
> for incoming data - the caveat being situations where do
clive schreef:
Hi - What Al said, but you want to use the url_encode/url_decode
functions in php
you don't need to use url_decode() because php will do that automatically
for incoming data - the caveat being situations where double urlencoding is
being used (anyone playing with multiple redirec
Hi - What Al said, but you want to use the url_encode/url_decode
functions in php
Clive
Churchill, Craig wrote:
Hello,
One of the values I'm passing in a URL string contains multiple spaces.
...
(The multiple spaces are between Argononemertes and australiensis)
However when I retrieve the v
Hello,
One of the values I'm passing in a URL string contains multiple spaces.
...
(The multiple spaces are between Argononemertes and australiensis)
However when I retrieve the value using $_GET[DarScientificName]
there is only a single space between the two names which I understand is the
int
14 matches
Mail list logo