Jump to content

Extract code from a page!


katerina

Recommended Posts

Hi,

I create a site and I would like your help.

 

I use an image that if an user clicks on it , I want to open a new window and the source code of a page appears.

 

To be more specific, I save in variable $url the url of a page. For example, $url="http://www.google.com";

So, when I click on an image it I want to be appeared a page with :

 

1. <HTML><html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Google</title>...

2. function sf(){document.f.q.focus()}

 

...

 

Could someone help me ??

Link to comment
https://forums.phpfreaks.com/topic/124200-extract-code-from-a-page/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.