954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Including external content

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!

simps0n
Newbie Poster
7 posts since Dec 2007
Reputation Points: 10
Solved Threads: 0
 

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

R0bb0b
Posting Shark
998 posts since Jun 2008
Reputation Points: 358
Solved Threads: 89
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You