Attlog.DAT file from biometric device to PHP


Hi, everyone I would like to get the data from attlog.dat file from biometric device and I will display it on the PHP script or textboxes using php script. Anyone who can give me some example or teach me how to do it.

Thanks in advance


Have a look at the file_get_contents() function, that would allow you to retrieve the contents of the file into a variable, then you can extract and format the data as required.


Hi droopsnoot thank you for response. I already did it . I’m using xml to php. I convert the dat file to xml first then I upload it using php script .