| [ PHPXref.com ] | [ Generated: Sun Jul 20 17:23:35 2008 ] | [ edge 27-02-2006 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <? 2 # load supporting functions 3 include_once ('func/functions.php'); 4 5 # register_globals turned off? 6 import_globals(); 7 8 # load config 9 include ('config.php'); 10 11 # connect to mysql server 12 $mysql = mysql_connect($edge_database_host,$edge_mysql_username,$edge_mysql_password); 13 14 if ($l) 15 { 16 $q = "UPDATE links SET linkcount=linkcount+1 WHERE id = $l"; 17 $result = mysql_db_query($edge_database,$q,$mysql); 18 $url = substr($_SERVER['QUERY_STRING'],strpos($_SERVER['QUERY_STRING'],'&')+1); 19 } 20 else 21 $url = $_SERVER['QUERY_STRING']; 22 23 ?><meta http-equiv="refresh" content="0; url=<? echo $url?>"> 24 25 <? 26 mysql_close($mysql); 27 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |