Try using file_get_contents <http://www.php.net/file_get_contents> ()

I have used is successfully.

 

Lenny

www.indie-empire.net

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Brandonisio
Sent: Tuesday, October 24, 2006 4:41 AM
To: [email protected]
Subject: Re: [php-list] Quick PHP include question

 

Hi,

Look at cURL. You can load the page into a variable then echo it out 
in the body in an iframe or frame.

Sincerely,
Mike
-- 
Mike Brandonisio * Web Hosting
Tech One Illustration * Internet Marketing
tel (630) 759-9283 * e-Commerce
[EMAIL PROTECTED] <mailto:mbrando%40jikometrix.net>  *
http://www.jikometrix.net <http://www.jikometrix.net> 

JIKOmetrix - Reliable web hosting

On Oct 23, 2006, at 1:31 PM, 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 <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
>
>
>
>
>
> Community email addresses:
> Post message: [email protected]
<mailto:php-list%40yahoogroups.com> 
> Subscribe: [EMAIL PROTECTED]
<mailto:php-list-subscribe%40yahoogroups.com> 
> Unsubscribe: [EMAIL PROTECTED]
<mailto:php-list-unsubscribe%40yahoogroups.com> 
> List owner: [EMAIL PROTECTED]
<mailto:php-list-owner%40yahoogroups.com> 
>
> Shortcut URL to this page:
> http://groups.yahoo.com/group/php-list
<http://groups.yahoo.com/group/php-list> 
> Yahoo! Groups Links
>
>
>
>

 



[Non-text portions of this message have been removed]



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/
 

Reply via email to