urlencode

From: Date: Sat, 17 Mar 2001 17:09:50 +0000
Subject: urlencode
Groups: php.general 
Request: Send a blank email to php-general+get-44401@lists.php.net to get a copy of this message
Help - I've a problem when using urlencode/decode functions (same with rawurl...). If I encode : mnemonic = "lnkphoto" I get: mnemonic+%3D++%22lnkphoto%22 And if decode it during the same script execution it converts back to exactly: mnemonic = "lnkphoto" which is what I'd expect. However, if I pass this value as a URL argument and decode it in the receiving script I get: mnemonic = \"lnkphoto\" which causes me all sorts of problems! Is this a "feature" or have I misunderstood the way this should work? Thanks

« previous php.general (#44401) next »