Mr_J Posted September 9, 2008 Share Posted September 9, 2008 Hi all, In my post yesterday, I was strugling with PHPmyAdmin. Will it be easyer to use telnet ftp etc. on a windows platform to update the "conf.inc.php"? If I do, can I maybe get an example on how to configure the file to have more than 1 table? I have 1 but it doesn't look right to me... conf.inc.php <?php $db_user = "xxx"; // Username $db_pass = "xxx"; // Password $db_database = "MlPharmList"; $db_host = "cycletrac.co.za"; $db_connect = mysql_connect ($db_host, $db_user, $db_pass); $db_select = mysql_select_db ($db_database); function form($data) { global $db_connect; $data = ereg_replace("[\'\")(;|`,<>]", "", $data); $data = mysql_real_escape_string(trim($data), $db_connect); return stripslashes($data); } ?> Cheers Link to comment https://forums.phpfreaks.com/topic/123411-windows-dos/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.