<?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>Jan's PHP and fun blog</title>
	<atom:link href="http://janhvizdak.edublogs.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://janhvizdak.edublogs.org</link>
	<description>devoted to PHP and MySQL the most</description>
	<lastBuildDate>Tue, 13 May 2008 20:59:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The process of development</title>
		<link>http://janhvizdak.edublogs.org/2008/05/13/the-process-of-development/</link>
		<comments>http://janhvizdak.edublogs.org/2008/05/13/the-process-of-development/#comments</comments>
		<pubDate>Tue, 13 May 2008 20:59:13 +0000</pubDate>
		<dc:creator>janhvizdak</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://janhvizdak.edublogs.org/2008/05/13/the-process-of-development/</guid>
		<description><![CDATA[I currently started working on the forum script which was mentioned within the previous post. It should be released until 31 May 2008   .
]]></description>
			<content:encoded><![CDATA[<p>I currently started working on the forum script which was mentioned within the previous post. It should be released until 31 May 2008 <img src='http://janhvizdak.edublogs.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  .</p>
]]></content:encoded>
			<wfw:commentRss>http://janhvizdak.edublogs.org/2008/05/13/the-process-of-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New PHP forum script</title>
		<link>http://janhvizdak.edublogs.org/2008/04/29/new-php-forum-script/</link>
		<comments>http://janhvizdak.edublogs.org/2008/04/29/new-php-forum-script/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 06:49:29 +0000</pubDate>
		<dc:creator>janhvizdak</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://janhvizdak.edublogs.org/2008/04/29/new-php-forum-script/</guid>
		<description><![CDATA[I recently finished my own forum script based on PHP. Later I will offer it for free from my new domain which I own with thruSITES. The domain is http://www.forumscript.org and is now temporarily redirected (the 302 redirect) to http://www.thrusites.com.
The script is under testing phase right now at http://forum.aqua-fish.net/ where I will test it before [...]]]></description>
			<content:encoded><![CDATA[<p>I recently finished my own forum script based on PHP. Later I will offer it for free from my new domain which I own with thruSITES. The domain is <a href="http://www.forumscript.org">http://www.forumscript.org</a> and is now temporarily redirected (the 302 redirect) to <a href="http://www.thrusites.com">http://www.thrusites.com</a>.</p>
<p>The script is under testing phase right now at <a href="http://forum.aqua-fish.net/">http://forum.aqua-fish.net/</a> where I will test it before launching officially. Then I will also write about this script right here to share my experiences and give tips to others <img src='http://janhvizdak.edublogs.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
]]></content:encoded>
			<wfw:commentRss>http://janhvizdak.edublogs.org/2008/04/29/new-php-forum-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The principles of successful SPAM protection</title>
		<link>http://janhvizdak.edublogs.org/2008/04/06/the-principles-of-successful-spam-protection/</link>
		<comments>http://janhvizdak.edublogs.org/2008/04/06/the-principles-of-successful-spam-protection/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 20:23:48 +0000</pubDate>
		<dc:creator>janhvizdak</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://janhvizdak.edublogs.org/2008/04/06/the-principles-of-successful-spam-protection/</guid>
		<description><![CDATA[The SPAM problem causes serious damages to many webmasters. For those who are using WordPress I created the CAPTCHA-Godfather plug-in which can be downloaded from this page or this page too.
Anyway, if you&#8217;re about to create your own PHP script to fight against SPAM, here are a few basic rules which will make your website [...]]]></description>
			<content:encoded><![CDATA[<p>The SPAM problem causes serious damages to many webmasters. For those who are using WordPress I created the CAPTCHA-Godfather plug-in which can be downloaded from <a href="http://www.thrusites.com/blog/?page_id=33">this page</a> or <a href="http://wordpress.org/extend/plugins/captcha-godfather/">this page</a> too.</p>
<p>Anyway, if you&#8217;re about to create your own PHP script to fight against SPAM, here are a few basic rules which will make your website spam-free:</p>
<ol>
<li>The cookie; The cookie should be saved inside of the database and it should be unique (or random) for every opened page on your website. After submitting the form the cookie should be compared. If it equals to the value stored in the database, then continue. Otherwise the script warns a user. The point is that no-one can submit any form without loading the page firstly. Of course, if the user disabled cookies in his/her browser, then there could be a problem&#8230; So mention the fact that cookies must be enabled for successful &#8220;form submit&#8221; on your web pages.</li>
<li>The Timestamp; This very simple protection can save you a lot of time. The timestamp idea is based on the fact that that any user cannot spend 0 or only a few seconds before the comment/message is left. Say that 5 seconds are necessary for a human to write even a short message. Simply add this restriction into your scripts along with the cookie thing.</li>
<li>The IP protection; Always check if the IP address of the submitter is the same as the IP address of the user who opened the page. For this purpose you must use the cookie protection as well. Save the IP in the first step and compare it to the IP (<em>$_SERVER['REMOTE_ADDR']</em>) of the submitter. If they don&#8217;t match, there could be some problem. This may look like a useless protection because the logic says &#8220;The IPs must be equal&#8221;. However, this is not truth in all cases. Some spam bots may work with more IP addresses. Just to act as a paranoid, use the IP protection <img src='http://janhvizdak.edublogs.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</li>
<li>The protection based on &#8220;bad&#8221; word; These words can be viagra, cialis, xanax and so on. Say that you&#8217;re website is devoted to fish. Why would members of your website use such words? There is no reason for such activities. Let&#8217;s use the words-filter <img src='http://janhvizdak.edublogs.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  .</li>
<li>The CAPTCHA protection; A dynamically generated image from text; This is the CAPTCHA protection. It is necessary to avoid sharing the verification text through the <em>img alt=&#8221;"</em> HTML tag. Instead use the <em>id</em> variable which loads the string from the database. Of course, the string should be generated as a unique variable. Don&#8217;t use predefined strings as they can be penetrated. If you use the word &#8220;match&#8221; along with <em>id</em> of value 1, then spammers can call your form with the <em>id</em> of 1. Of course, if you are using all of the above-mentioned ways of protection, then you don&#8217;t have to worry.</li>
</ol>
<p>These principles are used within the CAPTCHA-Godfather plug-in. No spam bot can break this protection <img src='http://janhvizdak.edublogs.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ! Although human spammers can break it is some cases, the words-verification filter may lower the amount of successful penetrations to zero. You could use the IP-banning protection as well, however IP addresses may change as time goes by.</p>
<p>More about PHP to come soon&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://janhvizdak.edublogs.org/2008/04/06/the-principles-of-successful-spam-protection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My WordPress plug-ins</title>
		<link>http://janhvizdak.edublogs.org/2008/04/05/my-wordpress-plug-ins/</link>
		<comments>http://janhvizdak.edublogs.org/2008/04/05/my-wordpress-plug-ins/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 20:12:49 +0000</pubDate>
		<dc:creator>janhvizdak</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://janhvizdak.edublogs.org/2008/04/05/my-wordpress-plug-ins/</guid>
		<description><![CDATA[As I mentioned within the first post here, I am an author of (currently) two plug-ins for WordPress. My profile is here. Soon I will explain how both plug-ins work. Especially the Cross-Linker thing is worth a try as it allows you to get rid of ordinary linking some word/phrase to some URL. Since WordPress [...]]]></description>
			<content:encoded><![CDATA[<p>As I mentioned within the first post here, I am an author of (currently) two plug-ins for WordPress. My profile is <a href="http://wordpress.org/extend/plugins/profile/janhvizdak">here</a>. Soon I will explain how both plug-ins work. Especially the Cross-Linker thing is worth a try as it allows you to get rid of ordinary linking some word/phrase to some URL. Since WordPress plug-ins are under GNU/GPL licences, the entire source code is available to their users <img src='http://janhvizdak.edublogs.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  . Let&#8217;s talk about these plug-ins tomorrow&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://janhvizdak.edublogs.org/2008/04/05/my-wordpress-plug-ins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome to my blog!</title>
		<link>http://janhvizdak.edublogs.org/2008/04/05/welcome-to-my-blog/</link>
		<comments>http://janhvizdak.edublogs.org/2008/04/05/welcome-to-my-blog/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 19:39:00 +0000</pubDate>
		<dc:creator>janhvizdak</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://janhvizdak.edublogs.org/2008/04/05/welcome-to-my-blog/</guid>
		<description><![CDATA[Even I am not a teacher at this time, I am a former teacher/student at Technical University of Kosice (in Slovakia). I was teaching PHP, MySQL and other internet-related stuff. I&#8217;ll try to publish some useful codes here, although some personal stuff is going to be placed here too&#8230; So accept my apologies if all [...]]]></description>
			<content:encoded><![CDATA[<p>Even I am not a teacher at this time, I am a former teacher/student at Technical University of Kosice (in Slovakia). I was teaching PHP, MySQL and other internet-related stuff. I&#8217;ll try to publish some useful codes here, although some personal stuff is going to be placed here too&#8230; So accept my apologies if all of the things here don&#8217;t fit your interest.</p>
<p>Since I am a developer of WordPress plug-ins, I will also spend more than a few posts about these cool things <img src='http://janhvizdak.edublogs.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  .</p>
]]></content:encoded>
			<wfw:commentRss>http://janhvizdak.edublogs.org/2008/04/05/welcome-to-my-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>