Notify admin when new file is uploaded

Any feature requests go in here...

Notify admin when new file is uploaded

Postby Yaro » Mon Apr 08, 2013 4:39 pm

Hi,

is it possible to notify host admin when new file is uploaded?
I mean that admin will receive email with details like new file name, who uploaded, etc.
Is there hack for this purpose or some solution?

Best regards
Yaro
Yaro
Translator
 
Posts: 4
Joined: Mon Apr 01, 2013 6:18 pm

Re: Notify admin when new file is uploaded

Postby SamEA » Fri Apr 19, 2013 2:06 am

Hi Yaro,

You can simply modify ./upload.php and add an e-mail function after the following code, to e-mail the admin upon completion of an upload:
Code: Select all
move_uploaded_file($_FILES['upfile']['tmp_name'], $movefile);
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm


Return to Feature Request

Who is online

Users browsing this forum: No registered users and 11 guests

cron