Topic awaiting preservation: Str_replace in PHP |
|
---|---|
Author | Thread |
Maniac (V) Mad Scientist From: :morF |
posted 08-29-2003 23:58
Hye guys...I'm having a bit of a problem with doing a str_replace() in a script I'm wokring on right now. Say I had a string, formatted kinda like a google search, say... +"Ozone Asylum" -somethingleet. In order to build a URL out of that that google will read it has to look like this: |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 08-30-2003 00:13 |
Maniac (V) Mad Scientist From: :morF |
posted 08-30-2003 00:32
Thanks for that Max...although urlencode() doesn't seem to replace it with the correct entites, for example it replaces " with %26quot, which is most definatley not the correct entity for the url...hmmmmm... |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 08-30-2003 16:22
how about rawurlencode()? |