RE: [PHP] Number Sign in String Variables

From: Date: Sat, 18 Jan 2003 23:45:46 +0000
Subject: RE: [PHP] Number Sign in String Variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-132135@lists.php.net to get a copy of this message
> OK. I urlencoded the URL and now the URL passes correctly... > > add_to_cart.php%3Fitem_num%3DSTT32700%26quantity%3D1%26sale_price%3D52.7 8% > 26 > unit%3DBX%26short_desc%3DENVELOPE%2C100%25COT%2024%23%2CGY%26wholesaler% 3D > US > %26cost%3D37.700 > > ... but I get the following error: > > Forbidden > You don't have permission to access > /carmae/add_to_cart.php?item_num=STT32700&quantity=1&sale_price=52.78&un it > =B > X&short_desc=ENVELOPE,100%COT 24#,GY&wholesaler=US&cost=37.700 on this > server. > > I've never seen anything like this before. And the line you get that error looks like? It looks like you're trying to fopen() a file that's made up of PHP_SELF and the QUERY_STRING. ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/

« previous php.general (#132135) next »