<?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: Logging post data</title>
	<atom:link href="http://blog.apokalyptik.com/2008/03/25/logging-post-data/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.apokalyptik.com/2008/03/25/logging-post-data/</link>
	<description>The random things that spew forth from my brain...</description>
	<lastBuildDate>Fri, 25 Jan 2013 23:59:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6-beta2-24222</generator>
	<item>
		<title>By: apokalyptik</title>
		<link>http://blog.apokalyptik.com/2008/03/25/logging-post-data/comment-page-1/#comment-12077</link>
		<dc:creator>apokalyptik</dc:creator>
		<pubDate>Fri, 21 Sep 2012 16:37:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/?p=277#comment-12077</guid>
		<description><![CDATA[Nope. That was just the blog/me messing up the text when it was entered. Urldecoding it is the proper thing to do (otherwise it wouldn&#039;t run.)  Glad it helped. ]]></description>
		<content:encoded><![CDATA[<p>Nope. That was just the blog/me messing up the text when it was entered. Urldecoding it is the proper thing to do (otherwise it wouldn&#039;t run.)  Glad it helped. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave O&#039;Meara</title>
		<link>http://blog.apokalyptik.com/2008/03/25/logging-post-data/comment-page-1/#comment-10707</link>
		<dc:creator>Dave O&#039;Meara</dc:creator>
		<pubDate>Sat, 01 Sep 2012 13:10:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/?p=277#comment-10707</guid>
		<description><![CDATA[Great script.  Exactly what I needed after studying the log files to find dozens of attempted posts to pages in the Joomla core, but not being able to see what the bad guy was trying to post. We&#039;re not running mod_php so I wasn&#039;t able to use .htaccess.  Instead I used the .user.ini file (user-level add-on for php.ini).  Once I got all the files in place, it worked great.   
I changed gmdate() to date() to get the log entries in my time zone.  Also, for some reason the sample code was urlencoded.  I  changed it back to simple php &lt;?php instead of &lt;?php , and it worked fine. If there&#039;s a reason to actually use the urlencoded version, please advise. ]]></description>
		<content:encoded><![CDATA[<p>Great script.  Exactly what I needed after studying the log files to find dozens of attempted posts to pages in the Joomla core, but not being able to see what the bad guy was trying to post. We&#039;re not running mod_php so I wasn&#039;t able to use .htaccess.  Instead I used the .user.ini file (user-level add-on for php.ini).  Once I got all the files in place, it worked great.<br />
I changed gmdate() to date() to get the log entries in my time zone.  Also, for some reason the sample code was urlencoded.  I  changed it back to simple php &lt;?php instead of &amp;lt;?php , and it worked fine. If there&#039;s a reason to actually use the urlencoded version, please advise. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Tischer</title>
		<link>http://blog.apokalyptik.com/2008/03/25/logging-post-data/comment-page-1/#comment-10439</link>
		<dc:creator>Josh Tischer</dc:creator>
		<pubDate>Mon, 25 Jul 2011 13:38:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/?p=277#comment-10439</guid>
		<description><![CDATA[Thanks for the quick script. it helped me identify issues with xhr post request headers from android. Oh and I added a function for parsing the headers. 
 
function parseRequestHeaders() { 
    $headers = array(); 
    foreach($_SERVER as $key =&gt; $value) { 
        if (substr($key, 0, 5)  &#039;HTTP_&#039;) { 
            continue; 
        } 
        $header = str_replace(&#039; &#039;, &#039;-&#039;, ucwords(str_replace(&#039;_&#039;, &#039; &#039;, strtolower(substr($key, 5))))); 
        $headers[$header] = $value; 
    } 
    return $headers; 
} ]]></description>
		<content:encoded><![CDATA[<p>Thanks for the quick script. it helped me identify issues with xhr post request headers from android. Oh and I added a function for parsing the headers.</p>
<p>function parseRequestHeaders() {</p>
<p>    $headers = array();</p>
<p>    foreach($_SERVER as $key =&gt; $value) {</p>
<p>        if (substr($key, 0, 5)  &#039;HTTP_&#039;) {</p>
<p>            continue;</p>
<p>        }</p>
<p>        $header = str_replace(&#039; &#039;, &#039;-&#039;, ucwords(str_replace(&#039;_&#039;, &#039; &#039;, strtolower(substr($key, 5)))));</p>
<p>        $headers[$header] = $value;</p>
<p>    }</p>
<p>    return $headers;</p>
<p>} </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WeirD</title>
		<link>http://blog.apokalyptik.com/2008/03/25/logging-post-data/comment-page-1/#comment-8772</link>
		<dc:creator>WeirD</dc:creator>
		<pubDate>Wed, 17 Feb 2010 18:37:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.apokalyptik.com/?p=277#comment-8772</guid>
		<description><![CDATA[Thanks for this script, i will using ur idea to make my idea real ;) 
 
mfg ]]></description>
		<content:encoded><![CDATA[<p>Thanks for this script, i will using ur idea to make my idea real <img src='http://blog.apokalyptik.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>mfg </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 1/10 queries in 0.002 seconds using memcached
Object Caching 544/551 objects using memcached

 Served from: blog.apokalyptik.com @ 2013-05-19 21:20:06 by W3 Total Cache -->