[PHP] Passing Special Characters In url

2002-07-22 Thread Ricky

Hi,

I am having problems passing variables in a url specifically when there is
an  sign. Any suggestions?

Rick



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Passing Special Characters In url

2002-07-22 Thread Martin Towell

I think the proper way of sending an ampersand is to use amp;

-Original Message-
From: Ricky [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 2:30 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Passing Special Characters In url


Hi,

I am having problems passing variables in a url specifically when there is
an  sign. Any suggestions?

Rick



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Passing Special Characters In url

2002-07-22 Thread Justin French

If I want to pass something with 's in it (commonly a query string i want
to use later), I base64_encode() it, then base64_decode() it later when
needed.

Cheers,

Justin


on 23/07/02 2:29 PM, Ricky ([EMAIL PROTECTED]) wrote:

 Hi,
 
 I am having problems passing variables in a url specifically when there is
 an  sign. Any suggestions?
 
 Rick
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Passing Special Characters In url

2002-07-22 Thread Miguel Cruz

On Tue, 23 Jul 2002, Ricky wrote:
 I am having problems passing variables in a url specifically when there is
 an  sign. Any suggestions?

There is a special function just for you.

   http://php.net/urlencode

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php