Citezyne 0 Report post Posted May 19, 2006 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? Share this post Link to post Share on other sites
dhanesh1405241511 0 Report post Posted May 19, 2006 Do you want help to make a form or correct a specific form made by you ? .. i just came back from university .. so will lay back awhile and write a tutorial for you on forms .. till then > THIS < could help you start.RegardsDhanesh. Share this post Link to post Share on other sites
Citezyne 0 Report post Posted May 19, 2006 ok well what i realy want specificly is a form that people fill in that i can then use to place them on my news letter list, basicly a form that will email me the details of what they enterd into it so i can then take it and use it for the news letter and a also one that sends them an email to say that i recived it Share this post Link to post Share on other sites
Houdini 0 Report post Posted May 19, 2006 Well I use PHP and you have PHP also here at Xisto so here is a working script that is real basic but will do what you want I believe.newsletter.php <?php //A basic Form named newsletter.php ?><h3>Would you like the newsletter from the site?</h3>Use the form below.<br /> <form action="news.php" method="post">First Name: <input type="text" name="first"><br />Last Name: <input type="text" name="last"><br />E-mail: <input type="text" name="email"><br /><input type="submit" value="Continue!" name="check"></form>news.php<?php if(isset($_POST['check'])){ $date =date('M d, Y h:m'); $from=$_POST['email']; $name= $_POST['first']." ".$_POST['last']; $message ="$date<br /><br /><b>$name</b> has just signed up for the newsletter<br />This is the notice that they have done this. .<br />Their e-mail address is <b>$from</b>."; //echo $message; uncomment to TEST and comment the header()at the bottom $headers = '(anti-spam-(anti-spam-mime-version:)) 1.0' . "\r\n"; $headers .= '(anti-spam-(anti-spam-content-type:)) text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: '."$from\r\n"; mail('yourmailaddy','Newsletter Signup',$message,$headers); header("location: emailLetter.php");} else{ header("location: newsletter.php");}?>Unfortunately the antispam feature of Xisto is messing up this code but if you want a working one I can provide it. Share this post Link to post Share on other sites
Citezyne 0 Report post Posted May 20, 2006 great thats realy cool ill give it a go but i need help with one more thing... how do i install it to get it to work with my site, im realy dumb when it comes to this ckind of stuff Share this post Link to post Share on other sites
iGuest 3 Report post Posted May 20, 2006 At Xisto, there is no need to install PHP or anything like that, your hosting account comes pre-installed with PHP. (I dont know which version of PHP, as its been a long time since I had a hosting account here!)If you were talking about installing the script, you just need to paste it into your webpage, edit some stuff (like ['email'], ['first'], etc..) and then view it using your favorite web-browser and it will be done. If you encounter any problems, then there is something wrong with the code. Share this post Link to post Share on other sites
doudou 0 Report post Posted July 1, 2006 (edited) An easy way to day this without all the code mumbo jumbo is to sign up with a server that host a plugin. An example is http://www.hotplugins.com/ Just sign up an use their form mail which seem to be exactly what you require. And later if you decided that you need more feature they have guest books, forums etc… I am just listing an example since there are a lot of sites out there like HotPlugIns, and I’ve not tried this one personally. Edited July 1, 2006 by doudou (see edit history) Share this post Link to post Share on other sites
cj2005 0 Report post Posted July 1, 2006 Yeah, http://www.bravenet.com/ provide a similar feature.Take a look, you get can forums hosted, guestbooks, hit counters, visitor maps and loads more Share this post Link to post Share on other sites
vujsa 0 Report post Posted July 2, 2006 There are also several very good pre-written scripts in Fantastico in your cPanel that may be of help. - PHPlist is a mailing list script. - ViPER Guestbook is a guestbook script.Also there are several CMS scripts which allow for complete Content Management including news, F.A.Q., links, user authentication, forums, etc... Most of these have the option to send an email/newletter to all of your members.Hope This Helps. :(vujsa Share this post Link to post Share on other sites