Jump to content

Windows // DOS


Mr_J

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.