Protect your website bandwidth from other websites that tries to hotlink your images. Very simply you can prevent this using a .htaccess file in your images directory and add the following code This is really a simple approach RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://(.+\.)?yoursitename\.com/ [NC] RewriteCond... (Continue reading)
A simple message ticker in which each message is associated with a unique URL, and clicking the button will take the surfer to a different URL. <form name="slideshow"><div align="center"><center><p><b> Update</b><br /><textarea rows="5" name="S1" cols="30" wrap="virtual" readonly style="border-style:... (Continue reading)
I logged into vista today on my laptop it booted up fine and the login screen was fine. I logged in and instead of the Desktop there was just my documents folder was open. I can assess every thing on... (Continue reading)
How would you differentiate if the call save() was to save a blogs or save comments? The solution was to use blog_save() or comment_save() before the introduction of classes in which we could write the save() function within the Blog... (Continue reading)
Here is a simple script for creating calendar on webpages <script LANGUAGE="JavaScript"> //Code from Mistonline.in <!-- Begin monthnames = new Array( "January", "Februrary", "March", "April", "May", "June", "July", "August", "September", "October", "November", "Decemeber"); var linkcount=0; function addlink(month, day, href) { var entry = new Array(3); entry[0] = month; entry[1] = day; entry[2] = href; this[linkcount++] = entry; } Array.prototype.addlink = addlink; linkdays = new Array(); monthdays =... (Continue reading)