Hello programmers. I will be promoting my site at a trade show and this is what I would like: 1. Simple script where people can type in their email address and it is saved to a databse. 2. I can then ask the script to pull a radnom email address from the database for a prize winner. Is there anything like this out there? Thanks in advance.
Using forms in Excel you could do that pretty easily, with no need for website programming etc. If you were able to connect to the net it's a very easy script again.
I could code this in a day if you're interested, but I would search google first. I'm sure there is something like this out there.
Yep you were right. I have found contest software from $20 to $189 (http://www.dmxready.com/productdetails.asp?mid=5&mid2=&ItemID=145). Thanks!
If anyone has a Online Contest Manager (http://www.dmxready.com/productdetails.asp?mid=5&incid=11&ItemID=145) license they want to sell me please let me know.
hello here is a lite script maybe help you /////////////// CREATE A FILE email.txt (chmod 666) /////////////// FORM TO ADD EMAIL IN LIST <?php if(isset($_POST['m1'])) { // CHECK EMAIL if (!ereg("(^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@([a-zA-Z0-9-]+\.)+([a-zA-Z]{2,4})$)", $_POST['email'], $adress )) { $_rerror= "Valid email please"; } // CHECK IF EMAIL EXIST $_emaillist=file("email.txt"); if(in_array($_POST['email'],$_emaillist)) { $_rerror= "Sorry email already in list"; } if(empty($_rerror)) { $fpq = @fopen("email.txt", 'a'); @fwrite($fpq, $_POST['email']."\n"); @fclose($fpq); $_allareok="Thanks for submit "; } } ?> <?=$_allareok;?> <form action="" method="post" enctype="application/x-www-form-urlencoded"> <input type="text" name="email" size="50" maxlength="150" /><?=$_rerror;?> <p><input type="submit" name="m1" value="submit" /></p> </form> //////////////// RAND SCRIPT DISPLAY EMAIL FROM LIST <?php $_emailn=file("email.txt"); for($i = 0; $i < 1; $i++) { srand((double)microtime()*1000000); // randomize $_n = (rand(1, sizeof($_emailn)) - 1); //Pick random qoute echo $_emailn[$_n]; } ?>