Ask a Question related to PHP Development, Design and Development.
-
aaron #1
copy content from one website to another
Hi,
I'd like to automatically display content from my friends website on my
website. Is there anyway I can direct php to a URL and have the content of
that page put on my page?
Thanks,
Aaron
aaron Guest
-
Website Copy Protection
I'm trying to protect our websites since there are several companies out there that have our material on their sites unauthorized. When I use... -
Is It Possible to Copy Flash Player Content?
Does anyone out there know how to copy content which plays on Macromedia Flash player. Some of the vidoes are worth saving. Thanks.:confused; -
Problems with content in Website
I have a website, and i am using <div> tag to css the site (don't know if good or bad) and it works fine. My problem is that when I take the site... -
Local copy of website files
I set up a website for someone about a year ago and since then they have been administering the site using Contribute. I've never used Contribute so... -
lost copy of website
I would really appreciate some help. I had kept a copy of my website compressed on a floppy. I now cannot retrieve it. Does that mean I have to... -
Ruben van Engelenburg #2
Re: copy content from one website to another
aaron wrote:
I think RSS is what you're looking for. There's RSS feed parsers> Hi,
>
> I'd like to automatically display content from my friends website on my
> website. Is there anyway I can direct php to a URL and have the content of
> that page put on my page?
available for PHP. Your friend would have to publish his site's contents
as an rss feed.
Regards,
Ruben.
Ruben van Engelenburg Guest
-
Colin McKinnon #3
Re: copy content from one website to another
Ruben van Engelenburg wrote:
....or iframes or frames. You could do redirects but that will take people> aaron wrote:>>> Hi,
>>
>> I'd like to automatically display content from my friends website on my
>> website. Is there anyway I can direct php to a URL and have the content
>> of that page put on my page?
> I think RSS is what you're looking for. There's RSS feed parsers
> available for PHP. Your friend would have to publish his site's contents
> as an rss feed.
>
> Regards,
> Ruben.
off your site. Alternatively you could proxy requests like:
<?php
$path_to_cut='/friends/ruben/';
$therebase='http://rubenserver.com/';
$real_url=str_replace(strtolower($SERVER['REQUEST_URI'],$path_to_cut,
$therebase);
print implode('', file($real_url));
?>
but this is a can of worms as you'd need re-writing rules in your server
config to get everything running thru the one script and the above will not
accomodate POST/GET/COOKIES
HTH
C.
Colin McKinnon Guest
-
Gekke Gijs uit de Tekenfilm #4
Re: copy content from one website to another
"Colin McKinnon" schreef ...---- 8< --[cut]-- >8 -----> Ruben van Engelenburg wrote:> > aaron wrote:
Or use Snoopy, to fetch/grab parts of your friends website:
[url]http://sourceforge.net/projects/snoopy/[/url]
Good luck,
Gijs
Gekke Gijs uit de Tekenfilm Guest
-
Ruben van Engelenburg #5
Re: copy content from one website to another
Colin McKinnon wrote:
[snip]
Hey, where did my name come into play? ;)> ...or iframes or frames. You could do redirects but that will take people
> off your site. Alternatively you could proxy requests like:
>
> <?php
> $path_to_cut='/friends/ruben/';
> $therebase='http://rubenserver.com/';
But seriously I think RSS is the cleanest solution. The advantage of RSS
over something like frames or the solution you offered is that the
website can use its own layout to display the feed-data.
Regards,
Ruben.
Ruben van Engelenburg Guest
-
CrashandDie #6
Re: copy content from one website to another
Gekke Gijs uit de Tekenfilm wrote:
I would have to agree with Ruben on this one, RSS feeds are quite> "Colin McKinnon" schreef ...
>>>>Ruben van Engelenburg wrote:
>>>>>aaron wrote:
>
> ---- 8< --[cut]-- >8 -----
>
> Or use Snoopy, to fetch/grab parts of your friends website:
>
> [url]http://sourceforge.net/projects/snoopy/[/url]
>
> Good luck,
>
> Gijs
>
>
helpfull and it's really not a lot of work for your friend to manage.
Best regards,
CrashandDie Guest



Reply With Quote

