Warning: Use of undefined constant HTTP_USER_AGENT - assumed 'HTTP_USER_AGENT' (this will throw an Error in a future version of PHP) in /home/pts/public_html/stats/hit.inc on line 39

Warning: Use of undefined constant REMOTE_ADDR - assumed 'REMOTE_ADDR' (this will throw an Error in a future version of PHP) in /home/pts/public_html/stats/hit.inc on line 39

Warning: Use of undefined constant HTTP_REFERER - assumed 'HTTP_REFERER' (this will throw an Error in a future version of PHP) in /home/pts/public_html/stats/hit.inc on line 39

Warning: Use of undefined constant REQUEST_URI - assumed 'REQUEST_URI' (this will throw an Error in a future version of PHP) in /home/pts/public_html/stats/hit.inc on line 39

Warning: Use of undefined constant dir_name - assumed 'dir_name' (this will throw an Error in a future version of PHP) in /home/pts/public_html/stats/hit.inc on line 47

Warning: Use of undefined constant logfile - assumed 'logfile' (this will throw an Error in a future version of PHP) in /home/pts/public_html/stats/hit.inc on line 47

Warning: fopen(stats/log.txt): failed to open stream: Permission denied in /home/pts/public_html/stats/hit.inc on line 47

Warning: fwrite() expects parameter 1 to be resource, bool given in /home/pts/public_html/stats/hit.inc on line 49

Warning: fclose() expects parameter 1 to be resource, bool given in /home/pts/public_html/stats/hit.inc on line 51

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/pts/public_html/includes/common.inc:31 Stack trace: #0 /home/pts/public_html/includes/common.inc(47): connect_db() #1 /home/pts/public_html/index.php(6): include('/home/pts/publi...') #2 {main} thrown in /home/pts/public_html/includes/common.inc on line 31