PDA

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


eva2000
18 Apr 2001, 09:38
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
18 Apr 2001, 12:22
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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

Sean
18 Apr 2001, 12:46
Can you paste the code for that options.php file? :)

eva2000
18 Apr 2001, 14:37
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
18 Apr 2001, 14:39
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
18 Apr 2001, 14:44
hmm, does it work if you copy the file to the same directory?

kaeros
18 Apr 2001, 15:26
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.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

doron
18 Apr 2001, 16:45
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
18 Apr 2001, 20:39
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
18 Apr 2001, 23:23
eva2000 Thanks for the code



PLEASE HELP
Warning: on line 3
:confused: