You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
1.1 KiB

<?php
///// new ------------------ajay
//session_start();
require_once '/home/ajay/public_html/bookmark4u/inc/config.php';
/*
$u_email = $u_name . $GLOBALS['site_suffix'];
$handle = mysql_connect($dbhost,$dbuser,$dbpass)
or die('could not connect database');
if (!mysql_select_db($dbname, $handle)) {
echo 'Could not select database';
exit;
}
$sql = "delete from users where u_email = '$user_id'";
echo $sql;
mysql_query($sql,$handle);
$sql1 = "DELETE FROM `priv` WHERE p_user='$u_email'";
mysql_query($sql,$handle);
$sql2 = "delete from history where h_u_id='$u_email'";
mysql_query($sql2,$handle);
mysql_close($handle);
$user = strtok($u_email,"@");
$domain_name = strtok("\n");
$user_home = $GLOBALS["fileroot_dir"]."/".$domain_name."/".$user;
require "/home/zed/public_html/navy/wfx/quix/.include/fun_extra.php";
remove($user_home);
*/
echo "database name is" . $conf[dbname] ;
?>