<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nate&#039;s blog &#187; PHP</title>
	<atom:link href="http://naterocks.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://naterocks.com</link>
	<description>OMG! Its a blog!</description>
	<lastBuildDate>Sun, 20 Nov 2011 17:17:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WebPage Downloader</title>
		<link>http://naterocks.com/2009/07/20/webpage-downloader-2/</link>
		<comments>http://naterocks.com/2009/07/20/webpage-downloader-2/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 07:02:16 +0000</pubDate>
		<dc:creator>Nathan Schloss</dc:creator>
				<category><![CDATA[Anouncements]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://naterocks.com/?p=296</guid>
		<description><![CDATA[I just made the source for the WebPage Downloader public, you can get it from http://naterocks.com/php-coding/webpage-downloader/.]]></description>
			<content:encoded><![CDATA[<p>I just made the source for the <a href="http://wpd.nate.co.il/">WebPage Downloader</a> public, you can get it from <a href="http://naterocks.com/php-coding/webpage-downloader/">http://naterocks.com/php-coding/webpage-downloader/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://naterocks.com/2009/07/20/webpage-downloader-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebPage Downloader</title>
		<link>http://naterocks.com/2009/07/12/webpage-downloader/</link>
		<comments>http://naterocks.com/2009/07/12/webpage-downloader/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 06:36:16 +0000</pubDate>
		<dc:creator>Nathan Schloss</dc:creator>
				<category><![CDATA[Anouncements]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Nate.co.il]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Summer]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://naterocks.com/?p=285</guid>
		<description><![CDATA[Have you ever been online and wanted to download a webpage but didn&#8217;t want to use internet explorer&#8217;s or safari&#8217;s propritary<a href="http://naterocks.com/2009/07/12/webpage-downloader/" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p>Have you ever been online and wanted to download a webpage but didn&#8217;t want to use internet explorer&#8217;s or safari&#8217;s propritary formats? Well after about an hour of work I have created a solution&#8230; the <a href="http://wpd.nate.co.il/">WebPage Downloader</a>.</p>
<p>The<a href="http://wpd.nate.co.il/"> WebPage Downloader</a> will let you save files to your computer as DOC files and HTML files with or without images.</p>
<p>Also, I will try to post the source for it in a few days.</p>
<p>Go to <a href="http://wpd.nate.co.il/">http://wpd.nate.co.il/</a> to see it.</p>
]]></content:encoded>
			<wfw:commentRss>http://naterocks.com/2009/07/12/webpage-downloader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP function to look for images</title>
		<link>http://naterocks.com/2007/12/16/php-function-to-look-for-images/</link>
		<comments>http://naterocks.com/2007/12/16/php-function-to-look-for-images/#comments</comments>
		<pubDate>Mon, 17 Dec 2007 05:03:09 +0000</pubDate>
		<dc:creator>Nathan Schloss</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://naterocks.com/2007/12/16/php-function-to-look-for-images/</guid>
		<description><![CDATA[The function below will look for numerically numbered images (or any other type of file) on any giving website. The function<a href="http://naterocks.com/2007/12/16/php-function-to-look-for-images/" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p>The function below will look for numerically numbered images (or any other type of file) on any giving website. The function will echo weather or not it found anything, if it found something it will return the html image code(s) for it.<br />
<code><br />
/*When calling the function $istop should equal 1. $name should equal the name you want to echo. $imgurl should equal the image url until the number (if you had http://naterocks.com/image1.gif then the url would be http://naterocks.com/image), $ext should equal the file extension (you do not have the put a ".", in the example above this would mean that $ext="gif"), $number equals the number that you want to start searching from, $nwe is how many images you want per line, and $nwt should equal 1 when being called.*/</p>
<p>//to call use $variable=look_image(1,$name,$imgurl,$ext,$number,$nwe,1);</p>
<p>function look_image($istop,$name,$imgurl,$ext,$number,$nwe,$nwt)<br />
{</p>
<p>$url=$imgurl.$number.".".$ext;<br />
if( !fopen($url, "r") )<br />
{<br />
if ($istop==1)<br />
{$nwf=0;}<br />
echo ($name." searching ended on number:".$number."&lt;br&gt;");<br />
}<br />
else {<br />
if ($istop==1)<br />
{ echo ("&lt;b&gt;New ".$name."(s) found!&lt;/b&gt;");<br />
$post="\n\n[b]New ".$name."(s):[/b] \n";<br />
}<br />
echo("&lt;br&gt;&lt;img src='".$url."'&gt;&lt;br&gt;");<br />
if ($nwe!=$nwt)<br />
{ $post=$post."&lt;img src='".$url."'&gt;"; }<br />
else<br />
{ $post=$post."&lt;img src='".$url."'&gt; \n";<br />
$nwt=0; }<br />
//some math<br />
$number++;<br />
$nwt++;<br />
//keep looking<br />
$nwf=$post.look_image(0,$name,$imgurl,$ext,$number,$fname,$nwe,$nwt);<br />
}<br />
return $nwf;<br />
}<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://naterocks.com/2007/12/16/php-function-to-look-for-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shop Moved</title>
		<link>http://naterocks.com/2007/09/18/shop-moved/</link>
		<comments>http://naterocks.com/2007/09/18/shop-moved/#comments</comments>
		<pubDate>Wed, 19 Sep 2007 02:15:16 +0000</pubDate>
		<dc:creator>Nathan Schloss</dc:creator>
				<category><![CDATA[Anouncements]]></category>
		<category><![CDATA[CafePress]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Store]]></category>
		<category><![CDATA[Stuff]]></category>

		<guid isPermaLink="false">http://naterocks.com/2007/09/18/shop-moved/</guid>
		<description><![CDATA[Yes, it&#8217;s ture. The NateRocks.com store have moved. It is now at http://www.printfection.com/naterocks . Happy shopping&#8230;.]]></description>
			<content:encoded><![CDATA[<p>Yes, it&#8217;s ture. The NateRocks.com store have moved. It is now at <a href="http://www.printfection.com/naterocks">http://www.printfection.com/naterocks</a> .</p>
<p>Happy shopping&#8230;.</p>
<p><a href="http://www.printfection.com/naterocks"><img src="http://img.printfection.com/13/30004/DmyPd.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://naterocks.com/2007/09/18/shop-moved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New PHP script</title>
		<link>http://naterocks.com/2007/07/13/new-php-script/</link>
		<comments>http://naterocks.com/2007/07/13/new-php-script/#comments</comments>
		<pubDate>Fri, 13 Jul 2007 19:10:15 +0000</pubDate>
		<dc:creator>Nathan Schloss</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://naterocks.com/2007/07/13/new-php-script/</guid>
		<description><![CDATA[I just finished a new PHP script, it is called Site Moved Script. It will be useful to you if<a href="http://naterocks.com/2007/07/13/new-php-script/" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p>I just finished a new PHP script, it is called Site Moved Script. It will be useful to you if you have changed the url of your site. What it does is it redirects users to your new url and gives them a message about your move.</p>
<p>You find out more about this script on its webpage. (<a href="http://naterocks.com/php-coding/site-moved-script">here</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://naterocks.com/2007/07/13/new-php-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

