PHP Settings

General Options

 

Add shell call (For Unix-based server only) If you put the PHP parser binary somewhere outside of the web tree of files, for example, in /usr/local/bin, you will have to put a line similar to: #!/usr/local/bin/php as the first line of any file containing PHP tags. (You will also need to make the file executable.)
Set locale Set locale information. PHP Report Maker uses LC_ALL and localeconv(). localeconc() is for PHP 4 >= 4.0.5 only. For pre-4.0.5 versions, PHP Report Maker generated codes use the constants defined in phpmkrfn.php which you can find in the template and customize it to suit your needs.
No Cache Whether caching is required on browser
Replace CR+LF by <br> For memo (TEXT, MEDIUMTEXT, LONGTEXT) fields
Use mysqli extension

Use mysqli extension instead of MySQL functions.

Notes:

  1. The mysqli extension is designed to work with PHP 5 and MySQL 4.1.3 or above,
  2. Both mysql and mysqli extension are not installed by PHP 5 by default. (See Introduction to PHP and MySQL)
Default Date Format yyyy/mm/dd, mm/dd/yyyy, dd/mm/yyyy,
yyyy-mm-dd, mm-dd-yyyy, dd-mm-yyyy,
yyyy.mm.dd, mm.dd.yyyy, dd.mm.yyyy

 

Report Page Options (Global)

The following list page options are global for all tables. If you want different settings for a particular table, you can use table-specific options available in the Table Setup page.

Records per page Number of records to be displayed on the list page of all tables. If blank or 0, default setting of 20 will be used.
Selectable page sizes Number of records to be selected by user. Comma separated values, e.g. 10,20,50,ALL.
Note: "ALL" (without quotes) is supported, other values must be integers.
Paging section style "NumericPages" or "NextPrev"
Paging section at top Show the paging section at top instead of bottom
Links on left side Show the links on the left instead of right
Export

Records can export to HTML, Excel or Word format. HTML format can be used as a printer friendly version.

Known Internet Explorer issue:
For known MIME (Multipurpose Internet Mail Extensions) types such as Microsoft Word ("application/ms-word"), the default behavior of some older versions of Internet Explorer is to open the document in the browser. Also, to allow user saving the file with a proper file extension (otherwise the file extension will be your output file extension, e.g. .php), PHP Report Maker uses content-disposition header to override this behavior by default. For example:
Response.AddHeader "content-disposition","attachment; filename=fname.ext"
When Internet Explorer receives the header, it raises a File Download dialog box. However, if user clicks [Open], Internet Explorer may fail to open the file. Therefore, you may want to instruct user to save the file directly to the user's disk without opening it in the browser.

 

 

 

 ©2007-2008 e.World Technology Ltd. All rights reserved.