Jump to content

roy0810

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by roy0810

  1. If I understand it right: The buttons are images (jpeg or png) If thats the case... put it like this: <a href="location of your/home.php"><img src="location of your/buttonimage.jpeg" alt="homebutton" /></a> If you gor this right.. your next question will be: How do I get rid of the blue box aroubd the button? answer: 1. insert the following in your .css : img { border: none; } OR: 2. insert the following in your img tag: border="0"
  2. Thank you .... I'll try this and see if it worked!
  3. Heey.. thanks for your input! Only problem here is that I'm a really noob with php.. Normally this is not what I do on the websites.. But in this case i'm stuck with this work.. So. Not only I dont have a clue of what your saying and I'm not even aware of where to put the --issset part your script.. Maybe, if you want you can help me more specific.. Cheers
  4. Sorry... This is the HTML that belongs to it. In the head part of the html: <script type="text/javascript"> <!-- function MM_validateForm() { //v4.0 if (document.getElementById){ var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments; for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]); if (val) { nm=val.name; if ((val=val.value)!="") { if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@'); if (p<1 || p==(val.length-1)) errors+='- '+nm+' is geen geldig email adres.\n'; } else if (test!='R') { num = parseFloat(val); if (isNaN(val)) errors+='- '+nm+' mag alleen getallen bevatten.\n'; if (test.indexOf('inRange') != -1) { p=test.indexOf(':'); min=test.substring(8,p); max=test.substring(p+1); if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n'; } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' invullen aub!\n'; } } if (errors) alert('Sorry!\n'+errors); document.MM_returnValue = (errors == ''); } } //--> </script> The last field of the form looks like this: ><label><input name="verzenden" type="submit" id="verzenden" onclick="MM_validateForm('naam','','R','bedrijf','','R','email','','RisEmail','tel','','NisNum','mobiel','','NisNum','vraag','','R');return document.MM_returnValue" value="Verzenden" /> </label>
  5. Hello guys, I really hope you can help me out with this annoying problem.. On my website I have a simple Mailform. It works ok.. It sends the input perfectly to my mailbox.. BUT, Every now and then.. (once a day) I find a empty form in my mailbox. Is this the work of a spambot? r is something wrong with my mailform? Really hope you guys can point me in the right direction.. Cheers <?php /* Titel en send to email adres */ $emailTitle = '*****'; $webMaster = 'XXX@XXX.com'; /* Textfield namen */ $naamField = $_POST['naam']; $bedrijfField = $_POST['bedrijf']; $emailField = $_POST['email']; $telefoonField = $_POST['telefoonnummer']; $opmerkingenField = $_POST['vraag']; $body = <<<EOD <br><hr><br> Naam: $naamField <br> Bedrijf: $bedrijfField <br> Email: $emailField <br> Telefoon: $telefoonField <br> Opmerkingen en vragen: $opmerkingenField<br> EOD; $headers = "From: $emailField\r\n"; $headers = "Content-type: text/html\r\n"; $success = mail($webMaster,$emailTitle,$body,$headers); $theResults = <<<EOD
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.