jjj0923
03-29-2002, 09:43 PM
I have a template that display my top nav bar (home, register, etc). Inside the template (below the nav bar) I want to call and display my photopost/index.pl
How do I do this?
I know my link that gets the entire process fired off must href to a .php file and I have created a .php that does the following
<?php
error_reporting(7);
$templatesused="photogallery";
require('./global.php');
if ($bbuserinfo['userid']!=0) {
eval("dooutput(\"".gettemplate('photogallery')."\");");
header("Location: http://www.xxx.info/photopost/index.pl");
} else {
eval("dooutput(\"".show_nopermission()."\");");
}
?>
I can get the template to display, but it seems as though the code will not execute the call to display the index.pl
what am I doing wrong?
thanks!
- jeff
How do I do this?
I know my link that gets the entire process fired off must href to a .php file and I have created a .php that does the following
<?php
error_reporting(7);
$templatesused="photogallery";
require('./global.php');
if ($bbuserinfo['userid']!=0) {
eval("dooutput(\"".gettemplate('photogallery')."\");");
header("Location: http://www.xxx.info/photopost/index.pl");
} else {
eval("dooutput(\"".show_nopermission()."\");");
}
?>
I can get the template to display, but it seems as though the code will not execute the call to display the index.pl
what am I doing wrong?
thanks!
- jeff