Show your code. If I pass a + sign in a form, it comes out as a plus
sign in my data... I don't see your problem unless I do something like
this:

$data = "abc+def$ghi";
echo "<a href='link.php?data=$data'>Click Here</a>";

Which is solved by using urlencode() before you place it in the link. 

---John Holmes...

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 19, 2002 10:53 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] plus sign has changed to space after POST
> 
> This is the problem that I describe earlier in the thread.  I can't
save
> %24 in the database but "$".
> 
> ie
> a user send a string "abc+def$ghi", I need to get the exact string
back
> but not "abc+def%24ghi".
> 
> so is this a bug in PHP??
> 
> 
> 
> 
> 
> 
> 
> "John W. Holmes" <[EMAIL PROTECTED]>
> 11/19/2002 04:46 PM
> Please respond to holmes072000
> 
>         To:     <[EMAIL PROTECTED]>
>         cc:     <[EMAIL PROTECTED]>
>         Subject:        RE: [PHP] plus sign has changed to space after
> POST
> 
> 
> > might be my php code has problem the following code fragment will
keep
> "+"
> > to "+" but "$" to "%24"
> 
> That's what urlencode() is supposed to do.
> 
> ---John Holmes...
> 




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

Reply via email to