I want to parse a file with the following syntax.
hostname|protocol|number|severity|description
Each record is on it's own line and have the fields delimited by the pipe
character |. The file may have thousands of records and I would like to
bring them into a database for reporting.
Some of
Nessus[$i]);
$hostname = $aryNessusFields[0];
$protocol = $aryNessusFields[1];
$number = $aryNessusFields[2];
$severity = $aryNessusFields[3];
$description + $aryNessusFields[4];
// Save the data into the database here
}
Regards
Chris
Patrick Brown wrote:
I want to pars
How can I disable the display of error to the browser window from within the
script? I want to do a redirect based on the error and cannot because header
info has already been sent.
Thanks,
Pat
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
}
"CC Zona" [EMAIL PROTECTED] wrote in message
96fcv5$2o0$[EMAIL PROTECTED]">news:96fcv5$2o0$[EMAIL PROTECTED]...
In article 96faad$h9k$[EMAIL PROTECTED], [EMAIL PROTECTED] ("Patrick
Brown") wrote:
How can I disable the display of error to the browser window from wi
Here's my script. This is a known working script when I use ASP. Why won't
is wotj with PHP.
function submitForm(f, strPage) {
errormsg = "";
if (f.login.value.length == 0) {
errormsg = errormsg + "Please enter a login name.\n";
}
if (f.email.value.search("@") == -1 ||
5 matches
Mail list logo