Choose your database:
MS SQL Server
SQL Anywhere

Subscribe to our news:
Dave Lantz: "I have to say that I simple love this product and its ease of use. I know that I have only tapped into about 20% of what it can do. In my business I come into a lot of contact with developers and I tell them all, that if they need an easy way to connect, report or work their databases they MUST check out your products".
David Lantz: "Thank you, this is by far the simplest, and most friendly utility for building db record system I have ever used. I wish I could get my systems guys at the office to purchase this for our company would be so very helpful and speed up a lot of work. I for one have used it for everything from a simple inventory record of my house, to a members record for my church just little pet projects and a test bed to test my own db builds and theories before having to hand code at the office..... it is a lot of fun to work with".


Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next


This event allows you to control file uploading. It fires on uploading a file with Upload file to folder and Upload image to folder editors.



function OnFileUpload($fieldName, &$result, &$accept, $originalFileName,
                       $originalFileExtension, $fileSize, $tempFileName)




The name of currently processed column.


The associative array of values that corresponds to the currently processed row.


The actual file name (with full path). Change the value of this parameter to customize the filename.


Indicates whether the file uploading is allowed. Default value is true. Set $accept to false to cancel file uploading.


The original file name (including extension)


The original file extension


The file size


The temporary filename of the file in which the uploaded file was stored on the server.



This example shows how to add current date and time to the uploaded filename.


if ($fieldName === 'filename') {

    $newFileName = date('Y-m-d_H-i-s') . "_" . $originalFileName;

    $result = str_replace($originalFileName, $newFileName, $result);


Prev Return to chapter overview Next