Category: "PHP"

PHP session management and temporary file cleanup

By default, PHP manages sessions during requests. This simplifies installation, because no cron job is required. To allow performance tuning, several configuration settings are allowed to adjust the frequency of the session cleanup checking and executi… more »

dojo Form Demo

This is a very simple demonstration of a dojo form. Please use 'View Source' to view the code. Supporting server-side PHP. json.php Returns the submitted input. Demonstrates a 'successful' transaction. <?php header('Content-type: applic… more »

PHP and javascript timestamper

This is an extension of an earlier script to demonstrate the difference in execution time of preg_replace and trim. The objective of this demonstration is to show a quick time check method to determine the following: Time required for PHP to pr… more »

Risks of Web-Based Application Management

Many web applications can be configured through the application. This is extremely valuable, especially for users that don't have SSH access and don't want to use FTP. The danger is that in order for web access to work, the web server must have write p… more »

dojo - Smarty - PHP - Synchronizing client- and server-side validation

The following architecture with Smarty and dojo allows you to the client and server synchronized for validation for RIA/PHP applications. Each input has 4 characteristics defined in a (PHP) .ini file - V_input_name = regExp (usually includes lengt… more »