Yes. You need a "redirect" page, which should be invisible to the user.
PHP Code:
// redir.php
$log = fopen("/ws.log", "a");
fputs($_SERVER['HTTP_REMOTE_ADDR'] . ' accessed ' . $_GET['url'] . ' on ' . date("g:i, D") . ' the ' .date("dS") . ' of ' . date("F") . ' from ' . $_SERVER['HTTP_REFERER'] . "\n", $log);
fclose($log);
header("Location: http://www.mysite.com/" . $_GET['url']);
Link to it like so: redir.php?url=pages%2fpagetogoto.htm to go to http://www.mysite.com/pages/pagetogoto.htm.
%2f, by the way, is URL-talk for '/'.
Bookmarks