HTML - Simple Basic Php Email Script
Im at the end of my line here, As crazy as this may sound I cant seem to get this to work. All I want to do is have a user input and email address, that will then post, on submit to a email account I have. I have tried (seriously) about 15 different tutorials and even a few already completed codes, and I only got it working once, then I deleted the code my accident...
Anyways I need a very basic code that I can input into my page that will enable the above. And yes my server accepts PHP Iv checked and rechecked this, For some reason I just dont seem to get on with PHP. Iv been at this for a week?!? Please im going crazy here, help please.......... Similar TutorialsIs there a basic html code or script i can enter to just make a mailing list form? as simple as a tab for entering your name and a tab for e mail address and then having it sent to an email?.....the site im using hostmonster.com has PHP but im pretty much clueless on setting up a mailing list with it...and ive been reading a good amount but its confusing... al i want is a form with name and e mail entry which is then sent to my main e mail address..any help i would really appreciate it, its driving me crazy!! Basically, I am using a site that only allows its members to add basic HTML (not scripts or JS or CSS) in its layout. I have done a lot of stuff already, but I have a question if what I want to do in the diagram below is possible just with HTML. It is basically pretty simple, except that I can't seem to get the code to work to make only part of a page (specified area/rectangle) a certain background color or image and then still be able to embed a couple image URL's (buttons) on top of it, as well as formatted text I choose. Does it have something to do with using <div> code? If I can get the images (as buttons) mounted against that area/rectangle, I'm pretty sure I know how to make them hot links to another site. However, the final kicker is I want the buttons to be a default image normally, but then switch to another image of the same size when someone mouses over it, and that when clicked is also the hot link to the URL . That is the part I know little about. Is anyone here genius enough to just look at my diagram and write me the code, and just substitute generic values for where I'd put the specific image URL's, text formatting and parameters I specify? I hope this diagram helps, thanks a lot to anyone who can do this for me!!! The website I am working on is he http://radarcartoons.com/test/test.html I want each of those "blips" to change to the other pictures I have of them lit when you rollover it, but I can't figure out how to do a rollover script for multiple images on one page. The names of my alternate files are the same as the regular ones, except they have an _lit.jpg after them. So if it's 2.jpg, then the lit one would be 2_lit.jpg. I will also of course want to make them links to pages which i still have to make, but maybe the code just to make them links and an example link could show me how to get it working. Thanks a lot to anyone who can help me out on my big request! I have a form field which is supposed to send the input email address to my client's inbox. I am using GoDaddy hosting, so the form action is "gdform.asp". but when the submit button is hit, it loads a page called www.amazingwomen.org/gdform.asp (which is clearly not a real page). I can't figure out why it would do this! Here is the code: <div id="email" style="position:absolute; top:233; left:30; z-index:3;"> <form action="gdform.asp" method="post"> <input type="hidden" name="subject" value="Amazing Women Newsletter Subscription"> <input type="hidden" name="redirect" value="http://www.amazingwomen.org/index.html"> <input type="text" name="Email" value="your email address" id="email"> </div> <div id="submit" style="position:absolute; top:231; left:190; z-index:3;"> <input type="image" name="submit" src="img/gobut.gif"> </form> </div> I just noticed that the submit button is in a separate <div>. Could this be causing the problem?? Thanks in advance for any help!! >>>I tried putting the submit button in the same div and I still have the same problem :S I need for the form to send the info and then redirect back to the same page (or not at all). I've basically got 2 boxes, one is email, one is name, and then a submit button. It may be stupid, but I can't link them together (as 1 form). They have images inbetween them so I can't seem to link the code so they all work together? Any ideas? Hey everyone, I am trying to get the form on the following page to send me an email with an attached file. What am I missing? http://c-41productions.com/Helen/CrewApplication.php Hello guys, Can anyone help me with a simple form. I need a form like this: A box where the user can enter his email adress. Under it a button: Send this to my email The function will be that a certain text is sent to his email adress. The text is one I choose before. Thanks guys! What is a good, simple and secure example code to send a contact us form? If I use html it warns the user that the connection is unencrypted and in internet explorer makes you creat an email account in order for the form to be submitted. I just want to send a few text area values to my email as a contact us form. Thanks! hi there - longtime reader, first time writer, etc. i'm looking for how to create a page script in html - nothing fancy - for a user to enter an email address that in turn automatically emails them back with a form letter or link. any ideas? Guys , can you help me with a script for the requirement below? I need an email sending script with 2 fields and a button. The first one is number , and second is msg. Number field should only have 10 numbers only, and should verify whether it begin with zero. The msg field should have only 135 charactors. When people type a number and a msg , the email should be sent with details below...! From : blank if possible. If not , smsmaster@esecrets.tk To : 9471xxxxxxx@sms.Mobitel.lk (xxxxxx means the last 7 digits of what people entered in number field. Subject : -no subject- msg : sms.eSecrets.tk xxxxxxxx...... X letters are to the msg field... After people press the button , SEND , it should send msg immeadiately and should return to the url below : m.eSecrets.tk/confiremed please email the script to AyeshLakmal @ gmail . com. Thank you very much. I have next to no experience with HTML, but I'm hoping someone will quickly help me out here. What I'm trying to do is write a small, simple script that will let me reload a link in a window every set amount of seconds. It's not reloading an actual page, but a link that does an action, so it just has to load this link over and over again. Anyone know how to do this? I'm sure there's a very simple way to do it that I don't know and couldn't find. Thanks in advance! Hello, I got a program, but I am unable to execute it, the addition of two variables is not executing in the output, I am unable to find the mistake in the program, plz any one find it and let me know the mistake.. Here is the Program ***************************** <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <script type="text/javascript"> var firstnum,secondnum,num1,num2,sum; fistnum = window.prompt("enter the first number","0"); secondnum = window.prompt("enter the second number","0"); num1 = parseint( firstnum ); num2 = parseint( secondnum ); sum = num1 + num2; document.writeln("<h1> the sum is "+ sum + "</h1>"); </script> <body> <p> Click Refresh (or Reload) to Run the script once again </p> <!-- <input name="submit" type="button" onclick="document.writeln();"--> </body> </html> *********************** Ok, basically here is the run down of what I am looking for this script to do. Code: http://www.thisisjustanexamplesite.com/stats=XXXX-XXXX-XXXX (X's representing numbers) All I want is the webpage to just show a text field and a submit button. So when the user puts in the numbers in the text field and hits submit, it automatically will put the numbers he put into the text field on the end of that link mentioned above and then take them there. I'm thinking it should just be simple HTML but possbily PHP maybe, not sure. Any help would be appreciated! script completed, thx Hi, I want to put in a form to get queries from the user, like so: Name: Email: Comments: 'Send' button and that it will send the information to my email address which is gmail? Thanks Hi, i have been asked to create a page for an existing website. I have created the page using one of the site pages html code, basically i just copied the html layout, and added my own pics/words, and saved it on my computer. What have to do now is get this page to the website administrator. What is the best way?. I tried to upload to a server without success. Can it be emailed?. All i need is for the website admin to view the page so hey can add it to the site. Sory to bother you with simple stuff, Thanks, Tom. I got this code (below) from an html tutorial and added into mt index page and my css file. And all that shows on the web page is CONTENT GOES HERE. I guess I need a corner image named box-bg? Can you help me with one? And how do I add a light-grey, thin border around the box? Thanks. Code: In index page: <div class="box"> <div class="topleft"> <div class="topright"> <div> CONTENT GOES HERE </div> </div> </div> <div class="bottomleft"> <div class="bottomright"> </div> </div> </div> and in CSS: .box div.topleft { display: block; background: url("../images/box-bg.png") top left no-repeat white; padding: 2.0em 0em 0em 2.0em; } .box div.topright { display: block; background: url("../images/box-bg.png") top right no-repeat white; padding: 2.0em; margin: -2.0em 0 0 2.0em; } .box div.bottomleft { display: block; height: 45px; margin-top: -2.0em; background: url("../images/box-bg.png") bottom left no-repeat white; } .box div.bottomright { display: block; background: url("../images/box-bg.png") bottom right no-repeat white; height: 45px; margin-left: 3.0em; } hi there, i have a basic page layout written consisting of 3 tables. however, i have a queery. How would i go about putting a line break between the top table (the banner table) and the second table (links) and the same again between the second and third (content) tables. I've provided my code below. Thanks Stuart <body> <center> <table id="shell" title="Shell" height="250" width="100%" border="0" bgcolor="black" cellspacing="1" cellpadding="0"> <tr height="50"><td bgcolor="white"> <table title="banner" id="banner"> <tr><td>Banner goes here</td></tr> </table> </td></tr> <tr height="25"><td bgcolor="DFE6EF"> <table title="Navigation" id="navigation"> <tr><td>Links!</td> <td>Links!</td> <td>Links!</td></tr> </table> </td></tr> <tr><td bgcolor="white"> <table title="Content" id="content"> <tr><td>Content goes here</td></tr> </table> </td></tr></table> </body> </html> Hello i hav my own small website that i use for shortcuts for a webiste i use and have this in firefox using the "load this bookmark in the sidebar" option. So what i want is when i click the link in my sidebar that it opens in the tab i have opened and not in the sidebar if you get me. Any help would be welcomed. thanks hi. i have found a site that displays their images the way i want to http://www.ukhotelsupplies.co.uk/ i want 3 rows and 3 columns of pics with a text lable above it whats the best way of doing this please. a table would be easy but people say not to use them. thanks |