Re: Passing Special Characters in Query String
| From: | Thomas Edison Jr. | Date: | Sun, 01 Apr 2001 05:44:38 +0000 |
| Subject: | Re: Passing Special Characters in Query String | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46493@lists.php.net to get a copy of this message | ||
apparently, "echo" solved my problem - much to my
surprise & disgust, considering the head i was putting
into it. printf() apparently didn't print any special
chars coming in it - while echo prints anything &
everything without a problem!!!
Though i am having some problems with slashes, i guess
stripslashes() has solved most of it - i'm just
working on the balance...
cheers,
T. Edison jr.
--- Christian Reiniger <creinig@mayn.de> wrote:
> On Wednesday 28 March 2001 18:34, you wrote:
> > I've tried everything :
> > rawurlencode, urldecode, htmlentities,
> > htmlspecialchars - nothing is working. and come 2
> > think of it - it seems like such a basic
> problem...
>
> well, then I'd say you do something else wrong.
> Difficult to say without
> seeing the code.
>
> > > On Wednesday 28 March 2001 08:36, you wrote:
> > > > I'm facing a problem with Special Characters
> ($,
> > >
> > > %, &,
> > >
> > > > \, /, ;, :, ", ') etc......
> > > > We are sending a varibale in a query string
> like
> > > this
> > > > <a href="add_pro_team.php3?title=<? echo
> > > > urlencode($title) ?>">
>
> --
> Christian Reiniger
> LGDC Webmaster (http://sunsite.dk/lgdc/)
>
> Pretty cool, the kind of power information
> technology puts in our hands
> these days.
>
> - Securityfocus on probing 36000000 hosts for known
> problems in 3 weeks
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-general-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
=====
Rahul S. Johari (Director)
******************************************
Abraxas Technologies Inc.
Homepage : http://www.abraxastech.com
Email : abraxastech@yahoo.com
Tel : 91-4546512/4522124
*******************************************
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/?.refer=text