| 
	
 | 
 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...
 
  
Navigation:
[Reply to this message] 
 |