Quantcast
Channel: Dallas Clark - Web Developer, Facebook Developer, iPhone Developer, iPad Developer » script
Browsing all 12 articles
Browse latest View live

JavaScript: isDate() Function

If you're looking at how to test whether or not a date is valid, use this JavaScript function below to test your dates. Any recommendations, improvements etc are welcome. function isDate(year, month,...

View Article



Hide the paths to files on your server with PHP

If you want users to download files off your site but you don't want to expose the links of the files on the server, the script below in PHP is an excellent way to hide your files to your viewers....

View Article

Change the way your page prints with CSS

Sometimes your pages just aren't that pretty when you print them and these days users are printing a lot. Even with all the actions to try and limit printing, we're still increasing our printing by...

View Article

PHP Error Control

I use this script quite frequently now on PHP projects for simple error reports straight to my email account. Your clients are well pleased when you have the bug/error fixed before they report it to...

View Article

A common security mistake

This is one of the most common mistakes developers (of any language) make so I thought I should let you know why you shouldn't use this method. The Scenario: You have a page on your site and you don't...

View Article


Update your web site public directory with SVN

User Level: Intermediate This article assumes that you already have the following installed and working:- * Linux * Subversion (SVN) * A SVN Repository * GCC (To compile your C scripts) * Vi (or...

View Article

Image may be NSFW.
Clik here to view.

PHP Script: Create a Photo Gallery with Thumbnails and Resized Images

If you want to create an easy photo gallery, this script will allow you to resize images on the fly. It has a few pros and cons that you should be aware of before you start using it. Pros * Simple and...

View Article

Simple Folder Creator with PHP

This script will detect if a folder exists as well as create the directories if the folder doesn't exist.   mk_dir_recursive('the/directory/you/want/to/create'); function mk_dir_recursive($folder_name)...

View Article


Preventing SPAM Bots Sending Mail Through Your Website (Non-Intrusive Way)

You can find a lot of ways to prevent spam from your site these days but I've really tested this method and it has been 100% effective (so far). It will stop automatic bots but a human will be able to...

View Article


Selecting an option with JavaScript

Normally you would select an option with a server-side script like PHP which is a lot faster and doesn't require the client's browser to do the work. But on the rare occasion where you need to set an...

View Article

Very Simple Regular Expressions (Starting with Numbers)

If you want to validate strings, text, or whatever it may be, validating with Regular Expression is an easy way to determine that the data is valid. Whether it's an application or a web-site, you can...

View Article

Getting Permalinks Working in WordPress on IIS

This is a frequent question for most IIS users on how to get permalinks to work in WordPress, it's fairly simple really once you know how of course. So the problems are, you're using IIS so using...

View Article
Browsing all 12 articles
Browse latest View live




Latest Images