<?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>Davide Caffaratti blog &#187; scripts</title>
	<atom:link href="http://davidecaffaratti.com/category/scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidecaffaratti.com</link>
	<description>My own personal blog and my works</description>
	<lastBuildDate>Fri, 12 Mar 2010 02:40:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Simple class for extract browser info</title>
		<link>http://davidecaffaratti.com/2010/03/11/simple-class-for-extract-browser-info/</link>
		<comments>http://davidecaffaratti.com/2010/03/11/simple-class-for-extract-browser-info/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 02:39:01 +0000</pubDate>
		<dc:creator>Davide</dc:creator>
				<category><![CDATA[Library]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[Classes]]></category>

		<guid isPermaLink="false">http://davidecaffaratti.com/?p=416</guid>
		<description><![CDATA[This is my little class for extract information from the browser with $_SERVER['HTTP_USER_AGENT']. Is very simple to use and can extract the browser name, minor version, and the platform name. Click HERE for see the code of this class]]></description>
			<content:encoded><![CDATA[<p>This is my little class for extract information from the browser with $_SERVER['HTTP_USER_AGENT'].</p>
<p>Is very simple to use and can extract the browser name, minor version, and the platform name.</p>
<p><a title="view class browser info" href="http://davidecaffaratti.com/php-code/cat-browser-info.inc.phps">Click HERE for see the code of this class</a></p>
<a href="http://davidecaffaratti.com/upload/cat-browser-info.inc.zip" title="download Cat_Browser_Info"><img src="http://davidecaffaratti.com/wp-content/plugins/download-monitor/img/download.gif" alt="download" style="float:left;width:300px;" /></a><div style="float:left;width:auto;line-height:25px;margin-top:30px;margin-left:15px;"><b>Size:</b> 1.42 KB<br /><b>Hits :</b> 9</div><br style="clear:both;" />
]]></content:encoded>
			<wfw:commentRss>http://davidecaffaratti.com/2010/03/11/simple-class-for-extract-browser-info/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Class Cat_Cache revision 1</title>
		<link>http://davidecaffaratti.com/2010/01/29/class-cat_cache-revision-1/</link>
		<comments>http://davidecaffaratti.com/2010/01/29/class-cat_cache-revision-1/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 01:26:47 +0000</pubDate>
		<dc:creator>Davide</dc:creator>
				<category><![CDATA[Library]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[Classes]]></category>

		<guid isPermaLink="false">http://davidecaffaratti.com/?p=411</guid>
		<description><![CDATA[I found in my class for cache data an error that return incorrect value if the cache isn&#8217;t in the cache directory. This error return improperly a boolean true value instead of false. I correct the error with a new version of the class. Click HERE for see the code of this class]]></description>
			<content:encoded><![CDATA[<p>I found in my class for cache data an error that return incorrect value if the cache isn&#8217;t in the cache directory. This error return improperly a boolean true value instead of false.</p>
<p>I correct the error with a new version of the class.<br />
<strong><a title="view the class code" href="http://davidecaffaratti.com/php-code/cat-cache.phps">Click HERE for see the code of this class</a></strong></p>
<a href="http://davidecaffaratti.com/upload/cat-cache.inc.zip" title="download cat-cache"><img src="http://davidecaffaratti.com/wp-content/plugins/download-monitor/img/download.gif" alt="download" style="float:left;width:300px;" /></a><div style="float:left;width:auto;line-height:25px;margin-top:30px;margin-left:15px;"><b>Size:</b> 4.9 KB<br /><b>Hits :</b> 21</div><br style="clear:both;" />
]]></content:encoded>
			<wfw:commentRss>http://davidecaffaratti.com/2010/01/29/class-cat_cache-revision-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MooSkype 1.1</title>
		<link>http://davidecaffaratti.com/2009/07/29/mooskype-1-1/</link>
		<comments>http://davidecaffaratti.com/2009/07/29/mooskype-1-1/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 17:15:18 +0000</pubDate>
		<dc:creator>Davide</dc:creator>
				<category><![CDATA[Library]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[Classes]]></category>
		<category><![CDATA[skype]]></category>

		<guid isPermaLink="false">http://davidecaffaratti.com/?p=372</guid>
		<description><![CDATA[New version of moo-skype Add var ajaxProxy for set ajax proxy Add css file for style the skype buttom Add onLine example : VIEW THE EXAMPLE FILE]]></description>
			<content:encoded><![CDATA[<p>New version of moo-skype</p>
<ul>
<li>Add var <strong>ajaxProxy </strong>for set ajax proxy<strong><br />
</strong></li>
<li>Add css file for style the skype buttom</li>
</ul>
<p>Add onLine example :</p>
<p><strong></strong><strong><a href="../mootools/moo-skype/">VIEW THE EXAMPLE FILE</a></strong></p>
<p><a href="http://davidecaffaratti.com/upload/moo-skype.zip" title="download MooSkype class"><img src="http://davidecaffaratti.com/wp-content/plugins/download-monitor/img/download.gif" alt="download" style="float:left;width:300px;" /></a><div style="float:left;width:auto;line-height:25px;margin-top:30px;margin-left:15px;"><b>Size:</b> 68.42 KB<br /><b>Hits :</b> 17</div><br style="clear:both;" /><strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://davidecaffaratti.com/2009/07/29/mooskype-1-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secure image capcha revisited</title>
		<link>http://davidecaffaratti.com/2009/07/10/secure-image-capcha-revisited/</link>
		<comments>http://davidecaffaratti.com/2009/07/10/secure-image-capcha-revisited/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 04:02:21 +0000</pubDate>
		<dc:creator>Davide</dc:creator>
				<category><![CDATA[Library]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[capcha]]></category>
		<category><![CDATA[Classes]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://davidecaffaratti.com/?p=351</guid>
		<description><![CDATA[I found a nice script http://www.phpcaptcha.org/ for made form capcha named secureimage and add some code for have random background and font for the capcha image Here are the class modification that I made on the class: - Porting the class for use in php5 - Remove the define for images: SI_IMAGE_JPEG, SI_IMAGE_PNG, SI_IMAGE_GIF - [...]]]></description>
			<content:encoded><![CDATA[<p>I found a nice script <a href="http://www.phpcaptcha.org/" target="_blank">http://www.phpcaptcha.org/</a> for made form capcha named secureimage and add some code for have random background and font for the capcha image</p>
<p>Here are the class modification that I made on the class:</p>
<p>- Porting the class for use in php5<br />
- Remove the define for images: SI_IMAGE_JPEG, SI_IMAGE_PNG, SI_IMAGE_GIF<br />
- Add define for ttf font path SI_PATH_TTF_FONTS<br />
- Add define for gd font path SI_PATH_GD_FONTS<br />
- Add define for random background imagess path SI_PATH_BACKGROUND<br />
- Add define for audio path SI_PATH_AUDIO<br />
- Add define for wordlist path SI_PATH_WORDS<br />
- Set static var for $charset<br />
- Add var $automatic_random for enable / disable random font and background image<br />
- Add var $lang_wordlist for have wordlist for any language<br />
- Delete var $wordlist_file: the file now is on SI_PATH_WORDS.&#8217;wordlist-&#8217;.$lang_wordlist.&#8217;.txt&#8217;<br />
- Add var $use_random_bg_image for set random extraction for the background image<br />
- Modify var $gd_font_file: now can set only filename<br />
- Modify var $gd_font_file: now can set only filename<br />
- Modify var $audio_path: now can set only filename<br />
- Add options array to the constructor function: $img = new Securimage(array(&#8216;automatic_random&#8217;=&gt;false,&#8217;lang_wordlist&#8217;=&gt;&#8217;it&#8217;));<br />
- Add generic function for set var in the class: (void)setOption($name, $value);<br />
- Add generic function for set var in the class: (void)setBgImage(&#8216;/path-to-my-bg-image/image-name.jpg&#8217;);<br />
- Modify function show() and added the code for have random background and font in the class<br />
- Added function getRandom() for charge random files</p>
<a href="http://davidecaffaratti.com/upload/captcha.zip" title="download Secureimage capcha"><img src="http://davidecaffaratti.com/wp-content/plugins/download-monitor/img/download.gif" alt="download" style="float:left;width:300px;" /></a><div style="float:left;width:auto;line-height:25px;margin-top:30px;margin-left:15px;"><b>Size:</b> 846.85 KB<br /><b>Hits :</b> 54</div><br style="clear:both;" />
]]></content:encoded>
			<wfw:commentRss>http://davidecaffaratti.com/2009/07/10/secure-image-capcha-revisited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
