PDA

View Full Version : looking for an email script



Dirt_Diver
08-16-2008, 04:34 PM
Can someone help me come up with an email script that I can add to my image upload page that will send me an email with a message that says an image has been uploaded to my site.

I don't want that user that uploaded it to get one but just me letting me know.

I would think for someone that is experienced it would only take a second to write but I don't know how to code it.

Would someone like to help me out please??????

thetestingsite
08-16-2008, 04:40 PM
Just add this line to your code:



mail('youraddress@domain.com', 'New Uploaded Image', 'Someone has uploaded a new image to your site');


For more information, look at the php documentation for the mail (http://www.php.net/manual/en/function.mail.php) function.

Hope this helps.

Dirt_Diver
08-16-2008, 04:41 PM
Thank you VERY much...