Welcome to WebmasterWorld Guest from 54.224.17.208

Forum Moderators: open

Message Too Old, No Replies

Page includes not working

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

10+ Year Member



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)

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



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)

10+ Year Member



Thanks.

I will try to research SSI - hope it works.

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

WebmasterWorld Senior Member 10+ Year Member



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)

10+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



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)

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



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]

 

Featured Threads

Hot Threads This Week

Hot Threads This Month