cialis online pharmacy generic xenical cheap cialis online cialis generic viagra online in canada buy cheap levitra online cialis without a perscription order viagra uk no prescription flagyl cheap generic levitra buying viagra in the uk cheap viagra approved cialis deltasone online buy viagra online without prescription non prescription cialis buy orlistat uk buy cialis in india prednisone 60 mg female viagra online buy viagra without prescription celebrex prescriptions buy cialis canada best prices viagra alternative to prednisone cheapest generic levitra levitra 5mg cheap viagra cialis on line buy xenical without prescription online accutane canadian health care prednisone no prescreption viagra online generic female viagra europe buy cialis low price cheap india viagra

Redirecting Users To Bypass WordPress Dashboard

Once you’ve finished developing a site in WordPress, a sub-domain or a staging server, there will come a point in time wherein you have to migrate it to a live URL and sync the database.  This can be such a tedious task, especially if you’re using plugins that don’t store data in the database. With […]

Continue Reading →

Twitter Feed Reader Using PHP

Here’s a simple PHP snippet that I’m sure some of you might find pretty handy: it’s a Twitter feed reader! Copy the code below and simply replace all the necessary info with the proper Twitter user handle, run it, and then let it do its magic. The reader takes a username, load the user’s feed, […]

Continue Reading →

Logout Idle/Inactive Users Using PHP

Today’s tutorial comes in the form of a PHP snippet that will automatically sign out  idle or inactive  users on your site. Three functions are involved to complete the inactive session task: A function to check if the user is actually logged in using the isLogged function. A function to check the time the page […]

Continue Reading →

Limit Download Speed Using PHP

Today’s featured PHP snippet is from Jonas John and it’s a simple and helpful solution for controlling a file’s download rate. This is very beneficial for those who have limited bandwidth. The code is still a bit rough around the edges and could use a bit more polishing. Like for one, the execution time doesn’t […]

Continue Reading →

How to Censor Words Using PHP

Here’s a pretty neat and simple PHP snippet from PHPSnips that offers you a way to censor any word and then replace it with another word or string. Just provide a list of words you want censored out and let the code do the rest. This is definitely useful for BBS or forum sites, chat […]

Continue Reading →

Add A Full Image Background To Your WordPress Login Screen

There are tutorials out there that teach you how you can have your own custom image logo in your WordPress login page but do you also know that you can do the same to your login page’s background? Adam Wadsworth of CatsWhoCode has put up together this nice snippet that will allow you to do […]

Continue Reading →

Non-Recursively Deleting A Folder In PHP

In PHP, you can’t just delete a folder using rmdir unless the folder’s empty. You can, however, do so using rmdirr function, wherein it will remove both the folder and its contents recursively. But using this [recursive] method opens up the possibility for PHP to segfault/crash, specifically and especially if you have deeply nested directories […]

Continue Reading →

2 Ways To Improve Your WordPress Search Page

Here are a couple of PHP snippets that you might want to incorporate in to your WordPress search file to improve your site’s search results page. The first one will display the number of results found, whereas the second will basically highlight the search terms used within the contents of the results. Image source To […]

Continue Reading →

Twitter Nicks Format

Here’s a great PHP snippet that scans text and then searches for strings with an “@” symbol attached to it (i.e. Twitter handles like “@name”) and then converts them into linked text format. So basically it’s emulating what Twitter does with “@” symbols and “#” hashtags. <?php /** parseTwitterNicks * * convert text with format […]

Continue Reading →

Put A Watermark On Top Of An Image Using PHP

Why put up with manually embedding watermarks on your images when you can have it done for you automatically using JavaScript, or in this case, PHP? This PHP snippet will make use of a image file (PNG) that you’ll create and supply, and place it on top of the photo you want watermarked at a […]

Continue Reading →