Re: Question about cURL, and iFrames...
| From: | Dan Joseph | Date: | Tue, 19 Feb 2008 16:35:54 +0000 |
| Subject: | Re: Question about cURL, and iFrames... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269630@lists.php.net to get a copy of this message | ||
On Feb 19, 2008 9:44 AM, Jason Pruim <japruim@raoset.com> wrote:
> Thanks for the response. Do you think that there is a better way to
> pull in another webpage other then curl? I mean, could I simply
> include 'HTTP://www.mykillersite.com
> <http://www.mykillersite.com/>'; and
> have all the link work?
> I'll have to try that in a little bit when I get some development time
> and see how it works...
>
The links probably wouldn't work. What is going to happen is this:
you pull in www.google.com
Now people are looking at www.mykillersite.com and they are seeing Google's
content. If you scrubbed all the hyperlinks and replaced google.com with
mykillersite.com, when they clicked on the Advertising link, they'd end up
on www.mykillerlink.com/intl//ads/ instead, which would 404 of course unless
you created that too.
--
-Dan Joseph
"Build a man a fire, and he will be warm for the rest of the day.
Light a man on fire, and will be warm for the rest of his life."