//collect information...
$browser =$_SERVER['HTTP_USER_AGENT']; // get the browser name
$curr_server = $_SERVER['SERVER_NAME'];
$curr_page = $_SERVER['REQUEST_URI'];// get page name
$ip = $_SERVER['REMOTE_ADDR']; // get the IP address
$from_page = $_SERVER['HTTP_REFERER'];// page from which visitor came
//Insert the data in the table...
$query_insert ="INSERT INTO statTracker
(browser,ip,thedate_visited,page,from_page) VALUES
('$browser','$ip',now(),'$curr_page','$from_page')" ;
$result=@mysql_query ( $query_insert);
if(!$result){
echo mysql_error();
}
//echo $curr_page;
//remove this section when attaching the script to a webpage
//I include it only because of it's debug value.
?>
Donut Press - books
Warning: Undefined array key "pop" in /var/www/vhosts/donutpress.co.uk/httpdocs/books.php on line 6
Since his death in 1986, W.S. Graham has become widely acknowledged as a major voice in post-war British poetry. 'Approaches To How They Behave' first appeared in his landmark collection Malcolm Mooney's Land. It is reproduced here together with a selection of extracts from Graham's correspondence and an introduction from the acclaimed poet-critic Sean O'Brien.
“‘Approaches to How They Behave’ is quintessential W.S. Graham, one of the clearest examples of his personal aesthetic. It has everything – his authority, philosophy, and also his humour. The engaging courtesy with which he speaks to his reader (whilst holding him painlessly by the ear) disguises the skill with which he projects us into an unexpectedly serious consideration of the real nature of poetry and its relevance to life. Nothing trivial here!” – Michael Seward Snow
Fatal error: Uncaught mysqli_sql_exception: Unknown column 'termheader' in 'field list' in /var/www/vhosts/donutpress.co.uk/httpdocs/includes/fix_mysql.inc.php:36
Stack trace:
#0 /var/www/vhosts/donutpress.co.uk/httpdocs/includes/fix_mysql.inc.php(36): mysqli_query(Object(mysqli), 'SELECT termhead...')
#1 /var/www/vhosts/donutpress.co.uk/httpdocs/includes/get.inc.php(14): mysql_query('SELECT termhead...')
#2 /var/www/vhosts/donutpress.co.uk/httpdocs/includes/tb.inc.php(85): get_return('termheader', 'extras', '')
#3 /var/www/vhosts/donutpress.co.uk/httpdocs/index.php(18): do_footer('books')
#4 {main}
thrown in /var/www/vhosts/donutpress.co.uk/httpdocs/includes/fix_mysql.inc.php on line 36