load part of an external site using curl?

barsumerhai

New Member
I'm creating a site for a university where we have to include the university's main navigation at the top of the page. Rather than re-create their navigation, I want to load it dynamically.First I thought I could use an iframe and just trim it to the navigation.However, when a link is clicked it opens in that frame, when i want it in a new window.So, my new plan is to pull in the nav with curl (or another way if someone has a suggestion..). Whats the best way to go about this? Fairly new at curl so I'd love some code.Thanks!
 
Back
Top