News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SSI related question

Started by J. S., September 22, 2004, 05:08:38 AM

Previous topic - Next topic

J. S.

To use SSI.php in your page add at the very top of your page before the <html> tag on line 1:

<?php require("/home/site/public_html/SSI.php"); ?>

How can i let ppls to put SSI on other site? If i put a url in that php require the script is not working. What can i do?

If i put <?php require("http://www.mysite.com/SSI.php"); ?> the script is not working.

[Unknown]

You cannot use SSI across sites unless you use the shtml version... like this:

<?php require('http://www.mysite.com/SSI.php?ssi_function=boardNews'); ?>

Remember that if you access something by URL, Apache sends it through PHP.

-[Unknown]


roboter88

Are you sure you have Shtml? (secure html)

https:// ....?



[Unknown]

Quote from: roboter88 on September 23, 2004, 08:30:43 AM
Are you sure you have Shtml? (secure html)

https:// ....?

Are you smoking something :P?  It's server-side, not secure.

-[Unknown]

roboter88

#6
 8)

ow i thought "shtml" has todo with "https" -  :-)

thanks for the clearness and sry for bothering at least i learned something, yeah :-)

cheers

Advertisement: