Click to See Complete Forum and Search --> : --#include file=""-- Script Help?


Gibson98
08-07-2006, 09:05 AM
Hi,

I'm having a problem with my scripts :rolleyes:

What i am trying to do is intergrate my page1.asp code into a WYSWIG editor i have designed (mixture of mainly ASP and a it of JAVASCRIPT)

I have taken the code from page1.asp and placed it into my WYSWIG editor which in turn places it into an SQL database. When i go to view the new updated page it doesn't display anything...No errors nothing.

So i think its down to the <--#include File="connect.asp"--> The trouble is the connect.asp page is no longer in same folder as the Page1.asp page and on a different server than the SQL database :(

Is there away i can link to this page using direct paths or some special code etc?

Many thanks

Joe

silverbullet24
08-07-2006, 06:43 PM
<--#include File="../newdirectory/connect.asp"-->

just put in the relative path to the file. ".." means to go up one directory

sleven
08-07-2006, 08:35 PM
what is "WYSWIG editor" ? :D