php-general | 2001032
Date: 03/30/01
- Next message: Jack Dempsey: "Re: [PHP] No-refresh"
- Previous message: Mark Bayfield: "Re: [PHP] Catagory list"
- Next in thread: Brian Clark: "Re: [PHP] fscanf syntax"
- Reply: Brian Clark: "Re: [PHP] fscanf syntax"
- Reply: Chris Fry: "Re: [PHP] fscanf syntax"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 you may recognize this a the file format of a Nessus security scan
file.
What function should I use and what would the syntax be?
Thanks,
Pat
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jack Dempsey: "Re: [PHP] No-refresh"
- Previous message: Mark Bayfield: "Re: [PHP] Catagory list"
- Next in thread: Brian Clark: "Re: [PHP] fscanf syntax"
- Reply: Brian Clark: "Re: [PHP] fscanf syntax"
- Reply: Chris Fry: "Re: [PHP] fscanf syntax"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

