Including external content

Reply

Join Date: Dec 2007
Posts: 7
Reputation: simps0n is an unknown quantity at this point 
Solved Threads: 0
simps0n simps0n is offline Offline
Newbie Poster

Including external content

 
0
  #1
Jun 12th, 2008
Hello,

I am PHP newbie (or even worse) and I have a problem with one function.

I want to load content of an external page and I use the include() function.
It's working, but the external page has some [important] pop-up windows
(that use /goals.php file) that I want to include as well. Of course, they are
not working on my page.

Thanks in advance for any suggestions/ideas!
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 849
Reputation: R0bb0b is on a distinguished road 
Solved Threads: 67
R0bb0b's Avatar
R0bb0b R0bb0b is offline Offline
Practically a Posting Shark

Re: Including external content

 
0
  #2
Jun 12th, 2008
You can get the exact HTML from that external source by using the curl library.
http://us2.php.net/manual/en/ref.curl.php or you can use ajax http://www.w3schools.com/Ajax/Default.Asp
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 518 | Replies: 1
Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC