You are here: Re: 'include' question « PHP Language « IT news, forums, messages
Re: 'include' question

Posted by Ric on 12/15/06 20:40

Marnok.com schrieb:
> "Ric" <antispam@randometry.com> wrote in message
> news:eluuuv$qj6$1@online.de...
>> Marnok.com schrieb:
>>> Hi
>>>
>>> I am trying to include a file from another site in my page. The other
>>> page
>> what do you mean by another site?
>>
>>
>> A site from a different domain or a different server, give more details.
>>
>
>
> A different domain, on a different server.
>
>
In that case this is not to easy, a possible solution would be to
download the page with php write it to a file and include it in an iframe:

<iframe scrolling="no" frameborder="0" src="localfile.html" "
width="100%" height="100%">

iframes cannot include sites from another domain(would be a security
risk), that's why you need to download.

Or you could just grab the remote site parse it and then include the
html which works inside your page.

If you explain exactly what you want to do we might have another idea.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация