Jul 26, 2008

Dreamweaver Forms - HELP

Free Web Hosting, No Ads > CONTRIBUTE > The Internet > Web Design

free web hosting

Dreamweaver Forms - HELP

nelito0982
Hey guys i am new at this. i am trying to make a form and i want the form when submited go to my email adress..how can i do this? any help please...

Reply

hippiman
For something like that, you need to use php. There are a lot of tutorials on how to do different things with php, and I'm pretty sure there's one on how to do mail with it. There should be something on Google if you can't find it here.
If you're trying to test the file on your home computer, you need to have php installed(most likely with Apache).
EasyPHP is the easiest way to install everything you need for php and mySql(that I know of).

I've never successfully been able to get a mail form to work on my home computer, but everything works on hosted sites here, because they already have everything installed.
According to http://www.freewebmasterhelp.com/tutorials/php/5 you need this:

CODE
<?php
$to = "php@gowansnet.com";
$subject = "PHP Is Great";
$body = "PHP is one of the best scripting languages around";
$headers = "From: webmaster@gowansnet.com\n";
mail($to,$subject,$body,$headers);
echo "Mail sent to $to";
?>


To set one of those variables to equal an input, just make sure everything is all in one form, make some text inputs, set their id to something useful (such as 'body') and set the form's action to be the url of your php file.(HTML and php can be in the same file. Just make sure the php is enclosed in <?php and ?> tags)
Then, instead of having it be "$body = '...'", you set it to "$body = $_POST['body']"(without the double quotes) Then you can do that for whichever other variables you need.
I'm not sure if you're ever supposed to set the 'from' variable for the mail function.

I hope this was helpful, and if anything I've said doesn't work, either ask the other people on the forums, or Google it.

 

 

 


Reply

killer911pt
http://www.webformdesigner.com/

That should do the trick hope you get your site up and running soon!

Reply

nelito0982
Thanks very much, i really apreciate it. Now time to read about Php.

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.
Confirm Code:

Similar Topics

