Hey i need a event registration form done. It needs to be linked with paypal to process the payment, and also needs to send me all the info collected on the form to a specified email or multiple emails which can be easily defined in the script! There is also a discount code that would reduce the price of the registration fee, which i need to have these codes editable in the script easily! All the codes offer same discount, they are just unique to our members. Pricing of the item in the form is described below. Here is what the form looks like http://midwesttreffen.com/ver1/show_registration.html All the fields that are on there are correct. All fields are required except for: member number (discount) license plate license plate state issued The amount of the registration is $20.00 and if you enter a valid discount code it is $10.00. Sounds easy? We are a non-profit organization, but i will pay $50 by paypal instantly upon accepting the project to whoever completes it in the 24 hour period. I do have to review the project and test FIRST, before i make the payment, as this is coming out of my pocket!
lol I may be already too late, but I sent you a PM. I'll post the source here if someone already beat me. XD
i already sent you a reply rainulf.. just to reexplain the project here is one more description: i need to see a full functional demo that i can test, make sure that everything works as needed. our organization has been scamed in the past.. im not saying that you will, but i just need to take pre-cautions? is that possible? want to finish up the site by sunday. also i need to be able to customize the script to change the amounts, and discount amount becuase i will use it in multiple places on the site, which the amount varies in. also you do understand the discount part correct? its pretty simple, if the code entered matches they get 10$ off, and if no code is entered they pay the full $20. i need to be able to myself manually add in the discount codes into the script my self so make sure of that, because we have about 50 members that are eligible for the discounts, and they each have a unique member id number which will be the discount code. also all information on the form needs to be emailed to a specified email address/s, and the pay pal page needs to reflect a particular item name, which also needs to be customizable in the configuration file. one last thing, once the payment is complete with pay pal the users need to be redirected back to a page which lists the confirmation stating that they are registered, and if possible have their information on that page along with the transaction id from pay pal so they could print it.. like i said if possible to.. if not just redirect to a page stating that the payment is complete and registration is received just make sure that everything is as described, and that all the fields are required besides the ones i mentioned that are not.. and one last thing, also in the configuration files make sure it is easy to edit the pay pal account address as in the email that receives the payment thru the pay pal. and the most final thing, this needs to be a secure script, cause i don't want to hackers attack
I'm very busy right now, I only did this for 15 mins because I had free time, it does about 65% of your description: form.php <html> <head><title>Form</title></head> <body> <form action='form.php' method='post'> <table> <tr> <td><table> <tr> <td>First name: </td> <td><input type='text' name='fname' /></td> </tr> <tr> <td>Last name: </td> <td><input type='text' name='lname' /></td> </tr> <tr> <td>Phone # format: (xxx) xxx-xxxx </td> <td><input type='text' name='phonenum' /></td> </tr> <tr> <td>Email: </td> <td><input text='text' name='email' /></td> </tr> <tr> <td>Address: </td> <td><input text='text' name='addr' /></td> </tr> <tr> <td>City: </td> <td><input text='text' name='city' /></td> </tr> <tr> <td>State: </td> <td> <select name="state"> <option value='' selected='selected'>None</option> <option value='AL'>Alabama</option> <option value='AK'>Alaska</option> <option value='AZ'>Arizona</option> <option value='AR'>Arkansas</option> <option value='CA'>California</option> <option value='CO'>Colorado</option> <option value='CT'>Connecticut</option> <option value='DC'>District of Columbia</option> <option value='DE'>Delaware</option> <option value='FL'>Florida</option> <option value='GA'>Georgia</option> <option value='HI'>Hawaii</option> <option value='ID'>Idaho</option> <option value='IL'>Illinois</option> <option value='IN'>Indiana</option> <option value='IA'>Iowa</option> <option value='KS'>Kansas</option> <option value='KY'>Kentucky</option> <option value='LA'>Louisiana</option> <option value='ME'>Maine</option> <option value='MD'>Maryland</option> <option value='MA'>Massachusetts</option> <option value='MI'>Michigan</option> <option value='MN'>Minnesota</option> <option value='MS'>Mississippi</option> <option value='MO'>Missouri</option> <option value='MT'>Montana</option> <option value='NE'>Nebraska</option> <option value='NV'>Nevada</option> <option value='NH'>New Hampshire</option> <option value='NJ'>New Jersey</option> <option value='NM'>New Mexico</option> <option value='NY'>New York</option> <option value='NC'>North Carolina</option> <option value='ND'>North Dakota</option> <option value='OH'>Ohio</option> <option value='OK'>Oklahoma</option> <option value='OR'>Oregon</option> <option value='PA'>Pennsylvania</option> <option value='RI'>Rhode Island</option> <option value='SC'>South Carolina</option> <option value='SD'>South Dakota</option> <option value='TN'>Tennessee</option> <option value='TX'>Texas</option> <option value='UT'>Utah</option> <option value='VT'>Vermont</option> <option value='VA'>Virginia</option> <option value='WA'>Washington</option> <option value='WV'>West Virginia</option> <option value='DC'>Washington D.C.</option> <option value='WI'>Wisconsin</option> <option value='WY'>Wyoming</option> </select> </td> </tr> <tr> <td>Zip:</td> <td><input type='text' name='zip' /></td> </tr> </tr> </table></td> <td valign='top'><table> <tr> <td>Class:</td> <td> <select name="class" id="class"> <option value="A1">A1 - Golf/Jetta/Caddy/Cabriolet/Scirocco I & II</option> <option value="A2">A2 - Golf/Jetta/Corrado (MK2 Platform)</option> <option value="A3">A3 - Golf/Jetta/Cabrio (MK3 Platform)</option> <option value="A4">A4 - Golf/Jetta/Cabrio (MK4 Platform)</option> <option value="A5">A5 - Rabbit/Jetta/EOS (MK5 Platform)</option> <option value="A6">A6 - Golf/Jetta (MK6 Platform)</option> <option value="VW B Platform">VW B Platform - Dasher, Quantum, Passat & CC</option> <option value="Other VW">Other VW</option> <option value="Early Audi A4/S4/RS4">Early Audi A4/S4/RS4</option> <option value="Late Audi A4/S4/RS4">Late Audi A4/S4/RS4</option> <option value="Other Audi - Audi A3, A5, A6, A8, TT, etc">Other Audi - Audi A3, A5, A6, A8, TT, etc</option> </select> </td> </tr> <tr> <td>Year:</td> <td><input type='text' name='year' /></td> </tr> <tr> <td>Make:</td> <td><input type='text' name='make' /></td> </tr> <tr> <td>Model:</td> <td><input type='text' name='model' /></td> </tr> <tr> <td>Discount code (optional): </td> <td><input type='text' name='discount' /></td> </tr> </table></td> </tr> </table><br /> <input type='submit' value='Submit!' /> </form> <?php include 'config.php'; $emailnum = count($email); if ( isset($_POST['fname']) && isset($_POST['lname']) && isset($_POST['phonenum']) && isset($_POST['email']) && isset($_POST['addr']) && isset($_POST['city']) && isset($_POST['state']) && isset($_POST['zip']) && isset($_POST['class']) && isset($_POST['year']) && isset($_POST['make']) && isset($_POST['model']) ) { $msg = "First name: " . $_POST['fname'] . "\n" . "Last name: " . $_POST['lname'] . "\n" . "Phone Num: " . $_POST['phonenum'] . "\n" . "Email: " . $_POST['email'] . "\n" . "Address: " . $_POST['addr'] . "\n" . "City: " . $_POST['city'] . "\n" . "State: " . $_POST['state'] . "\n" . "Zip: " . $_POST['zip'] . "\n" . "Class: " .$_POST['class'] . "\n" . "Year: " . $_POST['year'] . "\n" . "Make: " . $_POST['make'] . "\n" . "Model: " . $_POST['model'] . "\n"; if ($discount == $_POST['discount']) echo $paypal10; else echo $paypal20; for ($i = 0; $i<$emailnum; $i++) mail($email[$i],"Registration: ".$_POST['email'],$msg); } else echo "<p>Please fill required fields.</p>"; ?> </body> </html> PHP: config.php <?php //by: Rainulf //date: jul 24 //requirements: php+email configurated $discount = "watever"; // your discount code goes here $email = array ( // email(s) - where the registration info to be send "email1@domain.com", "email2@domain.com", "email3@domain.com", "email4@domain.com" ); /* paypal $20 and $10 are here. do NOT change to single quotes because paypal use double quotes, we use single quotes to properly close everything */ $paypal20 = ' '; $paypal10 = ' '; ?> PHP: I suggest that you visit ScriptLance for a professionally made one. If you're worried of getting scammed again, just check their reputation if they indeed do their job properly.