Re: Question about cURL, and iFrames...

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

 




On Feb 18, 2008, at 9:19 AM, Dan Joseph wrote:

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.


Hey Dan,

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'; 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...


--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424
www.raoset.com
japruim@xxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[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