Keywords : dreamweaver forms

  1. What Program Do You Use To Design Your Web? - Frontpage, Dreamweaver, a good text editor? (82)
    I personaly choose frontpage because its easy to use but.....I use dreamweaver for PHP....
  2. Dreamweaver Cs3: How To Link Content To Layers/apdivs - (5)
  3. Dreamweaver Permissions Issue - Access denied when trying to FTP (5)
    Okay, so I was trying to FTP these files over dreamweaver today... and it seemed to be working fine.
    But then, certain files won't let me transfer from my hard drive to the internet, or the other
    way around. It gives me this error message: QUOTE An FTP error occured - cannot put form1.html.
    Access denied. The file may not exist, or there could be a permission problem. Anyway, I know
    that the file does indeed exist. I've opened it on my hard-drive... and it is there. But it
    won't let me upload this one or certain other ones with the FTP. So I went o...
  4. Dreamweaver On Linux - (15)
    dreamweaver on linux I have a little problem, i recently started tu run linux on my
    computer but i can't find any prgram similar to dreamweaver to maintain my site any ideas? ...
  5. What Program Do You Use To Design Your Web? - has another good than dreamweaver ? (226)
    I has use a lot all of macromedia suit like Dreamweaver ultradev4 , 4 , mx , mx2004. Is there
    another good program to design website than macromedia dreamweaver? I just want to try other
    software may be I will get a new idea and effect for my site. PS. don't try 2 answer microsoft
    frontpage hehehe /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /> ...
  6. Dreamweaver Or Front Page Or Other? - which's more professional & user-friendly (108)
    Dreamweaver is founded by Macromedia and Front page is founded by Microsoft. Both are used for
    creating websites. Personally, I am using Dreamweaver MX, it is very user friendly and have great
    support towards other Macromedia softwares like Flash and Fireworks. How about you, what kind of
    software do you use to build your web?...
  7. Dreamweaver Cs3 Help With Php - dunno where to post topic. webdesign based but software? (1)
    i have installed cs3 and its good with html and such but when im previewing .php files its showing
    not connected to internet. do i still need to install php,mysql and such? xamp right?...
  8. Post Forms - How to make a page with posting (1)
    Hey guys i am trying to make a page for posting things. I don't know if you have seen the page
    craigslist.com i would like to do something like that. What do i need to know and is it pure php or
    just html... thanks...
  9. A (hopefully) Simple Dreamweaver Question - (4)
    Hello all. I've been using Dreamweaver for a couple of months now and I'm learning as I go.
    I'm pretty much totally new to making websites so I'm happy with how things are going at
    the moment. I feel there is something super obvious that I can't work out how to do though.
    This is my site. http://www.scottishdreamteam.trap17.com/ I'd like to be able to have like a
    banner down one side so that I could have all of my links in there and possibly the adverts. The
    way it is just now means that I have to push the table and important stuff of the...
  10. Best Design Solution - Dreamweaver or .NET? (3)
    the best way, but mostly the easiest way to design a web site is using Macromedia Dreamweaver 8,
    with extension pack 2. another way is by using Microsoft .NET studio, but it is much difficult. so
    what shoull it be?...
  11. Dreamweaver, Front Page - (23)
    Hey guys I use dreamweaver to code my sites, I heard even though the "hardcore" people dont use it,
    its at least better than front page. And what I was wondering is are there any website
    building/helping tools or programs besides those two? I havent heard of any but I figured there
    might be a few more. The other question I had was ive been hearing alot about CSS and layers. I
    know what CSS is and have been trying to incorperate that into my site when/wherever possible
    However what are layers? And can you reccomend a good book on webdesign? I dont want a "for dummi...
  12. How To Put Javascript And Css In Dreamweaver - (9)
    HI, If anybody worked with dreamweaver, and succesfully used JS codes and CSS in their website,
    please reply and tell me how to, cause when I try too put Javascripts it won't work....I also
    tried to put an textarea with scrollbars in a table...put in design view the content won't stay
    in the widths and heights I typt in...can someone help? thanks ...
  13. Putting In Videos With Dreamweaver - Clicking a link and opening them (5)
    Ive been to numerous sites where people can click on a link and download a video. Maybe its
    something very simple but idont know.... If someone could show me how do this using dreamweaver that
    would be appreciated... also where would i upload the file too... bc its a video, so would it go in
    just the public folder or in picture or what? plz tell me bc ive been wondering about this for a
    while, same thing with a music download link, i suppose they are the same thx in advanced jon...
  14. Dreamweaver - Dreamweaver's a good Webdesigning Studio (22)
    I recently downloaded Macromedia's Dreamweaver 8, and I can say that it is the greatest
    webdesigner that the world has ever seen! The only problem is that it costs too much money in my
    tastes, but otherwise it is perfect! Does anyone know of a webdesigning studio that does not
    cost any money and that can be downloaded off the internet? I tried using Notepad++ (search Google,
    I cannot recall the site) and it is a coder, but not a webdesign. It doesn't actually show you
    what the site will end up looking like, but it shows you colour-coded codes for your sit...
  15. Dreamweaver And Fireworks - How to make an good banner and logo? (6)
    Hi please help me. I got Dreamweaver, Fireworks, and Flash Professinal and they are all the best
    (8.0) how can I get an great or good banner and logo? I still have very stupid ones. Like basic. It
    looks like a kid that drew it. Really. So please if you have any tips, videos, websites, and more or
    teaching me how to be good at makeing Banners, logos, and images. Please help me. /sad.gif'
    border='0' style='vertical-align:middle' alt='sad.gif' /> ...
  16. Frontpage And Dreamweaver - (34)
    Hey, for a few years now I have been using Microsoft Frontpage, and lately the latest one 2003.
    Whenver I go to download a cool website template, it always say "This website template was made with
    Macromedia Dreamweaver". I have tried Dreamweaver from a free trial from www.adobe.com, and did not
    really find a difference. Could you please explain to me what the difference is? And is
    Dreamweaver really better than Frontpage?...
  17. Website Building- E-mail Forwarding & Downloads - Response Forms & downloading zip files (9)
    Hi guys, Am new to designing. How do I : 1) include a popup form on my webpage for the visitor to
    input info & have the info forwarded to my personal e-mail account (not trap17). 2) make links to
    download files (ie. zip etc.) hosted on my website for ftp direct download to the visitors computer.
    (You know, click a link & the file automatically downloads) Any info appreciated !!!
    Tutorials ????????????????? Step by step info ???????????? Thanks in advance RGPHNX...
  18. The Best Tools To Build - good web forms (2)
    Here are the names of the tools to build coll web forms with php, cgi, asp and html: Quask
    FormArtist - Shareware Form1builder Forms-to-Go - This can build asp and php web forms very good
    and easy Asp Dataform - this tool can build web forms easy and connected with databases Webgenie
    cgi star or webgenie guestbook star (This builds guestbooks but you can alsow build web forms)
    Visual form maker Visual form mail Formpal and sitestudio - This tools can build web forms with
    cgi Asp php web application builder - This tool can build web forms with asp and/or php c...
  19. Make Your Web Forms Online For Free - Very good website (0)
    Just go here to make your web forms: CODE www.logiforms.com Register first....



Looking for dreamweaber, forms

Searching Video's for dreamweaber, forms
advertisement



Dreamweaver Forms - HELP



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
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