Quote:
Originally posted by MonkeyMan
Blah, it doesnt work becasue thers is a hahahahahahahahahaha involved that is converting the %26 when it generates the page.
can somone tell me how to do a simple character replacment?
like take a string and convert all the "|"'s in the string to "&"s using PHP
I think that would be the simplest way, but I dont know how to do it.
|
If you are generating pages using php use the urlencode() function on the url as you generating the page.
If you have them hard coded use str_replace:
mixed str_replace ( mixed search, mixed replace, mixed subject)
Without disecting yourscript thats 1 way to approach it.