well since trying to make my own module seems more complicated then i thought, i figure i'll just make pages. so i took the blank.php file and put that in a subfolder called "specs" and i have the following in my blank.php
<?php
include '../includes/pnAPI.php';
pnInit();
include '../includes/legacy.php';
// eugenio themeover 20020413
// pnThemeLoad();
define [20]("LOADED_AS_MODULE","1");
# includes the mainfile functions and the header junk
if (!isset [21]($mainfile)) { include("../mainfile.php"); }
include("../header.php");
?>
i put in ../ now i remember that was back linking in
HTML but is it the samein
PHP?
i'm getting the following error
Fatal error: Call to undefined function: pninit() in /sitepost/specs/blank.php on line 3
line 3s pnInit();
should i link it directly with the whole http://web.address.com/sitepost instead of the ../ ?