PHP script for lastlog

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • November1114
    New Member
    • Jan 2007
    • 1

    PHP script for lastlog

    I need to create a PHP script to capture the lastlog info in the Linux servers and display the info in a HTML format. Does anyone has a similiar script that I can get an idea from? Any input would be appreicated and thanks in advance.

    November1114
  • b1randon
    Recognized Expert New Member
    • Dec 2006
    • 171

    #2
    Originally posted by November1114
    I need to create a PHP script to capture the lastlog info in the Linux servers and display the info in a HTML format. Does anyone has a similiar script that I can get an idea from? Any input would be appreicated and thanks in advance.

    November1114
    Here's a decent tutorial with example code on how to read data from a file. All you would need to do is read in and echo back out.

    Comment

    • subash
      New Member
      • Sep 2006
      • 32

      #3
      Hi,

      I am using a class which shows the log file from the linux server and show it in a browser. This code I have got from phpclasses.org (Remember, we need to become member to access this file) - the class name is Display Logfile http://www.phpclasses.org/browse/file/8209.html

      If you need the code - just send your mail id to me - I will send the code


      Subash :)

      Comment

      Working...