Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Kill Joy
October 10, 2010, 6:49 pm
rate this thread
Re: Manage Iis log file fom php
[You posted 4 times the same message. No need. Be patient: it takes some
time to propagate messages.]
You asked how to manipulate a log file from PHP.
That is absolutely no problem. PHP can open and modify all files on the
computer, assuming of course PHP has the right to do so (filepermissions).
So go ahead and try it.
About COM: Yes, you can use COM, but you don't have to use COM, PHP has
all facilities built in.
Unless you have a very good reason to instantiate COM objects, I suggest
that you simply use PHP standard functions.
1) For futher details about IIS logfiles you better go to a MS newsgroup
(a few dedicated to IIS exist).
2) Beware that you don't try to open a file that is currently written to
by IIS and its accompanying processes.
For details I suggest you ask in an ISS newsgroup.
For questions about PHP file manipulating function, ask here.
"There are two ways of constructing a software design: One way is to
make it so simple that there are obviously no deficiencies, and the
other way is to make it so complicated that there are no obvious
deficiencies. The first method is far more difficult."
-- C.A.R. Hoare