//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
Tim Turnbull's Stranded in Sub-Atomica takes its name from an issue of the Marvel comics series Fantastic Four though, unlike its futuristic predecessor, Turnbull's is a world devoid of superheroes and secret powers: a contemporary dystopia which lies not a million miles from home. Entering, we encounter a paean to Johnny Cash, a lament for the Austin 1800 and witness mankind's appetite for destruction as glimpsed in a Laurel and Hardy museum. Sharply observed narratives cross the arcs of young lives, arcs not always rising, lives often stuck, alienated or marginalised. As he offers up a lullaby for an alcoholic and delivers darkly-skewed love poems, Turnbull presents us with poetry as a fragile bulwark against the iniquitous and the absurd. Sometimes reminiscent of Tony Harrison, Turnbull's work is unflinching, brilliantly comic and committed to the vernacular. Stranded in Sub-Atomica is a startling debut from an excellent new satirical voice.
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