473,394 Members | 1,663 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How come my contact form dose this?

every time i click submit it opens up yahoo.com i want it the to send the message right from my website. or mayby its just my computer try your self heres the page | _____________________________

Also here is the code i am useing if you can try to fix it so after the form is filled out it sends it right tomy e mail

Expand|Select|Wrap|Line Numbers
  1. <!-- Form made by cody.m -->
  2. <center>
  3. <FORM METHOD="POST" ACTION="mailto:removed email address">
  4. <font color="red">*</font>First Name: <INPUT TYPE="text" VALUE="Joe king" SIZE="20" onFocus="this.value=''">
  5.  
  6. <font color="red">*</font>E-Mail: <INPUT TYPE="text" VALUE="removed email address" SIZE="30" onFocus="this.value=''">
  7.  
  8. </p>
  9. <center>
  10. <pre>Comments or feedback:</pre><TEXTAREA NAME="comment" ROWS=10 COLS=50></TEXTAREA>
  11. <BR>
  12. </center>
  13. <INPUT TYPE="submit">
  14. <INPUT TYPE="reset">
  15.  
  16. </form>
  17.  
  18. </center>
  19. <!-- END OF "Form made by cody.m" -->
Please help!
Dec 29 '08 #1
4 1688
eWish
971 Expert 512MB
When you say it opens Yahoo.com I assume that is your default email clients or service. The problem is that you are trying to use the mailto attribute with a form. The form should be sent to a server side language to handle the processing. It is acting as it should. To fix this remove the mailto attribute in the action attribute and replace it with a url to a server side script to process the form for you. Then have that script email it directly to you.

I am sure that you would be able to find a free email script if you do a search on your favorite search engine.

--Kevin
Dec 29 '08 #2
ok i got my form working but now when i send a message i get The requested method POST is not allowed for the URL /process.php. can i fix this?
Dec 30 '08 #3
eWish
971 Expert 512MB
If you are using PHP then post your code sample and explain your problem. I am sure they will help you. This is not an HTML/CSS issue.

I don't know PHP so I can not be of any further assistance.

--Kevin
Dec 31 '08 #4
AricC
1,892 Expert 1GB
@codyshea2000
Are you setting the action of the form to process.php or to an email address? If you're just trying to send an email with the clients default email client ie. Outlook or Thunderbird then use an anchor if you want to create a form with php.


Anchor
Tryit Editor v1.4

PHP
How to Send Email from a PHP Script - About Email
(I'm assuming this way works I'm an ASP programmer not PHP)
Jan 3 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Jason | last post by:
I'm struggling with this email code and I'm not php freak since I'm starting to learn php stuff. Could use some help... It seems that I get too many parse errors all over and cannot figure went...
1
by: rjbonn | last post by:
I'm setting up a contact list for a musician, who is about to release her first CD. She would like a contact list that can track the people she meets, who will be in various categories -- fans,...
0
by: Robert J. Bonn | last post by:
I am setting up a contact list for a musician, who is about to release her first CD. She would like a contact list that can track all the people she meets, who will be in various categories --...
3
by: John | last post by:
What is the easiest way to make the contact form show on the front page. Meaning on want to keep the front html page and when someone clicks on the contact us link the front page remains the same,...
4
by: thanos | last post by:
Hello, I'm relatively new to PHP so I found this free contact us script on the net that i was going to use for my Contact Us php page. Its works pretty good except for error handling. I was...
4
by: pukhton | last post by:
Have a question about Access form. Total Dose (TextBox) Total Dose Unit (Combobox) (mg,mcg) Total Volume (TextBox) Final Dose (TextBox) Final concentration...
5
by: NYXX | last post by:
Here is my Html Code and my Contact.php This is My code in my html <td height="345" valign="top"> <form style="margin:0; padding:0; " action="contact.php" method="get" id="form"> <table...
3
by: nurseman21 | last post by:
I am creating a form in Access 2007 which is in tab form format. The form has multiple tabs, each tab pertaining to a different part of the same record. I am attempting to make a tab page to include...
8
by: chromis | last post by:
Hi, I'm writing a contacts section for a cms on a website, I've decided to write the section in OO code. So far I have my Contacts object and a page structure I would use for a procedural site. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.