Quote:
Originally Posted by chadi
I'm having a hard time creating a php page.
My have a bible script installed called Bible Supersearch. The main php page (index) is this:
Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<?php
require_once("bible/bible/bible_config.php");
require_once("bible/bible/bible_system.php");
$interface=$_GET['interface'];
// set the interface to use
if($interface==""){$interface=$default_interface;}
if($interface=="standard"){$interface=$standard_interface;}
// manually set interface
// $interface="standard";
require_once("bible/bible/interfaces/$interface.php");
?>
I get a blank page when I use this in the phptest template. The path tot he "require_once" commands are correct too. The phptest template is parsed as php by default of course.
|
You have to put the <?PHP line at the VERY top with no space before, and the ?> has to have NO whitespace after