Perhaps you need to name the actual file to be included.
Have you tried
><?php
>include("http://www.google.com/index.php");
>?>
Also, I wonder if this is legal. Some folks are pretty picky about others just
up and using their code without a license...
-- Emily
At 06:31 PM 10/23/2006 +0000, xercist_t2 wrote:
>I am trying to use the php include code to load an external webpage
>inside my own for things like an external message board and what not.
>I am familiar with the php include script since I use them to include
>header/menu files and what not but I cant seem to get it to work with
>an external page. This is an example I am trying to use (using google
>as the example web page):
>
><?
>include("http://www.google.com");
>?>
>
>is there any modifications to this code or another method I can look
>at for doing this without having to resort to using frames?? Thx
Emily Berk
http://www.armadillosoft.com
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/php-list/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/