Nov 21, 2009

Formmail Without Scripting - Same as above

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Scripting > Miscellaneous Scripting Languages & Ideas

Formmail Without Scripting - Same as above

hast-webben
Hi

Once opon the time I did use an simple formail witout any script. I can't exactly remember how I did done. But something with post and then my email adress. Does any remember this poor solution???

Thanks
Cheers!

Jens

Comment/Reply (w/o sign-up)

miCRoSCoPiC^eaRthLinG
Yaah I surely do - I've mailed myself so many form feedback in this ultra uncouth way wink.gif

Here it goes: <form action="mailto:you@youremail.com" method="post">

Comment/Reply (w/o sign-up)

vizskywalker
Follow up question: with the "action = mailto" form I haved used the get method instead of post in the past. With a mailto form, what is the difference between these two methods?

Comment/Reply (w/o sign-up)

miCRoSCoPiC^eaRthLinG
No, as far as I know, it's the POST method that you should use with mailto:.

Read this:
QUOTE
    If the processing of a form is idempotent (i.e. it has no lasting observable effect on the state of the world), then the form method should be GET. Many database searches have no visible side-effects and make ideal applications of query forms.
    - -

    If the service associated with the processing of a form has side effects (for example, modification of a database or subscription to a service), the method should be POST.

Source: HTML 2.0 Specification - Form Submission Section


Follow it up with the definition of idempotent:
QUOTE
Methods can also have the property of "idempotence" in that (aside from error or expiration issues) the side-effects of N > 0 identical requests is the same as for a single request.
Source: RFC2616


The difference between "GET" and "POST" is that the former means "form data is to be encoded (by a browser) into a URL" while the latter means that the form data will be put in the message body. So mailing the form would require POST while GET would encode the whole form as arguements to the URL that form loads after Submit it hit.

However, it is recommended that you use the "GET" method when the form processing is "idempotent" only. In short, "GET" is for just getting (retrieving) data whereas "POST" may involve anything, like storing or updating data, or ordering a product, or sending E-mail.

Hope this helps smile.gif

 

 

 


Comment/Reply (w/o sign-up)

vizskywalker
QUOTE
The difference between "GET" and "POST" is that the former means "form data is to be encoded (by a browser) into a URL" while the latter means that the form data will be put in the message body.


I thought it was the other way around, thanks for letting me know (I just tested it to make sure you were right, no wonder I've always used POST for logins).

Comment/Reply (w/o sign-up)

Samya
hmmm ...
the mailto Function is not too good .....

Well if u dont wanna use the Scripting urself ...

Than why dont u use some Remotely Hosted Scripts ....

U can try Black Fire Networks ..

Here u can find a CGI Based Form-Mail ...
the good thing is that they dont even place Ads on ur Website smile.gif


**** All Appreciations and Criticisms are welcome ****

Regards:
Samya Khalid

Comment/Reply (w/o sign-up)


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*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : formmail, scripting

  1. Bash Shell Scripting: Comparing Directories
    (11)
  2. Best Way Of Learning A Scripting Language?
    (7)
    I was going to wonder what is the best way to learn a scripting language. I mean there are tons of
    different ways including buying Books on internet of that langauge. You can also take tech
    classes,or even internet classes, or best way to just learn by yourlself? Ive been messing alot
    lately with Macromedia MX director. Ive been learning its scripting language called Lingo, but ive
    just been learning from messing with source codes and server scripts. Is the best way trial and
    error and repeat?....
  3. How To Add A Scripting Language To A Program ?
    (12)
    Notice from vujsa: Edited Post! Please do not post email
    address here or request that help be sent via email. Replies should be made in the form of posts so
    everyone may learn from your question. Does anyone have any experience adding a scripting
    language to a program they are writing? I have one project I'm working on that needs a
    scripting language, and I would like to simply add an existing language to my program. I know how
    to use Perl, Tcl/Tk, Python, and others... but I don't know how to tie one of them into my....
  4. mIRC Scripting
    mIRC (0)
    What script is mIRC written in as i would like to know here's an example of a peace of its
    script: #capsprot on on ^*:TEXT:*:#:{ if ($nick == $chan) halt if ($$ial($nick $+ *,1).addr
    == $read(protect.txt, w,* $+ $$ial($nick $+ *,1).addr $+ * )) return if ($nick isowner #) halt
    if ($nick isop #) halt if ($len($1-) var %caps.letters = $calc($len($1-) + 1 -
    $len($removecs(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z))) var %caps = $calc($len($1-)
    - $len($removecs($1-,($1-),A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z))) var %caps.perc....
  5. mIRC Scripting
    Is there any scripters in here? (6)
    I am wondering if there is more than me who script mIRC.. If there is please share your scripts and
    screens. Here you can find a screenshot of my newest creation "flipIRC". Tell me what you
    like/dislike /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
    /flippys --------moved this from What Is... to here, as this place is more appropriate and should
    get you more responses /wink.gif" style="vertical-align:middle" emoid=";)" border="0"
    alt="wink.gif" /> --------szupie....

    1. Looking for formmail, scripting

See Also,

*SIMILAR VIDEOS*
Searching Video's for formmail, scripting
advertisement



Formmail Without Scripting - Same as above

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com