<?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>Mon, 06 Feb 2012 02:05:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Tha_14</title>
		<link>http://www.tanzilo.com/2008/03/29/php-script-to-print-all-the-get-post-variables/comment-page-1/#comment-948</link>
		<dc:creator>Tha_14</dc:creator>
		<pubDate>Fri, 03 Feb 2012 17:24:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=3#comment-948</guid>
		<description>I would need some help man. I want to make a small php script that will use the $_GET thing to redirect to a website that you specify with that $_GET. Is there any way to make this small script for me? Thank you :D

PS: It&#039;s for our site but me and my partner we are not really good coders on php hehe XD
Send me an email or post here and I will check when you have a small sript like that :D

Thank you.</description>
		<content:encoded><![CDATA[<p>I would need some help man. I want to make a small php script that will use the $_GET thing to redirect to a website that you specify with that $_GET. Is there any way to make this small script for me? Thank you <img src='http://www.tanzilo.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>PS: It&#8217;s for our site but me and my partner we are not really good coders on php hehe XD<br />
Send me an email or post here and I will check when you have a small sript like that <img src='http://www.tanzilo.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.tanzilo.com/2008/03/29/php-script-to-print-all-the-get-post-variables/comment-page-1/#comment-817</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 15 Mar 2011 06:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=3#comment-817</guid>
		<description>Some interesting ways to do it here. Personally I found the loop by @Adrian-Ionut to be the most useful. 

Thanks to everyone for sharing the different approaches!</description>
		<content:encoded><![CDATA[<p>Some interesting ways to do it here. Personally I found the loop by @Adrian-Ionut to be the most useful. </p>
<p>Thanks to everyone for sharing the different approaches!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.tanzilo.com/2008/03/29/php-script-to-print-all-the-get-post-variables/comment-page-1/#comment-796</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Mon, 31 Jan 2011 17:43:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=3#comment-796</guid>
		<description>Thanks @Adrian-Ionut, that was a more appropiate way to display all form values for me.</description>
		<content:encoded><![CDATA[<p>Thanks @Adrian-Ionut, that was a more appropiate way to display all form values for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ion Adrian-Ionut</title>
		<link>http://www.tanzilo.com/2008/03/29/php-script-to-print-all-the-get-post-variables/comment-page-1/#comment-795</link>
		<dc:creator>Ion Adrian-Ionut</dc:creator>
		<pubDate>Sun, 30 Jan 2011 17:16:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=3#comment-795</guid>
		<description>foreach($_POST as $key=&gt;$val) { 
echo &quot;Post named $key has the value $val &quot;;
}

foreach($_GET as $key=&gt;$val) { 
echo &quot;Post named $key has the value $val &quot;;
}</description>
		<content:encoded><![CDATA[<p>foreach($_POST as $key=&gt;$val) {<br />
echo &#8220;Post named $key has the value $val &#8220;;<br />
}</p>
<p>foreach($_GET as $key=&gt;$val) {<br />
echo &#8220;Post named $key has the value $val &#8220;;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ali</title>
		<link>http://www.tanzilo.com/2008/03/29/php-script-to-print-all-the-get-post-variables/comment-page-1/#comment-768</link>
		<dc:creator>ali</dc:creator>
		<pubDate>Tue, 30 Nov 2010 16:13:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanzilo.com/?p=3#comment-768</guid>
		<description>beautiful website mate!! 
cheers!</description>
		<content:encoded><![CDATA[<p>beautiful website mate!!<br />
cheers!</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-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>
</channel>
</rss>

<!-- Dynamic page generated in 1.046 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-06 20:45:34 -->

