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
Print Friendly

Site last updated November 3, 2020 @ 7:50 pm; This content last updated September 25, 2014 @ 7:30 am