Member Avatar for Member #783340

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: ("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

You might want to consider some of the available software that does this sort of thing. It may not be PHP but if all you have to do is install it and configure it, then it might do the job. Have a look at the link below (Sitekiosk):

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.