Page 1 of 1

urlencode showing up empty

Posted: Wed Nov 23, 2005 2:12 pm
by livingeachday
hi there,

i've got a script that's taking a decently long string which contains HTML. I've urlencoded HTML before with no problems, but for some reason, when I try to encode this string, urlencode turns up empty.

the string is definitely defined before i send it through.

i'm not sure why it would be doing this... the best i can reckon is that theres some characters in there that urlencode doesn't agree with..

for good measure i've tried UTF-8 encoding it before i send it through, though i'm getting it from a mysql UTF-8 encoded mediumtext row..

i'm out of ideas, i've tried modifying the content, deleting things, shortening it, etc, to no avail. i'm not convinced it's a length issue, as i have other pages that send url strings that are 3x the length of this one.

you can find the string here: http://www.carsandtrains.net/test/flash/artist_send.php

any help would be greatly appreciated!

thanks,
tom