I jus started a site. designing on my own , personal some 5 webpages in MS Founder. successfully uploaded to be able to my webserver. there i can have the capacity to navigate between webpages.
i put a THREE OR MORE column form viz title, email, country with submit and recast buttons.
now how to get the data filled inside fields to my own email account. means to yahoo, gmail or even rediff account
i am totally new to the present so kindly instruct me detail by detail. if i is capable of doing it thro ms publisher itself its well and fine. or dreamweaver also i can manage
thanks a ton
You need php to start this.
May be the form made effectively I. e.
< kind action=" " method=" post" > < source type=" text" name=" email" maxlength=" 255" /> < /form>
Assuming that the form is correctly formed can be done something like this kind of. You can place this for the top of the form file. Please read this resources below even more information.
< php
$viz_name = $_POST'viz_name';
$email = $_POST'email';
$country = $_POST'country';
$mail = "youyoursite. com";
$content = "Viz Name = $viz_name \n\n E-Mail = $email \n\n Country = $country";
mail($email, "Message From Site", $content);
>
http: //uk3. php. net/function. mail
http: //www. w3schools. com/php/php_post. asp
bless you jason.
as insisted by you my organization is starting a different thread.
plus got ur response also.
the first thing jason… as i told earlier my organization is really newbie. dont understand how to write code we jus designed my personal page using mspublisher. following that i inserted labeled, textbox, submit mouse using form command. now when internet preview is dont the actual page is shown neatly. but where ought to be a paste the previously mentioned code. and how to be able to write the php track jus copy the code you’ve given above within a note pad usually editing the e-mail address alone as well as save it as a php file or could it be saved as txt only when i used be aware pad
then i believe i should place the php file with the html files inside same folder along at the server correct
Firstly, could you gives a link website property Could you provide a code sample containing your current form
Can you additionally confirm that there are a web server that supports PHP.
What you deserve to do is put this code on the very top on the page. Above your form and in some cases the < html> licence plate. Then you should change the web page extension from. code to. php
to k jason
i can verywell give an individual the url. it has the www. secretofthesuccess. com
the load page can have a pic plus jus clik where by it says ENTER.
while in the first page itself i put the sign up form within the left side
pls. jason tell me when you visit. andthe webserver suppots php. no doubt.
i feel online only
so if probable pls post some sort of reply immdly if you possibly could.
can i wait….
ALRIGHT, Firstly your enter button isn’t going to work on Firefox, Safari or even Opera. As a result I cannot enter your blog.
Your second problem is ones code. Have you observed the source code for the website Get off whatever you might be using and start employing notepad++. I would become surprised if anything at all worked with the quality of behind the scenes crap going on.
Returning to the problem at hand. Can you connection me directly to the form please.
Bless you.
thank ough jason
my organization is using IE
and when i uploaded the item and enter our site
them works
and i dont recognize wht is notepad++ will it be the one coming with windows
or a no cost software available inside d net
then wht may be the meaning of " on earth do you link me towards the form directly" shoul i send u this fom or the page in html code format to personalized mail.
http: //notepad-plus. sourceforge. net/uk/site. htm
It has the a text manager with syntax showing.
Get Firefox to see enjoy about your web page not working. I use the Mac and thus do not need internet explorer.
Send me towards the page on your site with the form on it. i. e.
online world. yoursite. com/page-with-form-on-it. code
Fired up old laptop in order to complete this for a person.
< php
$viz_name = $_POST'Name';
$email = $_POST'Email';
$country = $_POST'Country';
$mail = "youyoursite. com";
$content = "Name = $viz_name \n\n E-Mail = $email \n\n Country = $country";
mail($email, "Message From Site", $content);
>
Paste that for the very top of contact. htm. Change $mail = to the email address. You should definitely are in code view instead of WYSIWYG. Save archive as. php. Changes links in your website. Upload documents.
If you ever get an mistake post it, if you do not get an error and it still doesn’t operate then I cannot allow you to any further. Your webblog coding is awful. It is among the list of worst things I’ve seen…
I tried to charge your source code for this post to present to you why your computer code is bad.. but it surely is 394KB… My site is definitely 8KB and has much more info on it..