Getting server side include to work

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Getting server side include to work

Postby igraffman » 17. July 2007 01:30

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!
igraffman
 
Posts: 2
Joined: 17. July 2007 01:25

Postby delftdamage » 17. July 2007 08:31

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.
delftdamage
 
Posts: 30
Joined: 15. June 2007 23:56

Postby igraffman » 18. July 2007 00:36

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.
igraffman
 
Posts: 2
Joined: 17. July 2007 01:25

Postby delftdamage » 18. July 2007 07:02

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 ?
delftdamage
 
Posts: 30
Joined: 15. June 2007 23:56


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 134 guests