PDA

View Full Version : PLease need HELP!!!


BennyS
1-10-02, 10:28 AM
I have finshed my complet Website offline, more then 500 Pages, the navigation is running over a PHP script:
.................................................. ...........
#!/usr/local/bin/php
<?php
if (!isset($site)) { $site = "main"; }
$site = "./".$site.".shtml";
include ($site);
?>
.................................................. ................
and then it opens up my shtml pages, the problem is, that they are filled with SSI scripts.......
So and when i start them direct, it works, but when they are redirected over the navigation script up, the SSI command, dont work....
HELP HELP

Thanx

BEnny

UnnDunn
1-13-02, 05:51 AM
You are going to have to find the PHP equivalents to whatever SSI commands you are using.

The reason being that the file extension has changed from '.shtml' to '.php'. It is now the PHP interpreter that is processing the file, not Apache.

Sorry man. That's probably not what you wanted to hear.

You could try putting the navigation in a separate frame and have it control a content frame. The navigation could be PHP, and the content SHTML, and it should work fine.