<?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>SmileyLover Blog &#187; AJAX</title>
	<atom:link href="http://blog.smileylover.com/category/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.smileylover.com</link>
	<description>Sharing Knowledge and Resources</description>
	<lastBuildDate>Sun, 04 Apr 2010 18:32:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Free CB Plugin Simple Invitation (Invite Friends)</title>
		<link>http://blog.smileylover.com/free-cb-plugin-simple-invitation-invite-friends/</link>
		<comments>http://blog.smileylover.com/free-cb-plugin-simple-invitation-invite-friends/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 12:53:23 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[cb plugin simple invitation]]></category>
		<category><![CDATA[invite friend cb plugin]]></category>

		<guid isPermaLink="false">http://blog.smileylover.com/?p=181</guid>
		<description><![CDATA[From my last Joomla project, the client asks for the feature to send invitation email from CB profile page, so users can send email and invite friends to join with the community. So we need a recomended site script but in the form of a CB plugin. After the search, finally met &#8220;Invite A Friend [...]


Related posts:<ol><li><a href='http://blog.smileylover.com/wordpress-exchange-links-plugin/' rel='bookmark' title='Permanent Link: WordPress Exchange Links Plugin &#8211; AJAX Version'>WordPress Exchange Links Plugin &#8211; AJAX Version</a></li>
<li><a href='http://blog.smileylover.com/text2image-png-generator-free-online-generator-free-download/' rel='bookmark' title='Permanent Link: Text2Image (PNG) Generator &#8211; Free Online Generator &#8211; Free Download!'>Text2Image (PNG) Generator &#8211; Free Online Generator &#8211; Free Download!</a></li>
<li><a href='http://blog.smileylover.com/simple-ajax-captcha/' rel='bookmark' title='Permanent Link: Simple AJAX Captcha'>Simple AJAX Captcha</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>From my last Joomla project, the client asks for the feature to send invitation email from CB profile page, so users can send email and invite friends to join with the community. So we need a recomended site script but in the form of a CB plugin. After the search, finally met &#8220;<a href="http://joomlacode.org/gf/project/cb_invite/">Invite A Friend CB Plugin</a>&#8220;. But that plugin can not work at all (on Joomla 1.5.12 and CB 1.2.1).</p>
<p>This is the background that I decided to create my own plugin invite friend. Seeing the API Guide Book for CB plugins, then the plugin was born, <a href="http://blog.smileylover.com/free-cb-plugin-simple-invitation-invite-friends/" title="Free CB Plugin Simple Invitation (Invite Friends)"><strong>CB Simple Invitation</strong></a>. Simple because this plugin does not need a database at all and very easy to use:) Supported with <a href="http://jquery.com" title="jquery homepage">JQuery for AJAX</a>, so the plugin makes it light and sweet in its use.<br />
<span id="more-181"></span><br />
The installation process:<br />
1. Download first <a href="http://cbplugin-simpleinvitation.googlecode.com/files/plug_cbsimpleinvitation.zip" title="Free CB Plugin Simple Invitation (Invite Friends)"><strong>CB Plugin Simple Invitation</strong>, now hosted in Joomlapolis!</a><br />
2. Upload ZIP files from &#8220;Install Plugin&#8221; CB Panel<br />
3. Publish CB Plugin Simple Invitation from &#8220;Plugin Management&#8221;<br />
4. Go to &#8220;Tab Management&#8221; and the settings for Email Subject and Content!<br />
5. Remember! Content is email support HTML Tags. All email invitation is HTML Email!<br />
6. Just that! now you can see live in your CB profile <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Simple installation right? This is screenshot in action.<br />
<center><br />
<br />
<a href="http://tinypic.com/view.php?pic=2uzc5lc&#038;s=3" title="Free CB Plugin Simple Invitation (Invite Friends)" target="_blank" ><img src="http://i30.tinypic.com/2uzc5lc_th.gif" alt="Free CB Plugin Simple Invitation (Invite Friends)" align="center" /></a><br />
<br />
</center></p>
<blockquote><p><a href="http://joomla-invitation.smileylover.com/index.php?option=com_comprofiler&#038;task=userProfile&#038;user=62&#038;Itemid=2" title="Free CB Plugin Simple Invitation (Invite A Friend)">Demo</a></p></blockquote>
<p>This plugin is free as long as copyright link still exists in the bottom page. If you need to remove it, then you need to donate some money for me by <a href="http://paypal" title="PayPal lets you send money to anyone with email">Paypal</a> <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Update:<br />
This free cb plugin now approved and hosted in <a href="http://www.joomlapolis.com/component/option,com_mtree/task,viewlink/link_id,511/Itemid,60/" title="Free Download CB Plugin Simple Invitation">Joomlapolis</a>! Thnx all.</p>
<script type="text/javascript" class="owbutton" src="http://onlywire.com/btn/button_3793" title="Free CB Plugin Simple Invitation (Invite Friends)" url="http://blog.smileylover.com/free-cb-plugin-simple-invitation-invite-friends/"></script>

<p>Related posts:<ol><li><a href='http://blog.smileylover.com/wordpress-exchange-links-plugin/' rel='bookmark' title='Permanent Link: WordPress Exchange Links Plugin &#8211; AJAX Version'>WordPress Exchange Links Plugin &#8211; AJAX Version</a></li>
<li><a href='http://blog.smileylover.com/text2image-png-generator-free-online-generator-free-download/' rel='bookmark' title='Permanent Link: Text2Image (PNG) Generator &#8211; Free Online Generator &#8211; Free Download!'>Text2Image (PNG) Generator &#8211; Free Online Generator &#8211; Free Download!</a></li>
<li><a href='http://blog.smileylover.com/simple-ajax-captcha/' rel='bookmark' title='Permanent Link: Simple AJAX Captcha'>Simple AJAX Captcha</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.smileylover.com/free-cb-plugin-simple-invitation-invite-friends/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Text2Image (PNG) Generator &#8211; Free Online Generator &#8211; Free Download!</title>
		<link>http://blog.smileylover.com/text2image-png-generator-free-online-generator-free-download/</link>
		<comments>http://blog.smileylover.com/text2image-png-generator-free-online-generator-free-download/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 06:11:41 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[free online generator text2image]]></category>
		<category><![CDATA[online text to image generator]]></category>

		<guid isPermaLink="false">http://blog.smileylover.com/?p=117</guid>
		<description><![CDATA[I&#8217;ve created a simple PHP script based on Seal Rock script that enable you to convert a bunch of text to image (png) on the fly, including your watermark as signature to result image First, take a look the demo at TEXT2IMAGE.CO.NR. Write any text you like and generate. Bingo &#8230; Your image now is [...]


Related posts:<ol><li><a href='http://blog.smileylover.com/write-friendster-comment-more-than-1000-chars-with-text2image/' rel='bookmark' title='Permanent Link: Write Friendster Comment More Than 1000 Chars with Text2Image!'>Write Friendster Comment More Than 1000 Chars with Text2Image!</a></li>
<li><a href='http://blog.smileylover.com/making-border-image-with-php-and-gd-library/' rel='bookmark' title='Permanent Link: Making Border Image with PHP and GD Library'>Making Border Image with PHP and GD Library</a></li>
<li><a href='http://blog.smileylover.com/remote-upload-to-imageshackus-with-phpcurl/' rel='bookmark' title='Permanent Link: Remote Upload To Imageshack.Us With PHP+cURL'>Remote Upload To Imageshack.Us With PHP+cURL</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I&#8217;ve created a simple PHP script based on Seal Rock script that enable you to convert a bunch of text to image (png) on the fly, including your watermark as signature to result image <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   First, take a look the demo at <strong><a title="Free Online Text2Image Generator" href="http://text2image.co.nr" target="_blank">TEXT2IMAGE.CO.NR</a></strong>.  Write any text you like and  generate.  Bingo &#8230; Your image now is already generated!  Next, click &#8220;Get Code&#8221; and two code will appear, HTML Code and BB Code.  We have transfered your image to ImageShack.Us in background process <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Please read my post about <a title="Remote Upload To Imageshack.Us With PHP+cURL" href="http://blog.smileylover.com/remote-upload-to-imageshackus-with-phpcurl/" target="_blank"><strong>ImageShack.Us Remote Uploader</strong></a> to get details also download free script!</p>
<p style="text-align: justify;">Now this script is open to public!  That&#8217;s mean you can download source and use it anywhere, as long you&#8217;re not remove backlink to us:)  Agree??  If you do, you can download now <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: justify;"><span id="more-117"></span></p>
<blockquote>
<p style="text-align: justify;"><a title="Free Download Text2Image Generator Script" href="http://sharecash.org/download.php?file=206428" target="_blank"><strong>Download code</strong></a></p>
<p>
<a href="http://www.hotscripts.com/Detailed/85498.html?RID=N700015"><img src="http://images.hotscripts.com/dynamic/mostpopular.gif?LINKID" border="0"></a>
</p>
</blockquote>
<p style="text-align: justify;">There&#8217;s a little different about public version and TEXT2IMAGE.CO.NR version.  Public version doesn&#8217;t have sidebar and session save options.  But anyway, you can still get this all functions :</p>
<ol>
<li>Font type (True Type)</li>
<li>Font height (point)</li>
<li>Font color (including color picker)</li>
<li>Text Shadow</li>
<li>Background color (including color picker)</li>
<li>Transparent background</li>
<li>Image border</li>
<li>Border color (including color picker)</li>
<li>Image width</li>
<li>Characters remaining counter</li>
<li>Statistic for generated images</li>
<li>Transfer image to ImageShack.Us in AJAX realm!</li>
</ol>
<p>It&#8217;s so easy to install it.  First make sure your hosting support cURL to transfer image to ImageShack.Us.  Second, follow this instructions.</p>
<ol>
<li>Upload whole script using FTP</li>
<li>CHMOD &#8220;<strong>temp</strong>&#8221; folder and &#8220;<strong>php/counter.txt</strong>&#8221; to 777</li>
<li>You&#8217;re DONE!!</li>
</ol>
<p>You can add more fonts by upload them to &#8220;<strong>fonts</strong>&#8221; folder.  Be carefull, some UNIX server can&#8217;t recognize font with &#8220;<strong>TTF</strong>&#8221; extension, you must change them into &#8220;<strong>ttf</strong>&#8220;.  Change watermark image with yours, please pay attention to dimension.  Try to create your watermark with 80&#215;15 pixel <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>
Please write a comment if you have any problems <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
<p>
Regards
</p>
<p style="text-align: justify;">
<script type="text/javascript" class="owbutton" src="http://onlywire.com/btn/button_3793" title="Text2Image (PNG) Generator - Free Online Generator - Free Download!" url="http://blog.smileylover.com/text2image-png-generator-free-online-generator-free-download/"></script>

<p>Related posts:<ol><li><a href='http://blog.smileylover.com/write-friendster-comment-more-than-1000-chars-with-text2image/' rel='bookmark' title='Permanent Link: Write Friendster Comment More Than 1000 Chars with Text2Image!'>Write Friendster Comment More Than 1000 Chars with Text2Image!</a></li>
<li><a href='http://blog.smileylover.com/making-border-image-with-php-and-gd-library/' rel='bookmark' title='Permanent Link: Making Border Image with PHP and GD Library'>Making Border Image with PHP and GD Library</a></li>
<li><a href='http://blog.smileylover.com/remote-upload-to-imageshackus-with-phpcurl/' rel='bookmark' title='Permanent Link: Remote Upload To Imageshack.Us With PHP+cURL'>Remote Upload To Imageshack.Us With PHP+cURL</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.smileylover.com/text2image-png-generator-free-online-generator-free-download/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
		<item>
		<title>Bypass Links by Urlcash.net, Usercash.com, Anonym.to, Lix.in, Linkbucks.com and Get Direct Links.</title>
		<link>http://blog.smileylover.com/bypass-links-by-urlcashnet-usercashcom-anonymto-lixin-linkbuckscom-and-get-direct-links/</link>
		<comments>http://blog.smileylover.com/bypass-links-by-urlcashnet-usercashcom-anonymto-lixin-linkbuckscom-and-get-direct-links/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 21:01:32 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Rapidshare]]></category>
		<category><![CDATA[bypass ads links]]></category>

		<guid isPermaLink="false">http://blog.smileylover.com/?p=111</guid>
		<description><![CDATA[If you have hobbies download files from internet, maybe you ever found some links that cover by some ads links like Usercash.com, Urlcash.net, Linkbucks.com, and protect links like Lix.in, Anonym.to. It&#8217;s ok if somebody using protect links to keep their links stay longer but is so annoyed if they using ads links. We can&#8217;t get [...]


Related posts:<ol><li><a href='http://blog.smileylover.com/universal-ajax-links-checker-no-rapidshare-pishing/' rel='bookmark' title='Permanent Link: Universal AJAX Links Checker &#8211; No Rapidshare Pishing'>Universal AJAX Links Checker &#8211; No Rapidshare Pishing</a></li>
<li><a href='http://blog.smileylover.com/wordpress-exchange-links-plugin/' rel='bookmark' title='Permanent Link: WordPress Exchange Links Plugin &#8211; AJAX Version'>WordPress Exchange Links Plugin &#8211; AJAX Version</a></li>
<li><a href='http://blog.smileylover.com/simple-ajax-captcha/' rel='bookmark' title='Permanent Link: Simple AJAX Captcha'>Simple AJAX Captcha</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">If you have hobbies download files from internet, maybe you ever found some links that cover by some ads links like <a href="http://usercash.com"><strong>Usercash.com</strong></a>, <a href="http://urlcash.net"><strong>Urlcash.net</strong></a>, <a href="http://Linkbucks.com"><strong>Linkbucks.com</strong></a>, and protect links like <a href="http://Lix.in"><strong>Lix.in</strong></a>, <a href="http://Anonym.to"><strong>Anonym.to</strong></a>.  It&#8217;s ok if somebody using protect links to keep their links stay longer but is so annoyed if they using ads links.  We can&#8217;t get direct links without visiting ads page!</p>
<p style="text-align: justify;">It&#8217;s consumed more bandwith and time, usually they give a time to redirect to direct links in 10 seconds.  Now you just want to download 1 file with 1 ads link, you said &#8220;<em>it&#8217;s ok, no problem, just wait in 10 seconds or click direct link in page</em>&#8220;.  But what happen if you want to download 10 links or more?? we must open new window in our browser 10 times and wait for 10 seconds * 10!! Stop that and try being smart now <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: justify;"><span id="more-111"></span></p>
<p style="text-align: justify;">Now it&#8217;s the tricks to bypass all link above, both ads links and protect links.  Open new window in your browser and start to type <a title="Universal AJAX Link Checker" href="http://rapidcheck.co.nr" target="_blank">http://rapidcheck.co.nr</a>.  It&#8217;s <a title="Universal AJAX Link Checker" href="http://rapidcheck.co.nr"><strong>Universal AJAX Link Checker</strong></a> that enabled you to check all links above or any direct links and return the status, active or dead, also return file size for Rapidshare.com, Megaupload.com, Ziddu.com.  Cool enough huh?</p>
<p style="text-align: justify;">With this online tools you can save a lot of time and start to download your file faster <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   You can check up to 300 links in one time! After result appear you can click on <strong>©</strong> symbol in right side to auto copy link to your clipboard! This is a screenshot in action.</p>
<p style="text-align: center;">
<a href="http://img386.imageshack.us/my.php?image=rapidcheckep8.png" target="_blank"><img src="http://img386.imageshack.us/img386/6417/rapidcheckep8.th.png" border="0" alt="Bypass Urlcash.net, Usercash.com, Anonym.to, Lix.in, Linkbucks.com and Get Direct Links!.txt" /></a>
</p>
<p style="text-align: justify;">Just a tips for you, if your links size is rapidshare or megaupload and under 40MB you can using <a href="http://Rapidshare.info.tm">Rapidshare.info.tm</a> and <a href="http://Viete.info">Viete.info</a> to generate premium link <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Try to use <a href="http://Nbe-Media.com">Nbe-Media.com</a> to download big file size.  Happy downloading <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<script type="text/javascript" class="owbutton" src="http://onlywire.com/btn/button_3793" title="Bypass Links by Urlcash.net, Usercash.com, Anonym.to, Lix.in, Linkbucks.com and Get Direct Links." url="http://blog.smileylover.com/bypass-links-by-urlcashnet-usercashcom-anonymto-lixin-linkbuckscom-and-get-direct-links/"></script>

<p>Related posts:<ol><li><a href='http://blog.smileylover.com/universal-ajax-links-checker-no-rapidshare-pishing/' rel='bookmark' title='Permanent Link: Universal AJAX Links Checker &#8211; No Rapidshare Pishing'>Universal AJAX Links Checker &#8211; No Rapidshare Pishing</a></li>
<li><a href='http://blog.smileylover.com/wordpress-exchange-links-plugin/' rel='bookmark' title='Permanent Link: WordPress Exchange Links Plugin &#8211; AJAX Version'>WordPress Exchange Links Plugin &#8211; AJAX Version</a></li>
<li><a href='http://blog.smileylover.com/simple-ajax-captcha/' rel='bookmark' title='Permanent Link: Simple AJAX Captcha'>Simple AJAX Captcha</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.smileylover.com/bypass-links-by-urlcashnet-usercashcom-anonymto-lixin-linkbuckscom-and-get-direct-links/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>WordPress Exchange Links Plugin &#8211; AJAX Version</title>
		<link>http://blog.smileylover.com/wordpress-exchange-links-plugin/</link>
		<comments>http://blog.smileylover.com/wordpress-exchange-links-plugin/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 19:04:40 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Localhost]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[wordpress exchange links plugin]]></category>
		<category><![CDATA[wordpress links exchange plugin]]></category>
		<category><![CDATA[wordpress seo plugin]]></category>

		<guid isPermaLink="false">http://blog.smileylover.com/?p=75</guid>
		<description><![CDATA[Let me introduce a new plugin called WpExLinks. This is my first plugin for WordPress that enable you to build your links network with other webmaster. This proccess now more easier in WordPress realm. We can automate the proccess and we&#8217;ll get some notification email in the end of proccess. Here are some feature from [...]


Related posts:<ol><li><a href='http://blog.smileylover.com/making-wordpress-exchange-links-without-plugins/' rel='bookmark' title='Permanent Link: Making WordPress Exchange Links Without Plugins'>Making WordPress Exchange Links Without Plugins</a></li>
<li><a href='http://blog.smileylover.com/simple-ajax-captcha/' rel='bookmark' title='Permanent Link: Simple AJAX Captcha'>Simple AJAX Captcha</a></li>
<li><a href='http://blog.smileylover.com/free-cb-plugin-simple-invitation-invite-friends/' rel='bookmark' title='Permanent Link: Free CB Plugin Simple Invitation (Invite Friends)'>Free CB Plugin Simple Invitation (Invite Friends)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Let me introduce a new plugin called <strong>WpExLinks</strong>.  This is my first plugin for WordPress that enable you to build your links network with other webmaster.  This proccess now more easier in WordPress realm.  We can automate the proccess and we&#8217;ll get some notification email in the end of proccess.  Here are some feature from my plugin :</p>
<ol>
<li>Auto checking error if this fields were blank (name, email, website title, website URL, reciprocal URL, website description)</li>
<li>Checking for valid format of email, website url, reciprocal url</li>
<li>Checking for status reciprocal url before submitted</li>
<li>Auto blocked same domain submitted</li>
<li>Integrate AJAX CAPTCHA and AJAX sending form in user interface</li>
<li>Notification email for admin when some submit link</li>
<li>Edit Links Page! available</li>
<li>Widget already</li>
<li>Easy manage links (<em>delete, approve, unapprove, check reciprocal links</em>) from Options page</li>
</ol>
<p><span id="more-75"></span></p>
<p>Here are installation step :</p>
<ul>
<li>Make sure you upload a whole folder WpExLinks into your <em>wp-content/plugins</em>, please keep the structure files</li>
<li>Activate both WpExLinks plugin and WpExLinks widget from your <em>Dashboard</em></li>
<li>Create a new page, give a title as you like (ex. Exchange Links) and paste the code in the textarea and publish</li>
</ul>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p75code3'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p753"><td class="code" id="p75code3"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;!--</span>wpExLinks<span style="color: #339933;">--&gt;</span></pre></td></tr></table></div>

<ul>
<li>Set WpExLinks options if you need from <em>Settings &gt; Wp Exchange Links</em> options page (default is enough to run)</li>
<li>Finished!  Now everyone want to do exchange links with you just refer to Exchange Links Page <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p>Screenshot :</p>
<p><img src="http://i36.tinypic.com/2nr1o95.jpg" alt="WpExLinks options page.  You can set website url, title, description, and email address for notification.  Also you can manage all links from here." width="450" /></p>
<p><img src="http://i34.tinypic.com/11b5dzs.jpg" alt="Example WpExLinks page submit form" /></p>
<p>Because this is BETA version, so i need input from you all.  Please report bugs here.</p>
<p>History version:</p>
<p><em>Tested up to 2.6.5</em></p>
<ul>
<li>V1.0 &#8211; 28 Sept 2008, first release WpExLinks WordPress Plugin</li>
<li>V1.1 &#8211; 7 Oct 2008, Change to HTML email, repair bugs function show list without widget, fix admin options area, add description to anchor link as title/alt</li>
<li>V1.2 &#8211; 8 Oct, Fix HTML email, add Edit Links Page!, add permalink to Exchange Link Page in Options Page, etc . Please read changelog in readme.html for details.</li>
<li>V1.3 &#8211; 17 Oct, Change CAPTCHA method hope will fix compatibility issues, add new option to use captcha or not.  Please extract to wpExLinks folder and upload all files. </li>
<li>V1.4 &#8211; 10 Nov, Change default widget to display all links or use 0 to do it, Change AJAX system using  Simple AJAX Code-Kit (SACK) to avoid &#8220;Invalid Captcha&#8221; problem, Fixed minor bugs </li>
</ul>
<blockquote><p><a title="WpExLinks WordPress Plugin" href="http://downloads.wordpress.org/plugin/wp-ex-links.zip" target="_blank"><strong>Download Code</strong></a><br />
Now hosted by <a href="http://wordpress.org/extend/plugins/wp-ex-links/">WordPress</a> <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p></blockquote>
<p>Update note :<br />
You can show links list without widget, just add this code into your themes, not post/page textarea!  Anyway you can do it if you have execPHP plugin installed in your WordPress <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p75code4'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p754"><td class="code" id="p75code4"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><a href="http://www.php.net/function_exists"><span style="color: #990000;">function_exists</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wpExLinksList'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>wpExLinksList<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Default will show links list in unordered list with div id=&#8221;wpExLinks&#8221; for setting in CSS and no limit number links, order by name, and ASCENDING.  Please refer to readme.html file for details.</p>
<p>Enjoy my plugin <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<script type="text/javascript" class="owbutton" src="http://onlywire.com/btn/button_3793" title="Wordpress Exchange Links Plugin - AJAX Version" url="http://blog.smileylover.com/wordpress-exchange-links-plugin/"></script>

<p>Related posts:<ol><li><a href='http://blog.smileylover.com/making-wordpress-exchange-links-without-plugins/' rel='bookmark' title='Permanent Link: Making WordPress Exchange Links Without Plugins'>Making WordPress Exchange Links Without Plugins</a></li>
<li><a href='http://blog.smileylover.com/simple-ajax-captcha/' rel='bookmark' title='Permanent Link: Simple AJAX Captcha'>Simple AJAX Captcha</a></li>
<li><a href='http://blog.smileylover.com/free-cb-plugin-simple-invitation-invite-friends/' rel='bookmark' title='Permanent Link: Free CB Plugin Simple Invitation (Invite Friends)'>Free CB Plugin Simple Invitation (Invite Friends)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.smileylover.com/wordpress-exchange-links-plugin/feed/</wfw:commentRss>
		<slash:comments>246</slash:comments>
		</item>
		<item>
		<title>Simple AJAX Captcha</title>
		<link>http://blog.smileylover.com/simple-ajax-captcha/</link>
		<comments>http://blog.smileylover.com/simple-ajax-captcha/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 18:42:31 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.smileylover.com/?p=68</guid>
		<description><![CDATA[Nowaday in Web 2.0 realm, AJAX become primary need for web developer to create a dynamic web applications. Not only web developer, but also spammer getting more dynamic and clever Usually they fill in comment box or input user to put their junk content like backlinks. To avoid this, it&#8217;s commonly to used CAPTCHA since [...]


Related posts:<ol><li><a href='http://blog.smileylover.com/ajax-with-checkbox/' rel='bookmark' title='Permanent Link: AJAX POST GET Form With Multiple Checkbox, Radio, Select Option'>AJAX POST GET Form With Multiple Checkbox, Radio, Select Option</a></li>
<li><a href='http://blog.smileylover.com/wordpress-exchange-links-plugin/' rel='bookmark' title='Permanent Link: WordPress Exchange Links Plugin &#8211; AJAX Version'>WordPress Exchange Links Plugin &#8211; AJAX Version</a></li>
<li><a href='http://blog.smileylover.com/free-cb-plugin-simple-invitation-invite-friends/' rel='bookmark' title='Permanent Link: Free CB Plugin Simple Invitation (Invite Friends)'>Free CB Plugin Simple Invitation (Invite Friends)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Nowaday in Web 2.0 realm, AJAX become primary need for web developer to create a dynamic web applications.  Not only web developer, but also spammer getting more dynamic and clever <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />     Usually they fill in comment box or input user to put their junk content like backlinks.  To avoid this, it&#8217;s commonly to used CAPTCHA since they effective enough to blocked spammer.</p>
<p>But now it&#8217;s Web 2.0!  AJAX in everywhere.  So let&#8217;s create a simple AJAX Captcha to accomodate this.  First searched for Google and found it, there&#8217;s enough resource to make a improvisation with this stuff (<a href="http://www.webcheatsheet.com/PHP/create_captcha_protection.php">How to Create CAPTCHA Protection using PHP and AJAX </a> and <a href="http://www.funkyajax.com/captcha_page.html">FunkyAJAX</a>).  I tried at home but no one of them have a complete feature but still simple <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   So i combine all resource and build this one, simple but have a full feature that i wanted!</p>
<p>You can check DEMO to get transparent on this.  I&#8217;ve included AJAX Captcha to avoid a high resource consumed (server).</p>
<blockquote><p><a title="Universal AJAX Link Checker with Captcha" href="http://rapidcheck.co.nr" target="_blank"><strong>Universal AJAX Link Checker</strong></a></p></blockquote>
<p><span id="more-68"></span><br />
First, build a simple form with textarea, single input user, img tag, and of course submit button (you can pass this).</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p68code9'); return false;">View Code</a> HTML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p689"><td class="code" id="p68code9"><pre class="html" style="font-family:monospace;">&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Simple AJAX CAPTCHA by SmileyLover.Com&lt;/title&gt;
&lt;script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot; src=&quot;ajax_captcha.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form action=&quot;javascript:get(document.getElementById('myform'));&quot; name=&quot;myform&quot; id=&quot;myform&quot;&gt;
	&lt;textarea id=&quot;mytextarea&quot; name=&quot;mytextarea&quot; cols=&quot;25&quot; rows=&quot;5&quot;&gt;&lt;/textarea&gt;&lt;br /&gt;
&nbsp;
	&lt;img id=&quot;imgCaptcha&quot; src=&quot;create_image.php&quot; onclick=&quot;setTimeout('refreshimg()', 300); return false;&quot; alt=&quot;Click on me to change image&quot;/&gt;&amp;nbsp;&amp;nbsp;
	&lt;input id=&quot;txtCaptcha&quot; type=&quot;text&quot; name=&quot;txtCaptcha&quot; value=&quot;&quot; maxlength=&quot;10&quot; size=&quot;10&quot; autocomplete=&quot;off&quot;/&gt;
&nbsp;
	&lt;br /&gt;&lt;small&gt;&lt;i&gt;&lt;b&gt;* Click on the CAPTCHA to refreshing image!&lt;/b&gt;&lt;/i&gt;&lt;/small&gt;
	&lt;br /&gt;
&nbsp;
	&lt;input type=&quot;button&quot; name=&quot;button&quot; value=&quot;Submit&quot; 
	   onclick=&quot;javascript:get(this.parentNode);&quot;&gt;
	&lt;input type=&quot;submit&quot; name=&quot;button&quot; value=&quot;Normal Submit Button&quot; &gt;
&nbsp;
&lt;/form&gt;
&nbsp;
&lt;br&gt;&lt;br&gt;
Server-Response:&lt;br&gt;
&lt;span name=&quot;myspan&quot; id=&quot;myspan&quot;&gt;&lt;/span&gt;
&lt;br /&gt;&lt;br /&gt;
Powered by &lt;a href=&quot;http://blog.smileylover.com/&quot;&gt;SmileyLover.Com&lt;/a&gt;
&lt;/body&gt;
&lt;/html&gt;</pre></td></tr></table></div>

<p>This form also work if you just press ENTER instead click submit button.  So now the javascript code.  Basically it&#8217;s using XMLHttpRequest like ordinary AJAX Post/Get but we also send a session from image from Captcha.  I&#8217;ve added this line into <strong>var getstr.</strong></p>
<blockquote><p>&#8220;&amp;txtCaptcha=&#8221; + encodeURI( document.getElementById(&#8220;txtCaptcha&#8221;).value) ;</p></blockquote>
<p><strong>txtCaptcha</strong> is ID being used for Captcha input user .   So we need to Captcha change dynamically when AJAX response is return.  We need this code.  Add to javascript in condition <strong>if (http_request.status == 200)</strong>.</p>
<blockquote><p>//Get a reference to CAPTCHA image<br />
img = document.getElementById(&#8216;imgCaptcha&#8217;);<br />
//Change the image<br />
img.src = &#8216;create_image.php?&#8217; + Math.random(); // Search for new image<br />
document.getElementById(&#8216;txtCaptcha&#8217;).value=&#8221;; //Reset input Captcha  after succes return</p></blockquote>
<p>There&#8217;s already information about code above.  Session is create by <strong>create_image.php</strong> itself.  For more sophiscated we need to change image when user click on it (if user can&#8217;t read Captcha) of course with AJAX.  Add this little bit code.</p>
<blockquote><p>// IMAGE REFRESHING<br />
function refreshimg()<br />
{<br />
//Get a reference to CAPTCHA image<br />
img = document.getElementById(&#8216;imgCaptcha&#8217;);<br />
//Change the image<br />
img.src = &#8216;create_image.php?&#8217; + Math.random();<br />
}</p></blockquote>
<p>So now is full Javascript code.</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p68code10'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p6810"><td class="code" id="p68code10"><pre class="javascript" style="font-family:monospace;">   <span style="color: #003366; font-weight: bold;">var</span> http_request <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
   <span style="color: #003366; font-weight: bold;">function</span> makeRequest<span style="color: #009900;">&#40;</span>url<span style="color: #339933;">,</span> parameters<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      http_request <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
      <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>window.<span style="color: #660066;">XMLHttpRequest</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// Mozilla, Safari,...</span>
         http_request <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> XMLHttpRequest<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
         <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>http_request.<span style="color: #660066;">overrideMimeType</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
         	<span style="color: #006600; font-style: italic;">// set type accordingly to anticipated content type</span>
            <span style="color: #006600; font-style: italic;">//http_request.overrideMimeType('text/xml');</span>
            http_request.<span style="color: #660066;">overrideMimeType</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'text/html'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
         <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>window.<span style="color: #660066;">ActiveXObject</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// IE</span>
         <span style="color: #000066; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
            http_request <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> ActiveXObject<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Msxml2.XMLHTTP&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
         <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000066; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
               http_request <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> ActiveXObject<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Microsoft.XMLHTTP&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span>
         <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
      <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>http_request<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
         <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Cannot create XMLHTTP instance'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
         <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
      http_request.<span style="color: #660066;">onreadystatechange</span> <span style="color: #339933;">=</span> alertContents<span style="color: #339933;">;</span>
      http_request.<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'GET'</span><span style="color: #339933;">,</span> url <span style="color: #339933;">+</span> parameters<span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      http_request.<span style="color: #660066;">send</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span>
&nbsp;
   <span style="color: #003366; font-weight: bold;">function</span> alertContents<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>http_request.<span style="color: #660066;">readyState</span> <span style="color: #339933;">==</span> <span style="color: #CC0000;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
         <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>http_request.<span style="color: #000066;">status</span> <span style="color: #339933;">==</span> <span style="color: #CC0000;">200</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #006600; font-style: italic;">//alert(http_request.responseText);</span>
            result <span style="color: #339933;">=</span> http_request.<span style="color: #660066;">responseText</span><span style="color: #339933;">;</span>
            document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'myspan'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> result<span style="color: #339933;">;</span> 
			<span style="color: #006600; font-style: italic;">//Get a reference to CAPTCHA image</span>
			img <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'imgCaptcha'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
			<span style="color: #006600; font-style: italic;">//Change the image</span>
			img.<span style="color: #660066;">src</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'create_image.php?'</span> <span style="color: #339933;">+</span> Math.<span style="color: #660066;">random</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// Search for new image</span>
			document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'txtCaptcha'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">value</span><span style="color: #339933;">=</span><span style="color: #3366CC;">''</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//Reset input Captcha  after succes return 			</span>
         <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'There was a problem with the request.'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
         <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
   <span style="color: #009900;">&#125;</span>
&nbsp;
   <span style="color: #003366; font-weight: bold;">function</span> get<span style="color: #009900;">&#40;</span>obj<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #003366; font-weight: bold;">var</span> getstr <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;?&quot;</span> <span style="color: #339933;">+</span>
			<span style="color: #3366CC;">&quot;&amp;mytextarea=&quot;</span> <span style="color: #339933;">+</span> <span style="color: #000066; font-weight: bold;">encodeURI</span><span style="color: #009900;">&#40;</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;mytextarea&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">value</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span>
			<span style="color: #3366CC;">&quot;&amp;txtCaptcha=&quot;</span> <span style="color: #339933;">+</span> <span style="color: #000066; font-weight: bold;">encodeURI</span><span style="color: #009900;">&#40;</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;txtCaptcha&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">value</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">;</span>
      makeRequest<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'get.php'</span><span style="color: #339933;">,</span> getstr<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">// IMAGE REFRESHING</span>
<span style="color: #003366; font-weight: bold;">function</span> refreshimg<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #006600; font-style: italic;">//Get a reference to CAPTCHA image</span>
	img <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'imgCaptcha'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
	<span style="color: #006600; font-style: italic;">//Change the image</span>
	img.<span style="color: #660066;">src</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'create_image.php?'</span> <span style="color: #339933;">+</span> Math.<span style="color: #660066;">random</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Now look for <strong>create_image.php</strong>, it&#8217;s common php generate Captcha with <strong>session_start()</strong> function and <strong>$_SESSION["name_session"]</strong>.  You can download all source code in the end of this posting.</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p68code11'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p6811"><td class="code" id="p68code11"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?</span>
<span style="color: #666666; font-style: italic;">//Start the session so we can store what the security code actually is</span>
<a href="http://www.php.net/session_start"><span style="color: #990000;">session_start</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//Send a generated image to the browser </span>
create_image<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> create_image<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> 
<span style="color: #009900;">&#123;</span> 
    <span style="color: #666666; font-style: italic;">//Let's generate a totally random string using md5 </span>
    <span style="color: #000088;">$md5_hash</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/md5"><span style="color: #990000;">md5</span></a><span style="color: #009900;">&#40;</span><a href="http://www.php.net/rand"><span style="color: #990000;">rand</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">999</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
    <span style="color: #666666; font-style: italic;">//We don't need a 32 character long string so we trim it down to 5 </span>
    <span style="color: #000088;">$security_code</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/substr"><span style="color: #990000;">substr</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$md5_hash</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">15</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">5</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
    <span style="color: #666666; font-style: italic;">//Set the session to store the security code</span>
    <span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;security_code&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$security_code</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">//Set the image width and height </span>
    <span style="color: #000088;">$im</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/imagecreate"><span style="color: #990000;">imagecreate</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">80</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">25</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">//white background and blue text</span>
    <span style="color: #000088;">$bg</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/imagecolorallocate"><span style="color: #990000;">imagecolorallocate</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$im</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">255</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">255</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">255</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$textcolor</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/imagecolorallocate"><span style="color: #990000;">imagecolorallocate</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$im</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">128</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">//Add randomly generated string in white to the image</span>
    <a href="http://www.php.net/imagestring"><span style="color: #990000;">ImageString</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$im</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">5</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">20</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">8</span><span style="color: #339933;">,</span> <span style="color: #000088;">$security_code</span><span style="color: #339933;">,</span> <span style="color: #000088;">$textcolor</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
    <span style="color: #666666; font-style: italic;">//Tell the browser what kind of file is come in </span>
    <a href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-Type: image/jpeg&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
    <span style="color: #666666; font-style: italic;">//Output the newly created image in jpeg format </span>
    <a href="http://www.php.net/imagejpeg"><span style="color: #990000;">ImageJpeg</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$im</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
    <span style="color: #666666; font-style: italic;">//Free up resources</span>
    <a href="http://www.php.net/imagedestroy"><span style="color: #990000;">ImageDestroy</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$im</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #009900;">&#125;</span> 
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Now the last script.  For example we want <strong>get.php</strong> for handling all input from AJAX.  So let&#8217;s look this simple script.</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p68code12'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p6812"><td class="code" id="p68code12"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">//Continue the session</span>
<a href="http://www.php.net/session_start"><span style="color: #990000;">session_start</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;txtCaptcha&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;security_code&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/empty"><span style="color: #990000;">empty</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;txtCaptcha&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #339933;">!</span><a href="http://www.php.net/empty"><span style="color: #990000;">empty</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SESSION</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;security_code&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">//If CAPTCHA success</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Success &lt;br /&gt;&quot;</span><span style="color: #339933;">;</span>
	<a href="http://www.php.net/print_r"><span style="color: #990000;">print_r</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">//If CAPTCHA invalid!</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'You entered an invalid CAPTCHA! &lt;br /&gt;Please fill in again ...'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Simple right?  Since we used GET method for AJAX request fo we define input user by <strong>$_GET</strong>.  As i promised, you can download all code here.</p>
<blockquote><p><a title="Download AJAX Captcha Code" href="http://rapidshare.com/files/148361490/Simple_AJAX_Captcha.zip" target="_blank"><strong>Download AJAX Captcha Code</strong></a></p></blockquote>
<div class="wp-caption alignleft" style="width: 436px"><img alt="Simple AJAX Captcha Demo" src="http://i38.tinypic.com/2u9hook.gif" title="Simple AJAX Captcha Demo" width="426" height="384" /><p class="wp-caption-text">Simple AJAX Captcha Demo</p></div>
<p>Have a nice day <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<script type="text/javascript" class="owbutton" src="http://onlywire.com/btn/button_3793" title="Simple AJAX Captcha" url="http://blog.smileylover.com/simple-ajax-captcha/"></script>

<p>Related posts:<ol><li><a href='http://blog.smileylover.com/ajax-with-checkbox/' rel='bookmark' title='Permanent Link: AJAX POST GET Form With Multiple Checkbox, Radio, Select Option'>AJAX POST GET Form With Multiple Checkbox, Radio, Select Option</a></li>
<li><a href='http://blog.smileylover.com/wordpress-exchange-links-plugin/' rel='bookmark' title='Permanent Link: WordPress Exchange Links Plugin &#8211; AJAX Version'>WordPress Exchange Links Plugin &#8211; AJAX Version</a></li>
<li><a href='http://blog.smileylover.com/free-cb-plugin-simple-invitation-invite-friends/' rel='bookmark' title='Permanent Link: Free CB Plugin Simple Invitation (Invite Friends)'>Free CB Plugin Simple Invitation (Invite Friends)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.smileylover.com/simple-ajax-captcha/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Universal AJAX Links Checker &#8211; No Rapidshare Pishing</title>
		<link>http://blog.smileylover.com/universal-ajax-links-checker-no-rapidshare-pishing/</link>
		<comments>http://blog.smileylover.com/universal-ajax-links-checker-no-rapidshare-pishing/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 23:09:42 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Rapidshare]]></category>
		<category><![CDATA[ajax link checker]]></category>
		<category><![CDATA[rapidshare pishing]]></category>

		<guid isPermaLink="false">http://blog.smileylover.com/?p=39</guid>
		<description><![CDATA[Warez poeples have a lot of way to cheat rapidshare account of another. One of them is redirecting people to fake rapidshare web page. This web page is perfectly clonning by design / layout. How do they fool peoples? Usually they post a links of warez files into forum or any place with wrong format. [...]


Related posts:<ol><li><a href='http://blog.smileylover.com/bypass-links-by-urlcashnet-usercashcom-anonymto-lixin-linkbuckscom-and-get-direct-links/' rel='bookmark' title='Permanent Link: Bypass Links by Urlcash.net, Usercash.com, Anonym.to, Lix.in, Linkbucks.com and Get Direct Links.'>Bypass Links by Urlcash.net, Usercash.com, Anonym.to, Lix.in, Linkbucks.com and Get Direct Links.</a></li>
<li><a href='http://blog.smileylover.com/wordpress-exchange-links-plugin/' rel='bookmark' title='Permanent Link: WordPress Exchange Links Plugin &#8211; AJAX Version'>WordPress Exchange Links Plugin &#8211; AJAX Version</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Warez poeples have a lot of way to cheat <a title="Large Files Hosting" href="http://rapidshare.com" target="_blank"><strong>rapidshare</strong></a> account of another.  One of them is redirecting people to fake rapidshare web page.  This web page is perfectly clonning by design / layout.  How do they fool peoples?  Usually they post a links of warez files into forum or any place with wrong format.  Look this example below.</p>
<blockquote><p>http://rapidshare.com/files/123456/file.zip</p></blockquote>
<blockquote><p>http://rapdshare.com/files/123456/file.zip</p></blockquote>
<p>So what&#8217;s the different in both of them?  Look same? The different is first example is true format and the second is wrong format.  Notice it doesn&#8217;t have letter &#8220;i&#8221; in domain.  Really good trap right?  And to make more vanish, they using short url like lix.in or tinyurl.  Now we will using online application to avoid this and check your status links, all in single step <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-39"></span></p>
<p>First, open <a title="Universal AJAX Links Checker" href="http://rapidcheck.co.nr" target="_blank"><strong>Universal AJAX Links Checker</strong></a>.  Copy your bunch of link of your files into textarea and click Check Links.  Booops &#8230; now the results is appear and tell you how is condition of your files.  If any wrong format found, it will not included in result.  Easy?</p>
<p>This application support all major hosting including short URL service like <strong>Anonym.to</strong>, <strong>Linkbucks.com</strong>, <strong>Lix.in</strong>, <strong>Rapidshare.com Folders</strong>, <strong>Usercash.com</strong>.  Just enter your links and all job will handled by this application!</p>
<p>All major hosting include :</p>
<blockquote><p>4shared.com | Axifile.com | Badongo.com | Depositfiles.com | Megarotic.com | Easy-Share.com | Egoshare.com | Filefactory.com<br />
Adrive.com | Files.to | Gigasize.com | Mediafire.com | iFolder.ru | BitRoad.net | Megashares.com | Megaupload.com | Mihd.net | UploadPalace.com<br />
Momupload.com | Rapidshare.com | Rapidshare.de | Shareonall.com | Rndbload.com | Savefile.com | Sendspace.com | Ziddu.com | MegaShare.com<br />
Speedyshare.com | Turboupload.com | Uploaded.to | Cocoshare.com | Bizhat.com | Uploading.com | Usaupload.net | Zshare.net | FileFront.com</p></blockquote>
<script type="text/javascript" class="owbutton" src="http://onlywire.com/btn/button_3793" title="Universal AJAX Links Checker - No Rapidshare Pishing" url="http://blog.smileylover.com/universal-ajax-links-checker-no-rapidshare-pishing/"></script>

<p>Related posts:<ol><li><a href='http://blog.smileylover.com/bypass-links-by-urlcashnet-usercashcom-anonymto-lixin-linkbuckscom-and-get-direct-links/' rel='bookmark' title='Permanent Link: Bypass Links by Urlcash.net, Usercash.com, Anonym.to, Lix.in, Linkbucks.com and Get Direct Links.'>Bypass Links by Urlcash.net, Usercash.com, Anonym.to, Lix.in, Linkbucks.com and Get Direct Links.</a></li>
<li><a href='http://blog.smileylover.com/wordpress-exchange-links-plugin/' rel='bookmark' title='Permanent Link: WordPress Exchange Links Plugin &#8211; AJAX Version'>WordPress Exchange Links Plugin &#8211; AJAX Version</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.smileylover.com/universal-ajax-links-checker-no-rapidshare-pishing/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>AJAX POST GET Form With Multiple Checkbox, Radio, Select Option</title>
		<link>http://blog.smileylover.com/ajax-with-checkbox/</link>
		<comments>http://blog.smileylover.com/ajax-with-checkbox/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 19:06:51 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ajax checkbox]]></category>
		<category><![CDATA[ajax multiple check box]]></category>
		<category><![CDATA[ajax radio button]]></category>

		<guid isPermaLink="false">http://blog.smileylover.com/?p=35</guid>
		<description><![CDATA[This simple tutorial will cover how to sending form using AJAX in GET action. So why you choose GET than POST action? The answer is, when we sending data using AJAX in POST action we always send data with TRUE condition. Example if you want to send form with checkbox that confirm client male or [...]


Related posts:<ol><li><a href='http://blog.smileylover.com/simple-ajax-captcha/' rel='bookmark' title='Permanent Link: Simple AJAX Captcha'>Simple AJAX Captcha</a></li>
<li><a href='http://blog.smileylover.com/wordpress-exchange-links-plugin/' rel='bookmark' title='Permanent Link: WordPress Exchange Links Plugin &#8211; AJAX Version'>WordPress Exchange Links Plugin &#8211; AJAX Version</a></li>
<li><a href='http://blog.smileylover.com/making-wordpress-exchange-links-without-plugins/' rel='bookmark' title='Permanent Link: Making WordPress Exchange Links Without Plugins'>Making WordPress Exchange Links Without Plugins</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This simple tutorial will cover how to sending form using AJAX in GET action.  So why you choose GET than POST action? The answer is, when we sending data using AJAX in POST action we always send data with TRUE condition. Example if you want to send form with checkbox that confirm client male or female, with this method you always get first option, male.  Maybe with advanced javascript can cover it but we need a simple way. Right? Check demo application in <a title="universal ajax link checker" href="http://rapidcheck.co.nr" target="_blank"><strong>Universal Ajax Link Checker</strong></a>.</p>
<p>So i choose GET action to send data to server and send back to client.  It will check any input tag like checkbox, radio, or select option dropdown condition.  Example if checbox was checked so it will send to server but if not, it will not send to server.  So is this only work in input tag? how about textarea?  It will work on all part of form as long you defined ID so AJAX can handled it and define in AJAX script what ID must be send to server.</p>
<p><span id="more-35"></span></p>
<p>Basic script come from <a title="AJAX Form POST/GET " href="http://www.captain.at/howto-ajax-form-post-get.php" target="_blank">here</a>.  I just added textarea to be process in this AJAX.  Also added status when loading process <img src='http://blog.smileylover.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So this my improved code.</p>
<p><strong>index.php</strong></p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p35code15'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3515"><td class="code" id="p35code15"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>html<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>head<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;!--</span>
AJAX GET improved by SmileyLover
http<span style="color: #339933;">:</span><span style="color: #006600; font-style: italic;">//blog.smileylover.com</span>
<span style="color: #339933;">--&amp;</span>gt<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>style type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/css&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
#load<span style="color: #009900;">&#123;</span>color<span style="color: #339933;">:</span>green<span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;/</span>style<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;javascript&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">var</span> http_request <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">function</span> makeRequest<span style="color: #009900;">&#40;</span>url<span style="color: #339933;">,</span> parameters<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
http_request <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>window.<span style="color: #660066;">XMLHttpRequest</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// Mozilla, Safari,...</span>
http_request <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> XMLHttpRequest<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>http_request.<span style="color: #660066;">overrideMimeType</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #006600; font-style: italic;">// set type accordingly to anticipated content type</span>
<span style="color: #006600; font-style: italic;">//http_request.overrideMimeType('text/xml');</span>
http_request.<span style="color: #660066;">overrideMimeType</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'text/html'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>window.<span style="color: #660066;">ActiveXObject</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #006600; font-style: italic;">// IE</span>
<span style="color: #000066; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
http_request <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> ActiveXObject<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Msxml2.XMLHTTP&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000066; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
http_request <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> ActiveXObject<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Microsoft.XMLHTTP&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>http_request<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Cannot create XMLHTTP instance'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
http_request.<span style="color: #660066;">onreadystatechange</span> <span style="color: #339933;">=</span> alertContents<span style="color: #339933;">;</span>
http_request.<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'GET'</span><span style="color: #339933;">,</span> url <span style="color: #339933;">+</span> parameters<span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
http_request.<span style="color: #660066;">send</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
loadstatustext<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;&amp;lt;div id='load'&amp;gt;&amp;lt;img src='http://i37.tinypic.com/4gt6k0.jpg' /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Checking links ...&amp;lt;br /&amp;gt;&amp;lt;/div&amp;gt;&quot;</span> <span style="color: #006600; font-style: italic;">//Loading status</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> alertContents<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'myspan'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">innerHTML</span><span style="color: #339933;">=</span>loadstatustext <span style="color: #006600; font-style: italic;">//Display &quot;fetching page message&quot;</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>http_request.<span style="color: #660066;">readyState</span> <span style="color: #339933;">==</span> <span style="color: #CC0000;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>http_request.<span style="color: #000066;">status</span> <span style="color: #339933;">==</span> <span style="color: #CC0000;">200</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #006600; font-style: italic;">//alert(http_request.responseText);</span>
result <span style="color: #339933;">=</span> http_request.<span style="color: #660066;">responseText</span><span style="color: #339933;">;</span>
document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'myspan'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> result<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'There was a problem with the request.'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> get<span style="color: #009900;">&#40;</span>obj<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #003366; font-weight: bold;">var</span> getstr <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;?&quot;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;&amp;amp;links=&quot;</span> <span style="color: #339933;">+</span> <span style="color: #000066; font-weight: bold;">encodeURI</span><span style="color: #009900;">&#40;</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;links&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;&amp;amp;&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span>i<span style="color: #339933;">=</span><span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>obj.<span style="color: #660066;">childNodes</span>.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>obj.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">tagName</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;INPUT&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>obj.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">type</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;text&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
getstr <span style="color: #339933;">+=</span> obj.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #000066;">name</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;=&quot;</span> <span style="color: #339933;">+</span> obj.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;&amp;amp;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>obj.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">type</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;checkbox&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>obj.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">checked</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
getstr <span style="color: #339933;">+=</span> obj.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #000066;">name</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;=&quot;</span> <span style="color: #339933;">+</span> obj.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;&amp;amp;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
getstr <span style="color: #339933;">+=</span> obj.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #000066;">name</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;=&amp;amp;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>obj.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">type</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;radio&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>obj.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">checked</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
getstr <span style="color: #339933;">+=</span> obj.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #000066;">name</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;=&quot;</span> <span style="color: #339933;">+</span> obj.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;&amp;amp;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>obj.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">tagName</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;SELECT&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #003366; font-weight: bold;">var</span> sel <span style="color: #339933;">=</span> obj.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
getstr <span style="color: #339933;">+=</span> sel.<span style="color: #000066;">name</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;=&quot;</span> <span style="color: #339933;">+</span> sel.<span style="color: #660066;">options</span><span style="color: #009900;">&#91;</span>sel.<span style="color: #660066;">selectedIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;&amp;amp;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #009900;">&#125;</span>
makeRequest<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'process.php'</span><span style="color: #339933;">,</span> getstr<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;/</span>script<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;/</span>head<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>body<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>h2<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>AJAX GET FORM<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;/</span>h2<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>form action<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;javascript:get(document.getElementById('myform'));&quot;</span> <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;myform&quot;</span> id<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;myform&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>textarea cols<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;50&quot;</span> rows<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;5&quot;</span> id<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;links&quot;</span> <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;links&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;&amp;</span>lt<span style="color: #339933;">;/</span>textarea<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;&amp;</span>lt<span style="color: #339933;">;</span>br <span style="color: #339933;">/&amp;</span>gt<span style="color: #339933;">;&amp;</span>lt<span style="color: #339933;">;</span>br <span style="color: #339933;">/&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>input type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text&quot;</span> <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;myfield&quot;</span> value<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;teststring&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;&amp;</span>lt<span style="color: #339933;">;</span>br <span style="color: #339933;">/&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>input type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;radio&quot;</span> <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;myradio&quot;</span> value<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;0&quot;</span> checked<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #CC0000;">0</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>input type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;radio&quot;</span> <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;myradio&quot;</span> value<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;1&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #CC0000;">1</span><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>br <span style="color: #339933;">/&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>input type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;checkbox&quot;</span> <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;mycheck1&quot;</span> value<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;1&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #CC0000;">1</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>input type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;checkbox&quot;</span> <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;mycheck2&quot;</span> value<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;2&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #CC0000;">2</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>input type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;checkbox&quot;</span> <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;mycheck3&quot;</span> value<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;3&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #CC0000;">3</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>input type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;checkbox&quot;</span> <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;mycheck4&quot;</span> value<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;4&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #CC0000;">4</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>input type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;checkbox&quot;</span> <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;mycheck5&quot;</span> value<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;5&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #CC0000;">5</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>br <span style="color: #339933;">/&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>select <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;myselect&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>option value<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;1&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #CC0000;">1</span><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;/</span>option<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>option value<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;2&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #CC0000;">2</span><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;/</span>option<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>option value<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;3&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #CC0000;">3</span><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;/</span>option<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>option value<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;4&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #CC0000;">4</span><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;/</span>option<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;/</span>select<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>br <span style="color: #339933;">/&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>input type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;button&quot;</span> <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;button&quot;</span> value<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;Submit&quot;</span>
onclick<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;javascript:get(this.parentNode);&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>input type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;submit&quot;</span> <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;button&quot;</span> value<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;Normal Submit Button&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;/</span>form<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>br <span style="color: #339933;">/&amp;</span>gt<span style="color: #339933;">;&amp;</span>lt<span style="color: #339933;">;</span>br <span style="color: #339933;">/&amp;</span>gt<span style="color: #339933;">;</span>
Server<span style="color: #339933;">-</span>Response<span style="color: #339933;">:&amp;</span>lt<span style="color: #339933;">;</span>br <span style="color: #339933;">/&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>span <span style="color: #000066;">name</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;myspan&quot;</span> id<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;myspan&quot;</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;&amp;</span>lt<span style="color: #339933;">;/</span>span<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;/</span>body<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;/</span>html<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>And this is code for <strong>process.php</strong>.<br />
<</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p35code16'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3516"><td class="code" id="p35code16"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&gt;&amp;</span>lt<span style="color: #339933;">;</span>?php
&nbsp;
<a href="http://www.php.net/print_r"><span style="color: #990000;">print_r</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_GET</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>A simple php for printing all data sent. So change your form now using AJAX for more sophiscated.</p>
<blockquote><p><a title="AJAX Form POST/GET Code" href="http://rapidshare.com/files/142115588/AJAX_POST_GET.zip" target="_blank"><strong>Download Source Code</strong></a>.</p>
<p>Pass : blog.smileylover.com</p></blockquote>
<script type="text/javascript" class="owbutton" src="http://onlywire.com/btn/button_3793" title="AJAX POST GET Form With Multiple Checkbox, Radio, Select Option" url="http://blog.smileylover.com/ajax-with-checkbox/"></script>

<p>Related posts:<ol><li><a href='http://blog.smileylover.com/simple-ajax-captcha/' rel='bookmark' title='Permanent Link: Simple AJAX Captcha'>Simple AJAX Captcha</a></li>
<li><a href='http://blog.smileylover.com/wordpress-exchange-links-plugin/' rel='bookmark' title='Permanent Link: WordPress Exchange Links Plugin &#8211; AJAX Version'>WordPress Exchange Links Plugin &#8211; AJAX Version</a></li>
<li><a href='http://blog.smileylover.com/making-wordpress-exchange-links-without-plugins/' rel='bookmark' title='Permanent Link: Making WordPress Exchange Links Without Plugins'>Making WordPress Exchange Links Without Plugins</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.smileylover.com/ajax-with-checkbox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
