Rawurlencode vs urlencode
| From: | Kenneth Bogucki | Date: | Sat, 19 Aug 2000 12:53:53 +0000 |
| Subject: | Rawurlencode vs urlencode | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12586@lists.php.net to get a copy of this message | ||
Just a quick question....we've been using rawurlencode to pass info from
page to page....as I read the doc and understand them, the major dif
between rawurlencode and urlencode is simply that rawurlencode is safer
to transmit via email than urlencode....have I got this right...
ken
Dean Hall wrote:
>
> urlencode($str);
>
> This encodes a string so that it is appropriate for a URL, which includes
> replacing spaces with '+'.
>
> Dean.
> ----- Original Message -----
> From: "Thomas Edison Jr." <thomasedisonjr@yahoo.com>
> To: "Lars Torben Wilson" <torben@pinc.com>
> Cc: <php-general@lists.php.net>
> Sent: Saturday, August 19, 2000 6.36 am
> Subject: [PHP] replacing space with "+"
>
> > How do you replace a space in a variable with a +
> > symbol? We have our search engine in which the
> > 'keywords' variable contains words with spaces which
> > need to have the '+' symbol between them instead of
> > the spaces.
> >
> > Thanx,
> > T. Edison jr.
> >
> > PS : Lars, thanx for the help, it worked!
> >
> > =====
> > Rahul S. Johari (Director)
> > ******************************************
> > Abraxas Technologies Inc.
> > Homepage : http://www.abraxastech.com
> > Email : abraxastech@yahoo.com
> > Tel : 91-4546512/4522124
> > *******************************************
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Send instant messages & get email alerts with Yahoo! Messenger.
> > http://im.yahoo.com/
> >
> > --
> > 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
>
> --
> 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