Go Back   Novahq.net Forum > phphq.Net > phphq.Net Forums

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-22-2010, 02:02 PM
timj is offline timj
Registered User

Join Date: Mar 2010
Posts: 1

Uploader: Email notification

Love the product, and thanks for the security update.

As a feature, I would like to be notified by email when an item is uploaded. I can't see where to add that code.
Reply With Quote
  #2  
Old 03-22-2010, 04:16 PM
hysteriksmile is offline hysteriksmile
Registered User

Join Date: Mar 2010
Posts: 4

I'm interested too
Reply With Quote
  #3  
Old 03-23-2010, 08:12 AM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

After ln 263:
PHP Code:
    If(($error=="") AND ($success=="")) {
        
$error.="<b>FAILED:</b> No files selected<br />";
    } 
Add:
PHP Code:
If($success!="") {
 
mail ("Youremail@email.com""File Uploaded""A file has been uploaded at your website");

__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #4  
Old 02-07-2011, 08:57 AM
stcxiong is offline stcxiong
Registered User

Join Date: Feb 2011
Posts: 3

Hi, I am using phUploader 1.2 and I am interested in adding If($success!="") {
mail ("Youremail@email.com", "File Uploaded", "A file has been uploaded at your website");
}

to the php code but I can't locate If(($error=="") AND ($success=="")) {
$error.="<b>FAILED:</b> No files selected<br />";
}

Help?
Reply With Quote
  #5  
Old 02-07-2011, 03:02 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

It's near line 263..
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Map Update Notification(2) grenadier501 Delta Force 4 03-19-2011 12:47 AM
Map Update Notification grenadier501 Delta Force 0 02-22-2011 11:40 PM
Map Update Notification Guest001 Delta Force 0 01-27-2011 04:47 AM
Email notification not working Swifty Helen Feedback / Novahq.net Support 2 12-17-2010 05:33 PM
Looking for an uploader damian Web design and Programming 4 07-31-2004 10:13 AM


All times are GMT -5. The time now is 12:48 PM.




Powered by vBulletin®