Tag: scripts

Characters Remaining Function for Forms

JavaScript Script to Count Remaining Characters
Sometimes you need to limit the amount of characters allowed in a textarea, but the other day, I needed to go one step further and display the amount of characters left in real time as the user writes inside the form. This makes your website very interactive and the […]

Popularity: 3%


Image Cache with cURL and fopen

Image Caching Function Script with cURL
I am building a website that pulls images from another website and needs to cache them locally. I needed a script that will allow me to reference an image living on an external website via a function that will cache the image locally and rewrite the image source to […]

Popularity: 4%


JavaScript Countdown Clock Script

JS Count Down Timer Code for your Website
I needed a JavaScript counter for a website that counts down to a time, can be configured to a target date, and has lots of customizations like display format, foreground and background colors, etc. I found a pretty good script somewhere online but I needed the counter […]

Popularity: 9%


Auto-populating Select Boxes with AJAX and MYSQL

Chained Select Boxes Connected to a Database
I am currently working on feature for a website that requires browsing throught the database with select boxes. Ebay uses select boxes for categorization (see image below) and this is pretty much what I need. Naturally, I browsed the internet for some scripts that would provide such […]

Popularity: 35%


Pull Information from Websites with PHP

Screen Scrape Data from a Website with CURL
Lots of popular websites on the Internet let you export their data using XML format. If you want to pull your favorite pictures from Flickr automatically you can just use an RSS feed. But, what happens when you want to pull data from a website that […]

Popularity: 12%


Pulling Data From Database

Retrieving Data from MySQL DataBase with PHP
A ton of websites use PHP and MySQL for web development and most of the time they are built around some Content Management System that handles database interaction. However, if you are interested in learning how to simply interact with the database using php, then I will provide […]

Popularity: 12%