Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
An SHTML problem.
#1
On QBColony, I'm trying to get my SHTML file to include a php file, but even though the filename is definitely correct, it gives me a "[Error processing this directive]" error.

Code:
<html>
<body VALIGN="TOP"><font color="FFFFFF">

<!--#include virtual=Testcook.php

</body>
</html>


Look at it yourself at QBColony

EDIT:Well, actually, my ftp client is having problems and won't let me upload back to how I had it before where it had an obvious problem, but yeah, over to the right of the page, it says "[Error processing this directive]"
Reply
#2
that only works with perl cgi. but it's not a problem, because php is integrated. you include the html in the php file, and use <?php tags to insert bits and peices of code.
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#3
GOOD LORD, now I have to go through every page and rename each page to include sidemenu2.php... GWAH!

EDIT: WHOAH!!! Just caught myself!!! Smile

Well, if I can't include the sidemenu as a php file, how do I get a php script on that menu?
Reply
#4
can't you insert it like you insert javascript?

:

<script language="PHP" src="bla.php"></script>

Not sure if the last </script> is necessary.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#5
Not working...
Reply
#6
Code:
<?php
include ("filename");
?>
B 4 EVER
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)