$hostname = '127.0.0.1';
$hostlogin = 'root';
$hostpassword = '';
$databasename = 'billingretail';
//Folder Name Change Only Necessary
$appfoldername = 'billingretail';
$link = mysql_connect($hostname, $hostlogin, $hostpassword) or die('Could not connect Table : ' . mysql_error());
mysql_select_db($databasename) or die('Could not select database'. mysql_error());
//echo $_SERVER['REQUEST_URI'] ; //To get full url.
$currentworkingdomain = $_SERVER['SERVER_NAME']; //To get only server name.
$currentworkingdomain = 'http://'.$currentworkingdomain;
$applocation1 = $currentworkingdomain.'/'.$appfoldername; //Used inside excel export options on reports module.
$databasename = $databasename; //Used inside autoitemsearch2.php / autoitemsearch2purchase.php
$hostname = '127.0.0.1';
$hostpassword = '';
//Folder Name Change Only Necessary
$link = mysql_connect($hostname, 'root', $hostpassword) or die('Could not connect Table : ' . mysql_error());
mysql_select_db('billingretail') or die('Could not select database'. mysql_error());
//echo $_SERVER['REQUEST_URI'] ; //To get full url.
$currentworkingdomain = $_SERVER['SERVER_NAME']; //To get only server name.
$currentworkingdomain = 'http://'.$currentworkingdomain;
$applocation1 = $currentworkingdomain.'/billingretail'; //Used inside excel export options on reports module.
'billingretail' = 'billingretail'; //Used inside autoitemsearch2.php / autoitemsearch2purchase.php
© 2023 Quttera Ltd. All rights reserved.