PHP test

Method #1

this is a test

This page tests the PHP include capability using exec-php. The red text above is in the file _test_include.php and included using
<?php include (“ccf-includes/_test_include.php”); ?>

The full content of that file is:

<h1 style=”color:red;font-size:50pt”>this is a test</h1>


The rules are apparently

  1. The included file MUST reside within a subfolder of wp-content/plugins/exec-php/includes/ for the test path above to work.
  2. relative addressing will not work
    By Connemara coding conventions

  1. Included filenames always start with “_”
  2. All connemara-related include files are in the folder ccf-includes so that the full file-path for editing purposes is
    root/wordpress/wp-content/plugins/exec-php/includes/ccf-includes/_your-include-filename.php
Print Friendly

Site last updated December 7, 2018 @ 12:57 pm; This content last updated September 25, 2014 @ 7:30 am