michael wrote: > Some of the GET variables have legit ampersands in them. I tried > escaping them then rescaping them but got unexpected results. Can you elaborate? The urlencode() function should work just fine. Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/