Forms

free web hosting
Free Web Hosting > Computers & Tech > Designing > Web Design and HTML

Forms

nachtgeist03
Ah yes, the magical and dreaded form. Anyways, just a small question regarding them.

I've checked a few pages out that talk about the "action" prompt in the form coding. What I'm trying to achieve is having the form email an account of mine when the user hits "submit".

Now I know the old, easy way out of this was to have action="mailto:my.email@my.email.box.com". After reading a bit on this (and trying it myself), I've discovered this is not a suitable solution. What happens when you use mailto in the form is when submit is clicked, it opens up your default email program (usually outlook for Win users). Obviously this can't be had wink.gif

Upon further reading (albeit vague reading), the pages I read talked about using a server-side php/cgi/asp file to send the mail. Only problem is, none of the sites gave examples of the file for people to examine and perhaps duplicate for their own uses.

If someone could either post an example of one of these files, or give me a link not to the file it's self, but to a page the talks about what is actually going on inside the file, that would be great cool.gif

 

 

 


Reply

miCRoSCoPiC^eaRthLinG
Check out this other post of mine: http://www.astahost.com/form-mail-javascript-t3771.html - this illustrates exactly what you intend to do. There's a php code in this post that you can save as a file, and then, instead of redirecting your action="mailto:" you set it to action="filename.php" - all your form's contents will be sent to this script - which then parses and break it up into appropriate lines and mails it to you using the commandline mailer named mail. There are ample comments in the code - so I guess understanding it won't be a big problem.

All the best smile.gif

Reply

jipman
Really, have you seen that little button on the right top of this page called search? wink.gif

and if you click it, and you enter the words 'php email script form'

You might have landed on THIS topic

http://www.astahost.com/index.php?showtopic=3771&hl=

The moral of the story, use the almighty search, it is there to be used. Please use this function first because else the forum will be filled with topics about the same stuff

TOPIC CLOSED

edit: hmm whoops micro beat me to this

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Similar Topics

Keywords : forms

  1. Fun With Javascript And Forms
    Lets have some fun with javascript! (2)
  2. Forms Or Frames?
    Which to use? (9)
    Ho do I decide if I should use a form to space out my page or a frame? Ive looked up both but Im not
    quite sure which way to go about it! My website is HTML based but the newer pages also contain php.
    Basically, I want to put a block of links on the left side but keep them seperate from the rest of
    the page! I think im meant to use forms, but do i start by defining the form? How do I specify
    which form Im working with? Thanks....
  3. Backing Up User Forms As Static HTML
    (5)
    System: Activity System for use in Universities Users: Faculty members Scenario: User fills out a
    list of activites they participated in. Example: A faculty member attended a seminar about Object
    Orientated Programming. They record that seminar into their records by filling out a form and
    adding that activity into the database and identifying it with a designed term id. Spring terms are
    different than fall terms etc etc. We want to create html snapshots of these forms that can be
    included by a simple include('oldForm.html') into another form for review. ....
  4. Pixel Art Project - Creation From Scratch
    Humanoid forms (13)
    OK. I am putting it here so I can have a record of the gradual process I am going to follow to
    create a handful of Pixel Art works. I am strating a particular Pixel Art project for which I need
    to first create a base. I will be using this to create other bases - and thus it is a bit with
    lesser details. The next set of bases I would be doing would be of more detail. So, just for
    record, here is the deviant art link to the image: http://www.deviantart.com/deviation/39169461/
    Reference photos used from stock photos and other artists to get the proportion and some am....
  5. Advanced Form Question
    Advanced Forms (0)
    Alright...this might be a little hard to understand, but I'll try to make it as easy as
    possible. http://www.directamish.com/orderform.htm What you will see here is just a form that
    has a javascript to do addition and subtraction and keeps a running total at the bottom of the page.
    I want to keep this part of the form, but I want to add some things to it and I'm not sure how.
    At the very top of the form, I want to have, say, Package 1, Package 2, Package 3 for example,
    all three in radio buttons. Below that, I want to have a list of options, quite a fe....
  6. How Do You Create Web-Forms?
    HOw the hell!!! (8)
    ok im new to the web creations scean and i ahve no idea how to do forms everything i try it tells me
    that iv not done it right but then again its proberly FP which i hate but hey u gotta do what you
    gota do ok so can anyone help me?....
  7. New Features In Visual Studio 2005 Windows Forms
    (1)
    i dunno if all of u are by now well versed with the new exciting features in visual studio 2005
    forms, but for me this article was enlightening. for the benifit of others who wre in the dark like
    me.... New Features in Visual Studio 2005 Windows Forms QUOTE The little voice in my head
    shouted "Don't do it! Don't do it!" as I contemplated using the worn out cliché "Good things
    come to those who wait" to describe the experience of designing Windows applications with Visual
    Studio 2005. However, that cliché accurately communicates the idea that building Wi....
  8. How To Get Two Web-forms To Work Together ?
    (7)
    Does anyone know how to get two forms to work? I have a login on the navigation bar and a
    commenting box on the middle table. However, the sumbit button in the commenting box responds the
    login form. If not, is there a way to get something like this to work: A login and a commenting
    box.....
  9. Creating Forms? :s? Help!
    (2)
    Hi seeing as i SUCK at web building i need help. ok what i'm trying to do is, if i press a link,
    a new small window will show up in which there is a form In the form you have to enter the
    following details FirstName: Last Name: Account Number: (starting with RVRP) Date Deposited (format
    MM/DD/YYYY) Date Completed (format MM/DD/YYYY) Email Address: Amazon: (choice between Amazon.com ,
    Amazon.ca , Amazon.co.uk) drop down menu would be good for this. and a submit button which will
    send the details to my email. once its done, a "warning" type window should show up sa....
  10. Switching Forms - VB.NET
    Some VB.NET Basics (2)
    When I started coding in VB.NET I was unsure of how to switch forms at a click of a button or any
    other event. So for anyone with the same problem this is for them. First you must have at least two
    forms in the project. If you do not know how to add forms to a project heres how: 1) Under the
    "Project" Menu select "Add Windows Form..." 2) In the dialog box that pops up near the bottom you
    will see "Name:" with a textbox beside it. In the text box type the name of the new form. For this
    example we will just use the default name, "Form2.vb" 3) Click "Open" You now have....
  11. How To: VB.NET Pop-up Docking Forms
    (1)
    Background I recently had the need to add a few panels to a program that I have been working on.
    The panels did not need to be shown all the time and I didn't want to spawn a new form everytime
    I needed to see the extra panel. Additionally, I wanted the new panels to dock to the side of the
    main form so they would not cover the main content. My program needed three seperate areas, a debug
    window, options window, and of course the main window as shown in Figure 2. Figure 1 After quite
    a bit of experimenting I decided to show/hide forms that were loaded with ....
  12. Php Forms
    (3)
    Sorry guys but i dont know how to add php forms can some1 help me plz....
  13. Dynamic Forms
    How to.. Create Dynamic Forms (1)
    I was making a search about Dynamic Forms and I found this page info very useful. Hope it will be
    very useful even for you /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' />
    Create Dynamic Forms ....
  14. cgi forms
    (0)
    if u know how to make forms but don't know how to use cgi well go here and sign up and u will be
    able to have a form that some fills out on your site to be sent to your email addrese go here
    http://cgi.tripod.com/allforms/cgi-bin/main.cgi ....

    1. Looking for forms






*SIMILAR VIDEOS*
Searching Video's for forms
advertisement




Forms



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE