Page 1 of 1

Getting server side include to work

PostPosted: 17. July 2007 01:30
by igraffman
Hello,

Successfully installed everything! Status panel shows Server Side
Includes activated, but code that works on another server does
not work on my PC. What else (if anything) do I need to do to
get it working?

Thank you!

PostPosted: 17. July 2007 08:31
by delftdamage
I think it's not possible to include php scripts from other servers because it's a big security risk.

Everybody can include your scripts then, output the code and search for exploits etc.

PostPosted: 18. July 2007 00:36
by igraffman
Understand. But the text for the server side include (which is html and not php) resides on a folder on my PC and not on an external machine.

PostPosted: 18. July 2007 07:02
by delftdamage
Maybe a stupid question but,

Have you placed this file in the c:/program files/xampp/htdocs folder?
Can you open/browse it directly using http://localhost/page.html ?