<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHP script to print all the GET &amp; POST variables</title>
	<atom:link href="http://www.tanzilo.com/2008/03/29/php-script-to-print-all-the-get-post-variables/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tanzilo.com/2008/03/29/php-script-to-print-all-the-get-post-variables/</link>
	<description>Talks on Web Technology and Better Product Development</description>
	<lastBuildDate>Fri, 23 Jul 2010 21:02:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: admin</title>
		<link>http://www.tanzilo.com/2008/03/29/php-script-to-print-all-the-get-post-variables/comment-page-1/#comment-638</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 26 Nov 2009 19:41:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=3#comment-638</guid>
		<description>@ Rahul

Actually $_POST is an array itself.

So, try to get its keys and values as like other variables.
:)</description>
		<content:encoded><![CDATA[<p>@ Rahul</p>
<p>Actually $_POST is an array itself.</p>
<p>So, try to get its keys and values as like other variables.<br />
 <img src='http://www.tanzilo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul</title>
		<link>http://www.tanzilo.com/2008/03/29/php-script-to-print-all-the-get-post-variables/comment-page-1/#comment-637</link>
		<dc:creator>Rahul</dc:creator>
		<pubDate>Thu, 26 Nov 2009 18:07:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=3#comment-637</guid>
		<description>Hi,

Can you help me with this:

I need to store all the post variables displayed in &quot;print_r($_POST);&quot; in an array so that I can compare it with a MySQL table.

Is there a way to do it ?

Thanks in advance ;-)</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Can you help me with this:</p>
<p>I need to store all the post variables displayed in &#8220;print_r($_POST);&#8221; in an array so that I can compare it with a MySQL table.</p>
<p>Is there a way to do it ?</p>
<p>Thanks in advance <img src='http://www.tanzilo.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krinkle</title>
		<link>http://www.tanzilo.com/2008/03/29/php-script-to-print-all-the-get-post-variables/comment-page-1/#comment-627</link>
		<dc:creator>Krinkle</dc:creator>
		<pubDate>Sun, 01 Nov 2009 03:46:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=3#comment-627</guid>
		<description>If you want the variables in a bit more clear on your screen, here&#039;s a script I use on pretty much every ocasion I need to var_dump something:

http://pastebin.com/f3d201b3c

Basicly the same but makes a sticky terminal like box on the top left of the page. The box will be no more then 90% of the height if the document (just in case there are a looot of varibales, the overflow-y: is set to auto, so it&#039;ll show a scrollbar when neccerary).

For the rest it&#039;s devided in both POST and GET, with each one on a new line.

Handy :)
Feel free to customize to your liking.</description>
		<content:encoded><![CDATA[<p>If you want the variables in a bit more clear on your screen, here&#8217;s a script I use on pretty much every ocasion I need to var_dump something:</p>
<p><a href="http://pastebin.com/f3d201b3c" rel="nofollow">http://pastebin.com/f3d201b3c</a></p>
<p>Basicly the same but makes a sticky terminal like box on the top left of the page. The box will be no more then 90% of the height if the document (just in case there are a looot of varibales, the overflow-y: is set to auto, so it&#8217;ll show a scrollbar when neccerary).</p>
<p>For the rest it&#8217;s devided in both POST and GET, with each one on a new line.</p>
<p>Handy <img src='http://www.tanzilo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Feel free to customize to your liking.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.tanzilo.com/2008/03/29/php-script-to-print-all-the-get-post-variables/comment-page-1/#comment-92</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 13 Nov 2008 17:14:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=3#comment-92</guid>
		<description>@ FajitaMaster

Yes.

You are right.
But in that case you do not know which are your POST or GET variables.
If you check the PHP manual, you will see that $_REQUEST use is discouraged.</description>
		<content:encoded><![CDATA[<p>@ FajitaMaster</p>
<p>Yes.</p>
<p>You are right.<br />
But in that case you do not know which are your POST or GET variables.<br />
If you check the PHP manual, you will see that $_REQUEST use is discouraged.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FajitaMaster</title>
		<link>http://www.tanzilo.com/2008/03/29/php-script-to-print-all-the-get-post-variables/comment-page-1/#comment-91</link>
		<dc:creator>FajitaMaster</dc:creator>
		<pubDate>Thu, 13 Nov 2008 17:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=3#comment-91</guid>
		<description>You could also use the ever so clever php $_REQUEST

echo &#039;&#039;;
var_dump($_REQUEST);
echo &#039;&#039;;

It gets both GET or POST values ... now thats what I call universal!</description>
		<content:encoded><![CDATA[<p>You could also use the ever so clever php $_REQUEST</p>
<p>echo &#8221;;<br />
var_dump($_REQUEST);<br />
echo &#8221;;</p>
<p>It gets both GET or POST values &#8230; now thats what I call universal!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.tanzilo.com/2008/03/29/php-script-to-print-all-the-get-post-variables/comment-page-1/#comment-3</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 31 Mar 2008 03:46:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=3#comment-3</guid>
		<description>Hello RA,

Yes. You are right. 
Storing the value in a variable will give the coder flexibility to test the availability of the variables at any position in the page.

And thanks for the comment.</description>
		<content:encoded><![CDATA[<p>Hello RA,</p>
<p>Yes. You are right.<br />
Storing the value in a variable will give the coder flexibility to test the availability of the variables at any position in the page.</p>
<p>And thanks for the comment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RA</title>
		<link>http://www.tanzilo.com/2008/03/29/php-script-to-print-all-the-get-post-variables/comment-page-1/#comment-2</link>
		<dc:creator>RA</dc:creator>
		<pubDate>Mon, 31 Mar 2008 03:02:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=3#comment-2</guid>
		<description>I came across you site while I was looking for some smart Bangladeshi coder who has passion for CSS. 

If you pass second param true then print_r outputs to a variable. That you can show the result in any place!

$out = print_r($_POST, true)</description>
		<content:encoded><![CDATA[<p>I came across you site while I was looking for some smart Bangladeshi coder who has passion for CSS. </p>
<p>If you pass second param true then print_r outputs to a variable. That you can show the result in any place!</p>
<p>$out = print_r($_POST, true)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
