<?php echo realpath('file'); ?>
dirname($_SERVER['SCRIPT_FILENAME']);
$db = mysql_connect("localhost", "root", ""); mysql_select_db("samp", $db); $result = mysql_query("select * from samp where ip='94.23.120.101' & port='9999'"); if ($result > 0) echo 'yes'; else echo 'not';
if ($result > 0) echo 'yes'; else echo 'not';
print mysql_num_rows($result)>0 ? 'yes' : 'no';