Re: Question about cURL, and iFrames...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 On Feb 15, 2008 9:43 AM, Jason Pruim <japruim@xxxxxxxxxx> wrote:

> I am trying to think through something, I am writing a simple proxy
> script for my own knowledge and to simplify my life :)
>
> What I want to do is bring in multiple website by going to 1 webpage
> (Think RSS for the entire website) have all the links work properly,
> login to the pages etc. etc. etc. I think I can do this with cURL
> which can pull the page in and display it properly, but I'm wondering
> if I should be displaying in an iFrame to keep my navigation links at
> the top to go around my site?
>

Well, I think the short answer to that is Yes, curl can do what you want.
You could pull in the page with curl, then go thru it and populate form
fields, then display it.  You wouldn't need an iframe, you'd just pull it in
with curl, run thru and populate the fields, then display the finished
product on the screen.  One thing you may also want to keep in mind is that
I think you'd have to go through and fix the image links and url links if
they don't have the full url path in the html.

-- 
-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."

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux