ID:274754
 
#!/usr/bin/perl

print "Content-type: text/html\n\n";
#Test One
$from=$ENV{'HTTP_REFERER'};
print "Go back to $from";

Would this return:
Go back to http://www.lastsite.com?
DBZ Kidd wrote:
#!/usr/bin/perl

print "Content-type: text/html\n\n";
#Test One
$from=$ENV{'HTTP_REFERER'};
print "Go back to <a href=$from>$from</a>";

Would this return:
Go back to http://www.lastsite.com?

It probably wouldn't, because you forgot the <HTML> tag. It should probably look like this:
#!/usr/bin/perl

print "Content-type: text/html\n\n";
#Test One
$from=$ENV{'HTTP_REFERER'};
print "<html><body>Go back to <a href=$from>$from</a></body></html>";

Lummox JR
In response to Lummox JR
Oh, I should have seen that.
In response to DBZ Kidd
Does anyone know where I can get a site that you can use your own CGI, beacuse mine is really crappy.
In response to DBZ Kidd
There are a few free hosts that allow it but most of them don't have good service, you can't really find 'great' webhosting for free anymore.