How to log website file uploads?

Discussion in 'General' started by stairmaster, Jun 29, 2012.

  1. stairmaster

    stairmaster New Member

    Hi,
    How can I log file uploads from my website .. like when someone uploads an image to my server using a form on a php page?
    Is this already being logged somewhere? I can't find a log file that does this.
  2. NiteWave

    NiteWave Administrator

    in access.log, you'll see an POST entry like

    192.168.2.102 - - [29/Jun/2012:16:24:45 +0800] "POST /upload/upload_file.php HTTP/1.1" 200 148 "http://192.168.2.101/upload/up.html" "Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1"

Share This Page