Restrictions on the LOG FILES ?

Restrictions on the LOG FILES ? SearchSearch
Author Message
ekow des bordes
New member
Username: Ekowdb

Post Number: 3
Registered: 10-2006
Posted on Tuesday, December 12, 2006 - 08:25 pm:   

Hi,i am facing problems with the nowsms log files, whenever i write a php script to read whatever is in the file and show it, it does not, but when i copy whatever is in the log files into another text file and script it, it shows? can anyone tell me if there are some restrictions on the logfiles? if yes, how can i go around it.
Malcolm - Now Support
New member
Username: Malcolm

Post Number: 10
Registered: 12-2006
Posted on Friday, December 15, 2006 - 08:17 pm:   

NowSMS has the current day's log file open to allow it to write to it.

It opens the log file in a manner that allows other applications to also open the log file for read access, but other applications cannot open the log file for write access.

So make sure that your script is requesting to open the log file for read access only.

--
Malcolm
Now Wireless Support