Current location: Hot Scripts Forums » Programming Languages » PHP » How to make a button that sends off an email


How to make a button that sends off an email

Reply
  #1 (permalink)  
Old 11-01-09, 07:05 PM
craniumoverload craniumoverload is offline
New Member
 
Join Date: Nov 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
How to make a button that sends off an email

Hi guys,

I just want to know if anyone knows how to make a button send off an email once clicked?

So, when a member logs in, they click a button that says "click here" or something and then it sends off an email to the admin which says "ready to rotate next person."

Is that possible?

Thanks for any help.
Reply With Quote
  #2 (permalink)  
Old 11-01-09, 08:59 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,515
Thanks: 20
Thanked 109 Times in 106 Posts
Reply With Quote
  #3 (permalink)  
Old 11-01-09, 09:42 PM
craniumoverload craniumoverload is offline
New Member
 
Join Date: Nov 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks.

But um, I need this in like a few hours I have no clue what Im reading.

I have a form already that I have been trying to use, but I dont know how to make it send prefilled information to the admins email address.

BUTTON - User clicks the button
Email gets sent to admin saying - ready to rotate next person.

I promise to learn how to do this myself, but can someone do this for menow without me having to learn the whole thing first?

Thanks
Reply With Quote
  #4 (permalink)  
Old 11-01-09, 09:50 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,515
Thanks: 20
Thanked 109 Times in 106 Posts
Quote:
But um, I need this in like a few hours I have no clue what Im reading.
You haven't posted enough information for someone to write the code for you.

Quote:
I promise to learn how to do this myself, but can someone do this for menow without me having to learn the whole thing first?
I think you should learn how to do it. It's a simple task.

Try.

Start with the button. Write some HTML that will allow a person to click a button in the browser and have it invoke a PHP script. For the first tests, the PHP script can just echo "Hello", then it can issue an email.

If you're a student, learn. If this is your job, learn.

If you are in too much of a hurry to learn, regardless of the reason, you should stop and understand why.
Reply With Quote
  #5 (permalink)  
Old 11-01-09, 10:06 PM
craniumoverload craniumoverload is offline
New Member
 
Join Date: Nov 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Anyone else can help me please? I need it fast. ..

I need a button on a page that says "Click Here"

When they click teh button, I need it to send an email to an admin that says "ready to rotate next person."

Thanks anyone, I will pay you paypal if you can show me.

Last edited by craniumoverload; 11-01-09 at 10:09 PM.
Reply With Quote
  #6 (permalink)  
Old 11-02-09, 07:08 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Quote:
Originally Posted by craniumoverload View Post
Anyone else can help me please? I need it fast. ..
Like wirehopper said, "If you're a student, learn. If this is your job, learn.". Excellent advice.

In the time you took to write these messages you could have done a few Google searches and found hundreds (if not thousands) of examples.
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote
  #7 (permalink)  
Old 11-02-09, 07:49 AM
craniumoverload craniumoverload is offline
New Member
 
Join Date: Nov 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
I searched for 8 hours all day today to learn myself, like I said, I tried using the form I had. I dont even know how to use the internet. This was a joint effoprt by me and another person.

We paid a professional to do this for us anyway, he took 4 minutes to do it and we gave him $1000 USD for it..We met our deadline. Now 9330 members are happy.

Maybe one day Ill learn, if I ever need to.

Thanks though.
Reply With Quote
  #8 (permalink)  
Old 11-02-09, 11:04 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Quote:
Originally Posted by craniumoverload View Post
We paid a professional to do this for us anyway, he took 4 minutes to do it and we gave him $1000 USD for it..We met our deadline. Now 9330 members are happy.
Honestly, that seems a bit excessive, even with a deadline of "right now".
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote
  #9 (permalink)  
Old 11-02-09, 11:46 AM
carters-site's Avatar
carters-site carters-site is offline
Wannabe Coder
 
Join Date: Sep 2009
Location: Moline, IL
Posts: 100
Thanks: 2
Thanked 1 Time in 1 Post
Quote:
Originally Posted by craniumoverload View Post
We paid a professional to do this for us anyway, he took 4 minutes to do it and we gave him $1000 USD for it..We met our deadline. Now 9330 members are happy.
Thanks though.
I really hope you mistyped that $1000 and meant $100 USD if not I would recommend not using that professional again. He just took you for a ride. That would be like paying a car mechanic to put a new battery in your car for $1000.

But I guess if the money doesn't bother you at least you got it done.
Reply With Quote
  #10 (permalink)  
Old 11-02-09, 02:09 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,515
Thanks: 20
Thanked 109 Times in 106 Posts
I think a fair fee for this would have been $25-50USD, although without knowing the specifics that's a very rough number.

Try posting in http://www.hotscripts.com/forums/job-offers-assistance/ next time, there are a lot of good people here who can help you.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freeze columns in a table Rita Negi Script Requests 1 09-01-09 08:23 AM
need help to create a attachment on my email frankkk PHP 1 10-25-04 02:10 PM


All times are GMT -5. The time now is 08:03 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.