<?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"
	>

<channel>
	<title>Hawk Enterprises&#187; Dirty Scripts</title>
	<atom:link href="http://www.hawkenterprises.org/category/dirty-scripts/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hawkenterprises.org</link>
	<description></description>
	<pubDate>Fri, 08 May 2009 23:29:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>PHP Random Heart Image Generator Draw Hearts</title>
		<link>http://www.hawkenterprises.org/dirty-scripts/php-random-heart-image-generator-draw-hearts.html</link>
		<comments>http://www.hawkenterprises.org/dirty-scripts/php-random-heart-image-generator-draw-hearts.html#comments</comments>
		<pubDate>Sat, 14 Feb 2009 07:19:30 +0000</pubDate>
		<dc:creator>hawk</dc:creator>
		
		<category><![CDATA[Dirty Scripts]]></category>

		<guid isPermaLink="false">http://www.hawkenterprises.org/?p=157</guid>
		<description><![CDATA[Happy Valentines Day!
I have a special valentines day random heart generator.  This script below will create 100 hearts in random shapes and sizes as a png. Just hit refresh to try it out.

It draws hearts the simple way, two circles and a triangle.  As with most scripts the width, height size ect are [...]]]></description>
		<wfw:commentRss>http://www.hawkenterprises.org/dirty-scripts/php-random-heart-image-generator-draw-hearts.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>longitude and latitude distance calculation using php</title>
		<link>http://www.hawkenterprises.org/dirty-scripts/longitude-and-latitude-distance-calculation-using-php.html</link>
		<comments>http://www.hawkenterprises.org/dirty-scripts/longitude-and-latitude-distance-calculation-using-php.html#comments</comments>
		<pubDate>Sat, 27 Dec 2008 05:14:33 +0000</pubDate>
		<dc:creator>Hawk</dc:creator>
		
		<category><![CDATA[Dirty Scripts]]></category>

		<guid isPermaLink="false">http://www.hawkenterprises.org/?p=154</guid>
		<description><![CDATA[Creating a distance between cities using the geolite data that I&#8217;ve used in the the mapping IP-2-Location.  If you look at longitude and latitude points in decimal format instead of the degrees:min:seconds then you can pretty much figure out how you calculate distance.  Its the same way you do when you measure the [...]]]></description>
		<wfw:commentRss>http://www.hawkenterprises.org/dirty-scripts/longitude-and-latitude-distance-calculation-using-php.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>PHP-AJAX Chat/Shoutbox Example</title>
		<link>http://www.hawkenterprises.org/dirty-scripts/php-ajax-chatshoutbox-example.html</link>
		<comments>http://www.hawkenterprises.org/dirty-scripts/php-ajax-chatshoutbox-example.html#comments</comments>
		<pubDate>Sun, 07 Dec 2008 07:43:14 +0000</pubDate>
		<dc:creator>hawk</dc:creator>
		
		<category><![CDATA[Dirty Scripts]]></category>

		<guid isPermaLink="false">http://www.hawkenterprises.org/?p=148</guid>
		<description><![CDATA[AJAX and PHP combined together in a simple chat message server.  This uses XMLHTTPRequest to call itself with the appropriate GET variables to trigger a read or write to a server-side file named chit-chat.dat

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
&#160;
&#60;?php
$filename = 'chit-chat.dat';
&#160;
if&#40;isset&#40;$_GET&#91;'msg'&#93;&#41;&#41;&#123;
$msg = sanitize&#40;$_GET&#91;'msg'&#93;&#41;;
$conv = file_get_contents&#40;$filename&#41;;
file_put_contents&#40;$filename,$conv.$msg&#41;;
exit;
&#125;
if&#40;isset&#40;$_GET&#91;'conv'&#93;&#41;&#41;&#123;
$conv = file_get_contents&#40;$filename&#41;;
echo $conv;
exit;
&#125;
function sanitize&#40;$var&#41;&#123;
//sanitize here
return $var;
&#125;
?&#62;


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
&#60;script type=&#34;text/javascript&#34;&#62;
&#160;
function createXMLHttpRequest() {
if (typeof XMLHttpRequest != &#34;undefined&#34;) {
return new [...]]]></description>
		<wfw:commentRss>http://www.hawkenterprises.org/dirty-scripts/php-ajax-chatshoutbox-example.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>craigslist job query search php script</title>
		<link>http://www.hawkenterprises.org/dirty-scripts/craigslist-job-query-search-php-script.html</link>
		<comments>http://www.hawkenterprises.org/dirty-scripts/craigslist-job-query-search-php-script.html#comments</comments>
		<pubDate>Thu, 20 Nov 2008 17:07:06 +0000</pubDate>
		<dc:creator>hawk</dc:creator>
		
		<category><![CDATA[Dirty Scripts]]></category>

		<guid isPermaLink="false">http://www.hawkenterprises.org/?p=146</guid>
		<description><![CDATA[Craigslist is an interesting marketplace and is a bit behind the times technology wise.  Many people enjoy the simple interface and easy to understand style, however if you try to use craigslist for more than your local area you might encounter a huge time expense.  Craigslist helper which is on google search has a nice [...]]]></description>
		<wfw:commentRss>http://www.hawkenterprises.org/dirty-scripts/craigslist-job-query-search-php-script.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Football Simulator in php  Part 1/3</title>
		<link>http://www.hawkenterprises.org/dirty-scripts/football-simulator-in-php-part-13.html</link>
		<comments>http://www.hawkenterprises.org/dirty-scripts/football-simulator-in-php-part-13.html#comments</comments>
		<pubDate>Fri, 24 Oct 2008 09:17:41 +0000</pubDate>
		<dc:creator>hawk</dc:creator>
		
		<category><![CDATA[Dirty Scripts]]></category>

		<category><![CDATA[Games]]></category>

		<guid isPermaLink="false">http://www.hawkenterprises.org/?p=123</guid>
		<description><![CDATA[Football Simulator using php for programming logic, and pro football references to aid the accuracy of this simulation.  You too can program your own php football game.
Football has always been an American pastime and also a programming one as well.  Ever year EA Games as well as many others are busy building the [...]]]></description>
		<wfw:commentRss>http://www.hawkenterprises.org/dirty-scripts/football-simulator-in-php-part-13.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
