I'm having trouble with the string in the address bar (ex. ?subj=Re: Re🙂 and I have this email thing.
The question is: When the subject has a word "Re: Re:", how do I change it to "Re:"?
-Steven
er, first off, you should use urlencode() next, try str_replace('Re: Re:', 'Re:', $subject);
About the "Re:" This should be checked when you create the new subject. The routine that puts 'Re:' in front of the subject should check to see if there is not already a 'Re:' there. If there is, it should not put a new 'Re:' there.