Printing + without encoding as %2B

From: Date: Wed, 12 May 2004 03:13:35 +0000
Subject: Printing + without encoding as %2B
Groups: php.db 
Request: Send a blank email to php-db+get-34375@lists.php.net to get a copy of this message
While calling a php with a parameter, the plus sign is interpreted as a white space. Is any solution to prevent this in the php page, not before calling it or previously urlencoding? --- While calling http://mysite.com/mypage.php?id=29d9f+Kr2/4=&otherdata=xx <?php echo "id = $id"; ?> prints: id = 29d9f Kr2/4= -- Saludos, J. Alejandro Ceballos Z. | ---------------------------+--------------------------- http://alejandro.ceballos.info | buzon@alejandro.ceballos.info | "¿Cómo es posible, -------------------------------+ que mientras medio mundo Tel: (33) 3647-7809 | hace dietas para no engordar, Cel: (33) 1076-4705 | el otro medio | se muera de hambre?". | | - August

« previous php.db (#34375) next »