We need help with the collecting part of the database… and will be glad to pay for the help.
Contact me on this forum… rodman
We have been collecting the standard stuff ( USERNAME;COMPANYNAME;PIDKEY;USER_EMAIL;UserLanguageID ) of years with no problem.
We have asked Advanced guys for help but all they do is point us to links we have read 100 times… but they did point out where to add USERNAME;COMPANYNAME;PIDKEY;USER_EMAIL;UserLanguageID;ComputerName and ADD_SVINFO to the Properties.
The problem we think is in the PHP collect_db
We have added
$computerId = trim($_POST['ComputerName']);
// get the user's language ID
$langId = (int) $_POST['UserLanguageID']
Below when we add.. computerId`, ` and mysql_escape_string($computerId) . "', " . the database stops collecting data.
$sn_query = "INSERT INTO `clients` (`user_name`, `company`, `email`, `pidkey`, `computerId`, `langId`) VALUES ('" .
mysql_escape_string($username) . "', '" . mysql_escape_string($company) . "', '" . mysql_escape_string($email) . "', '" .
mysql_escape_string($pidkey) . "', " . mysql_escape_string($computerId) . "', " . mysql_escape_string($langId) . ");";
---------------------------------
The database looks like this:
client_id int 10
user_name varchar 255
company varchar 255
email varchar 255
pidkey varchar 500
computerId varchar 500
langId int 10
date timestamp 0
Comments varchar 255
-------------
The Collect_file:
// create install information record
$content = "USERNAME=[" . trim($_POST['USERNAME']) . "], COMPANYNAME=[" . trim($_POST['COMPANYNAME']) .
"], USER_EMAIL=[" . trim($_POST['USER_EMAIL']) . "], PIDKEY=[" . trim($_POST['PIDKEY']) .
"], ComputerName=[" . trim($_POST['ComputerName']) . "], UserLanguageID=[" . trim($_POST['UserLanguageID']) . "]\n";
----------------------------
Would be happy to pay someone for help… contact me on this forum
Rodman