Explore the Articles

Server Side

Set LocalID to UK

This small piece of code is used to set the locality ID to UK to ensure dates and other regional data is set correctly. produces dates as dd/mm/yyyy if you enter Now() or Date() Read More
Server Side

Dynamically redirect your Login page

This Tutorial enables you to use 1 login page for sites with areas restricted to certain users.

By using a column in your database, and a small piece of coding to add to the login script, you can move your users dynamically to the appropriate folder for their access level.

Read More
Server Side

Display Records until a Certain date

This short tutorial will show you how to use a quick WHERE statement to filter your records so it only shows whilst the date column in the table is either greater or equal to the current day. Read More
Server Side

XMLHttpRequest and AJAX for PHP programmers

Although the concept isn't entirely new, XMLHttpRequest technology is implemented on more sites now than ever. Compatibility is no longer an issue (IE, Mozilla and Opera all support it), and the benefits to using it are amazing. There are too many PHP programmers avoiding any work with javascript beyond simple form validation, and for good reason. It's difficult to keep several languages proficiently under your belt. But using the XMLHttpRequest object is not as hard as everybody thinks, and you don't need to buy and memorize another reference manual.

Asynchronous JavaScript and XML, or AJAX is a method of sending and receiving data (usually XML) from a server-side application through javascript. Since javascript offers the ability to change the contents of a web page on-the-fly, this technique allows web programmers to venture closer to programming truly interactive web applications similar to those built with Java and ActiveX.

Read More
Server Side

Maintaining Database Content with PHP, Contribute 3, and Dreamweaver MX 2004

Macromedia Contribute 3 along with Contribute Publishing Services (CPS) are starting to prove to be a very useful pair of applications. The Contribute workflow is simple: You browse to the web page you want to edit, edit the web page, and then publish it. CPS compliments your workflow with some features that you would expect to only find with a content management system – user management, logging of changes, etc. But one of its limitations is with web sites that have content in a database.

Read More
Server Side

PHP Output Buffering

Output buffering is a powerful tool in PHP which allows you to buffer a script's output. You can then edit this buffer before returning it to the client.

This tutorial will procede first by enumerating the functions used in output buffering with a brief explanation of each. Then we will examine how these functions are utililized. We will conclude with three brief examples of scenerios where one might use output buffering. Without further ado then, we will procede to...

Read More
Server Side

PHP - Validate Your Input

The previous blog post about MySQL and PostgreSQL ignited a discussion about validation of input in a database-driven web application. In this entry, [I'll] attempt to explain what validation is and why it is important.

Read More
Server Side

Sarge on Security in CFMX 7

Sarge's presentation on Security Changes in ColdFusion MX 7 was recorded in Breeze and is available.

Sheldon Sargent of Macromedia Server Support, better known as Sarge, is co-author of Hack Proofing ColdFusion, available on Amazon and Advanced ColdFusion MX 7 Application Development.

This event was sponsored by the AZCFUG in cooperation with the Online ColdFusion Meetup Group

Read More
Server Side

A Quick and Dirty Introduction to OOP with PHP

Most PHP programs are written in the traditional style (old school) of programming. You create functions to manipulate different pieces of data, and you call those functions during the "main" execution phase of your program.

PHP also offers object-oriented programming (OOP), which is now the preferred method of creating large programs. Java and C++ are object-oriented programming languages. OOP takes data and treats it like a "think."

Read More
Server Side

Object Interaction in PHP: Introduction to Aggregation, part 1

Aggregation in PHP allows one object to use another object. It's a very powerful concept. This article, the first in the series, serves as an introduction to some of the things you can do with aggregation.

Read More
Newer articles Older articles