Squid
#service squid stop
#rm -rf /var/cache/squid/*
#squid -z
Squid
#service squid stop
#rm -rf /var/cache/squid/*
#squid -z
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | function log_sql_erro($mensagem){ $descricao = mysql_error(); $nr_erro = mysql_errno(); $error = "MySQL erro: $descricao"; $error .= "Numero do erro: $nr_erro"; $error .= "Data:" . date ("D, F j, Y H:i:s"); $error .= "IP: " . getenv("REMOTE_ADDR"); $error .= "Browser" . getenv("HTTP_USER_AGENT"); $error .= "Referer" . getenv("HTTP_REFERER"); $error .= "Server name" . getenv("SCRIPT_NAME"); $error .= "Script Name" . getenv("SERVER_NAME"); $error .= "Server" . getenv("SERVER_SOFTWARE"); $error .= "OS" .PHP_OS; $error .= "PHP Versao" . PHP_VERSION; $error .= ""; echo $error; exit(); } |