Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Include file from a different website

Status
Not open for further replies.

livezone

MIS
Jan 17, 2003
81
CA
Hi,

I want to include a file from a different web site.
e.g

contains page.asp

in my 2nd site, I want to include page.asp , How can I do that?

Thanks
Shafiq
 
well that's not technically true if the first site is yours and on the same server you can by using an include statement. IF you trying to rip off another persons code. You have to remember it's server side scripting you won't be able to.
 
To elaborate a little on what kisasama wrote:

Server side includes work off of disk drive paths, like having a program on your computer open a file somewhere else on your computer. If the file you wish to include isn't actually on a drive that's on the server, or a mapped drive the server has access to, you can't include the file.

Lee
 
Ok, Actually both servers belongs to us. What I did is, created an ftp job to run everyday to bring the updated copy of the file
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top