PHP Include on Page
First, I created a new page template…named it cams.php.
and within the <div class=posts>
<?php include(‘cams/index.php’); ?>
*cams/ directory is in the root directory of the website*
Second, I created a page that used that template…and did not type anyting in the page text area….
Third, I called the page….and well…..it gives me an fopen error when i know that the file exists because I can open up the directory and use the script fine. 🙁
This is the script.
and this is the page i’m using to include the script.
- The topic ‘PHP Include on Page’ is closed to new replies.