Difference: CpanelPhp (5 vs. 6)

Revision 619 Feb 2011 - Main.JustinSchaefer

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Using PHP in the cPanel Interface

Changed:
<
<
cPanel allows for additional pages to be written in PHP rather than straight HTML. This provides full access to our APIs via our API tags.
>
>
cPanel allows for additional pages to be written in PHP rather than straight HTML. This provides full access to our APIs via our API tags.
 

Usage

Line: 16 to 16
  ALERT! Warning: Placing the script outside of this directory will cause the source code to be exposed.
Changed:
<
<
cPanel tags are still available by using <cpanel> and <?cp> tags. These tags can be executed before or after the PHP script. The order of execution is determined by the file extension used:
>
>
cPanel tags are still available by using <cpanel> and <?cp> tags. These tags can be executed before or after the PHP script. The order of execution is determined by the file extension used:
 
  • .php — Executes cPanel tags before the PHP code
  • .cpphp — Executes cPanel tags before the PHP code