Member Avatar for philip.s

Hey Guy's

I have to write a simple page that uses "Get page content" and display's the page back in my website. The problem is that when someone clicks a link it opens an external page. ie. I want to open a page on my site, read it in as a variable change external hrefs: (http://www.google.com) to local hrefs: (http://www.mysite.com/index.php?url="google.com").

I am going to use this script to monitor internet activity in a local library. I plan on blocking all sites except my site so <iframe>'s are not going to work (sort of like an internet cafe's software.)

I understand this is possible with JavaScript but I only know PHP.

Thanks guy's

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.