PDA

View Full Version : online.php SSI in a .shtml file ?


eva2000
04-18-2001, 08:38 AM
I have this online.php file at http://animeboards.com/online.php

which i want to be SSIed into my other site on the same server, http://www.eva2000.com/

how would i do that ?

doron
04-18-2001, 11:22 AM
<!--#include virtual=""-->



You probably know that. Are your websites in /www/ or how? I think you can simply link to /foo/bar/websitename/online.php.

Sean
04-18-2001, 11:46 AM
Can you paste the code for that options.php file? :)

eva2000
04-18-2001, 01:37 PM
i tried it with the include virtual command and also file with /home/user/html/online.php but it just gives the typical error when an SSI doesn't work i included it into a .shtml file

eva2000
04-18-2001, 01:39 PM
Originally posted by Sean
Can you paste the code for that options.php file? :) you mean online.php file :)

here's a online.txt file which you can rename to .php later

doron
04-18-2001, 01:44 PM
hmm, does it work if you copy the file to the same directory?

kaeros
04-18-2001, 02:26 PM
Are animeboards.com and eva2000.com both on the same machine?

Guess not, they have different IP's :(

Well, about the best thing I can think of then is to use an iframe.


<iframe src="http://animeboards.com/online.php" border="0" width="##" height="##" scrolling="no"></iframe>

doron
04-18-2001, 03:45 PM
Originally posted by kaeros
Are animeboards.com and eva2000.com both on the same machine?

Guess not, they have different IP's :(


um, they are, he says so himself. different IP does not equal different server

Sean
04-18-2001, 07:39 PM
Oops, yeah, I meant online. ;) Thanks for the code.

PS: You should be able to include any file off your server, but you need to know the path...

bokhalifa
04-18-2001, 10:23 PM
eva2000 Thanks for the code



PLEASE HELP
Warning: on line 3
:confused: