Displaying all Posts in All Categories

Resources » Tips And Tricks

Free Code: ReCaptcha Form Validation With PHP

A friend of mine asked me for a quick and simple way to add ReCaptcha to a contact form on her site. For demonstration purposes, I created a form from scratch and tossed ReCaptcha's PHP API onto it. » Read This Article

Stop Cron Jobs From Automatically Sending You Emails

If you use a lot of cron jobs like I do, you tend to have some that you would like automatically sent over, and some you want to just let run without ever sending you an email and clogging your inbox. This line can be added to the end of your cron job command to stop the command from sending an email out and off to you: » Read This Article

.htaccess Trick: Redirect www Visitors To Your Non-www Site

If you want to completely remove the www. from your domain name when visitors visit your website, place the following code snippet into your .htaccess file. » Read This Article

How To Convert A Video To An FLV And Create A Flash Player For It Using Flash and Adobe Media Encoder

Student requested this one - he has a movie file ( .avi ) that he wants to upload to his website with controls and a player for his visitors to be able to watch. » Read This Article

Fix YouTube iFrame Overlay and Z-Index Issues

YouTube's new iFrame player is a nice refresh to the old embed method, but if you are placing it on pages with content that overlaps or overlays on each other or uses things like lightbox, you may notice that the videos appear on top of content. » Read This Article

Disabling The Link On YouTube's Embedded Video Player

Sometimes you might want to prevent your users from clicking through a YouTube video away from your site. This code snippet will stop that from happening. » Read This Article

Forcing File Downloads With htaccess

I was asked how we could force a user to 'download' a file without using php to alter the header. This htaccess script will force users to DOWNLOAD anything a folder, rather than viewing it in their browser. Really useful when you want to do things like music downloads, image donwloads, etc. » Read This Article

Reset Primary Key (ID) In Database

I've been asked this numerous times, so I decided to post it. If you are databasing and find yourself either clearing your table, or moving a databased program from site to site, you may notice that clearing the table out does not reset the PRIMARY ID number. Execute this SQL to reset that number. » Read This Article

Browse By Category

  • All Posts

  • Fatal error: Call to a member function getInfo() on a non-object in /home/mmd/public_html/support/includes/functions.php on line 894