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.
a href=browse.php?DarScientificName=Argononemertes australiensis.../a
(The multiple spaces are
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
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 double
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 Sun, January 13, 2008 6:04 pm, Churchill, Craig wrote:
One of the values I'm passing in a URL string contains multiple
spaces.
a href=browse.php?DarScientificName=Argononemertes
australiensis.../a
(The multiple spaces are between Argononemertes and australiensis)
*ALL* data passed by URL
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
-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:17 am, Jochem Maas wrote:
I
-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?'.urlencode($name).'='.urlencode($value
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
Subject: Re: [PHP] $_GET and multiple spaces
-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
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: 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:
-Original Message-
From: Richard Lynch [mailto
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
Hello,
One of the values I'm passing in a URL string contains multiple spaces.
a href=browse.php?DarScientificName=Argononemertes australiensis.../a
(The multiple spaces are between Argononemertes and australiensis)
However when I retrieve the value using $_GET[DarScientificName]
there is only
14 matches
Mail list logo