Hi,
i have written a php shell script to create images and format the clf/w3c log format files on my server. Using argv i specify the servername and path and it builds and distributes logs. This works fine from telnet but sometimes i run into problems piping the log files, so i think i need to compress them.
I know our server has been configured to use zlib but i have no idea how to do this. Any ideas???
Also as i have been having probelms i wondered if i can have an emergency php web/script that can kill the pid of the shell script using system()/exec() anyone know how i can get execute the kill command?
Cheers,
Elfyn