Re: Trouble getting $HTTP_RAW_POST_DATA

From: Date: Fri, 01 Aug 2003 15:41:40 +0000
Subject: Re: Trouble getting $HTTP_RAW_POST_DATA
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-157967@lists.php.net to get a copy of this message
* Thus wrote skate (root@fatcuban.com): > > Since print_r is usually used for debugging, it would be nice that > > php does this for you. Any comments on this before i throw the > > idea to the php-dev list? > > > > if it's just used for debugging, can't you just use the <pre> tags around > it? i mean, it's no big deal, and you don't really need it formatted to look > pretty. > > that's how i use it anyway... True, but the pre tags dont stop the browser from rendering html code. I dont have any problems wrapping "<pre>" around the print_r. $var = "<img src=\"/image.jpg\">" print_r($var); Yields an image not the actual string in $var. Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#157967) next »