On Tuesday 10 December 2002 12:56, Chris Payne wrote:
> Hi there everyone,
>
> How do I strip " from a string? Actually, I need to change it to a legal
> char so I can send it via the URL.
>
> $url4 = str_replace("/"", ".", $url4);
>
> Tried the above but there's something wrong?
To make strings URL-safe, use urlencode() and friends.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
A full belly makes a dull brain.
-- Ben Franklin
[and the local candy machine man. Ed]
*/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php