[EMAIL PROTECTED] call rsync from php script

2008-05-13 Thread Jean-Christophe Roux
Hello, I have a bash script update.sh that contains: rsync -- delete -avz -e ssh ${files} [EMAIL PROTECTED]:/red when I use that script ./update.sh as root, it works like a charm as I set up the private/public key properly. When run from a php script through the apache webserver The rsync line i

[EMAIL PROTECTED] Requests taking a lot of time

2008-01-02 Thread Jean-Christophe Roux
Hello, I am struggling with an issue and I have the following set up that reproduces the problem. I am running apache 2.2 on Centos 5.0. On the client side, I have a web page that polls the server every second. Using prototypejs, it looks like that: setInterval('polling();', 1000); function p

[EMAIL PROTECTED] log file upload

2007-12-12 Thread Jean-Christophe Roux
Hello, The users of my site can upload images using regular html forms. I would like to log the uploads so that I know such IP address at such time has uploaded such file. This is the last part that I am unable to do. Going through the docs on custom logs, I am not finding a solution. I could d