Okay so this works:
$location =~ s/ /%20/g;
if I take it out, it doesn't work (in Netscape, but IE is fine).
However, it is replacing a single space with three '%20'
So that what should be "new york" comes out as "new%20%20%20york"
The script works nonetheless, but I think it looks messy.
Anyone know why it's doing this, and how I can fix it?