Welcome to WebmasterWorld Guest from 107.20.75.63

Forum Moderators: open

Message Too Old, No Replies

Page includes not working

     
7:02 pm on Mar 7, 2006 (gmt 0)

Full Member

10+ Year Member

joined:Jan 27, 2004
posts:230
votes: 0


I want to include another of my own webpages inside another page on my site. The page is located on my server and not on myharddrive.

The following code doesn't seem to work?

<!--webbot bot="Include" U-Include="http://mysite.com/vbpro/htdocs/guestbook/entries.html" TAG="BODY" -->

All I can see on the page is:-
[http://mysite.com/vbpro/htdocs/guestbook/entries.html]

If I try to use <!--webbot bot="Include" U-Include="..vbpro/htdocs/guestbook/entries.html" TAG="BODY" -->

I get the message
"The Front Page include component only works on files in the current web. Please select a page to include from the current web."

Is there any way round this using FP2002?

1:50 am on Mar 9, 2006 (gmt 0)

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
posts:14480
votes: 49


To the best of my knowledge FP Includes only work within the same web. If you need an include from another site then take a look at SSH, PHP or iFrame methods of including this content.
6:10 am on Mar 9, 2006 (gmt 0)

Full Member

10+ Year Member

joined:Jan 27, 2004
posts:230
votes: 0


Thanks.

I will try to research SSI - hope it works.

8:40 am on Mar 9, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 26, 2004
posts:1392
votes: 0


You cannot include pages or content from another site, it has to be in the same web, as FP actually adds it to the including page as it is published.
6:55 pm on Mar 9, 2006 (gmt 0)

Full Member

10+ Year Member

joined:Jan 27, 2004
posts:230
votes: 0


You cannot include pages or content from another site

I have recently headrd that PHP will allow you to include pages from a different web?
12:48 am on Mar 10, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 26, 2004
posts:1392
votes: 0


The page is located on my server and not on myharddrive...

My question is, why is that file not on your hard drive?

1:54 am on Mar 10, 2006 (gmt 0)

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
posts:14480
votes: 49


I have recently headrd that PHP will allow you to include pages from a different web?

Yes. You might find some good ideas searching WebmasterWorld for: PHP include [google.com]