RESURSER

PHP INTEGRATION

 

PHP Integration

4D v12 lets you directly execute PHP 5.3 scripts within 4D, thanks to a provided PHP interpreter compiled in FastCGI.

(You may use other interpreters, providing they are compatible. See documentation for details.)

 

Go beyond Web scripting and add real functionality to your applications.

 

You get access to a wealth of utility libraries available via PHP, providing functions such as:

  •  ciphering and hashing (MD5)
  •  handling of HTML files
  •  image handling
  •  LDAP access
  •  COM access (for Microsoft Office documents)

 

and much, much more. A wide variety of PHP modules are available by default in 4D, and additional modules can also be easily installed.

 

You can even call functions that exist directly inside a script, without executing the whole script – a feature exclusive to 4D.

 

Furthermore, the open source PDO_4D driver allows PHP to access 4D databases via the PHP Data Objects interface. The driver can be downloaded from the PECL PHP extension repository, and is community supported via a dedicated Google Group. You can download and find information on submitting your own builds at sources.4D.com.
 

PHP Brightness

Image brightness & contrast
 (00:19)
Also available in Windows.
PHP Watermark

Placing watermarks on images
(00:20)
Also available in Mac OS.

 


 

 

More resources