Printing + without encoding as %2B

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx | "¿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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux