3 ms·
This is basically what I have to accomplish: Take a CSV file containing logs and crawl through it. Log snippets should be linked to specific links (in this cas
by frapbot 13y ago
This is basically what I have to accomplish:
Take a CSV file containing logs and crawl through it.
Log snippets should be linked to specific links (in this case, solutions).
Generate an output (another csv with the links added).
- LarryMade2 13y agoSo the project entails specifically this, beyond just learning LAMP, this will help you focus on your PHP research: > Take a CSV file containing logs and crawl through it. google this: PHP parse Log Files > Log snippets should be linked to specific links (in this case, solutions) so you need to use Regex (probably using preg_match()) to locate certain string occurrences in the log file and use a look-up table of solutions (if it is small could be a hard coded array, if it is big probably a MySQL Table.) > generate output either echo results enclosed in <pre> tags with or with appropriate header() options... That's it basically. Good Luck