Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
php read file and display in html table
Old 07-09-2012, 01:23 AM php read file and display in html table
Junior Talker

Posts: 1
Trades: 0
WinEvtLog: Security: AUDIT_SUCCESS(4624): Microsoft-Windows-Security-Auditing: shudhfa: TEST0: mail.test.com: An account was successfully logged on. Subject: Security ID: S-1-5-18 Account Name: MAIL$ Account Domain: TEST0 Logon ID: 0x3e7 Logon Type: 3 New Logon: Security ID: S-1-5-21-3950922667-2317176352-1979228482-5727 Account Name: shudhfa Account Domain: TEST0 Logon ID: 0x6e7cd6e Logon GUID: {60D8ECB6-5EC2-29AA-DB95-AF1BA221F369} Process Information: Process ID: 0x6bc Process Name: C:\MDaemon\App\MDaemon.exe Network Information: Workstation Name: MAIL Source Network Address: - Source Port: - Detailed Authentication Information: Logon Process: Advapi Authentication Package: Negotiate Transited Services: - Package Name (NTLM only): - Key Length: 0 This event is generated when a logon session is created. It is generated on the computer that was accessed.


The above file name is log.txt
i want to read that file and display some content in html table

Audit Account Name
AUDIT_SUCCESS Shudhfa

Audit is column 1
Account name is column 2

Last edited by maldiveboy; 07-09-2012 at 01:29 AM..
maldiveboy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-09-2012, 12:48 PM Re: php read file and display in html table
Physicsguy's Avatar
404 - Title not found

Posts: 1,066
Name: Scott Kaye
Location: Ontario
Trades: 0
Use file_get_contents() with substr() (to separate the string into two parts, or even just use a regex (preg_split) to do that).

We're here to help, not to do it for you. What do you have so far?
__________________

Please login or register to view this content. Registration is FREE
Physicsguy is offline
Reply With Quote
View Public Profile Visit Physicsguy's homepage!
 
Reply     « Reply to php read file and display in html table
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15703 seconds with 11 queries