Hi,
I have this code:

Code:
<html>
<head>
<title>Print</title>
</head>
<body bgcolor="#ffffff" text="#000000" id=all>
<?
$url = 'http://www.webdevelopershq.com/articles/article_1.shtml';

$lines_array = file($url);

$lines_string = implode('', $lines_array);

eregi("<!-- content -->(.*)<!-- /content -->", $lines_string, $head);

echo $head[0];
?>
</body>
</html>
Where it has $url = 'http://www.webdevelopershq.com/articles/article_1.shtml';

How can I get it to insert the address of the refering page automaticly?

Thanks,
Justin Sampson