Reply to Re: Get code from another site

Your name:

Reply:


Posted by Good Man on 07/11/07 15:03

"Steve Ray" <nochance@all.com> wrote in
news:f72qc7$fl9$1@north.jnrs.ja.net:

> Guys
>
> Not sure if this is possible but I'd appreciate a bit of info please
>
> I would like to (lets just call it) borrow a piece of code from
> another website. The website in question is published totally in
> Microsoft Frontpage, some very ancient version with totally flat HTML.
> (Not my site, not under my control. The owners have no interest in
> changing the site)
>
> Is it possible in PHP to take a piece of code from this website and
> reference it on my page, I was thinking of something along the lines
> of:
>
> GREP from sitename | referencing this page | inside these markers
>
> I've spoken with my web developers and they tell me I can use Iframe
> tags or RSS feeds, both of which I do not believe will allow me to
> accomplish this

fread();
http://ca.php.net/fread
or
file_get_contents();
http://ca.php.net/manual/en/function.file-get-contents.php


Will let you get the content/source of a webpage...

[Back to original 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

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