Re: PHP uploaded files logs
| From: | Kim Madsen | Date: | Fri, 01 Jan 2010 13:10:54 +0000 |
| Subject: | Re: PHP uploaded files logs | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-300773@lists.php.net to get a copy of this message | ||
Hi
Manoj Singh wrote on 01/01/2010 08:07:
Hi, Is PHP maintaining the logs regarding files uploaded? Actually I needed it because recently in my developed web site upload functionality seems to stop working even for the correct file and i want to check that which type of files are uploaded. Actually I cannot debug through PHP on the server as my site is on production.Not to my knowledge, but that should be pretty easy to create, just save all $_FILES['uploaded_file'] (or just $_FILES['uploaded_file']['tmp_name'], $_FILES['uploaded_file']['name'] and $_FILES['uploaded_file']['size']) into a logfile, note there's an error variable too. -- Kind regards Kim Emax - masterminds.dk