Jump to content

ben3001

Members
  • Posts

    213
  • Joined

  • Last visited

Everything posted by ben3001

  1. I think this sort of thing has already come into force in the uk i think. Most stations only let you listen if you listen locally. You have to type your post code if it cant find it from your ip, then once they are happy you are listening locally they unban your ip address, something like that.
  2. ben3001

    Captcha

    Thanks for helping.i have added all the necessary code however the form is just as before it works but no Captcha. http://www.aquatic-management.org/cap/design2.phpForm code: <?php $name=$_POST['Name'];$Email=$_POST['Email'];$Comment=$_POST['Comment'];$Subject=$_POST['subject'];$counter=0;require_once('recaptchalib.php');// Get a key from [url="http://recaptcha.net/api/getkey"]http://recaptcha.net/api/getkey[/url]$publickey = "6LfYGAAAAAAAADhqTaxwzNkGsYPQzDTxZSmaqoi6";$privatekey = "6LfYGAAAAAAAAEuz8HUoMZyNS-cFXKw0TSE0QS3t";# the response from reCAPTCHA$resp = null;# the error code from reCAPTCHA, if any$error = null;function printit(){if ( isset ($_POST['submit'])){$incorrectCustomer="";$incorrectEmail="";$incorrectDate="";$incorrectComment="";if($_POST['Name']==null){$incorrectCustomer="<span style='color:#FF0000'> * Required</span>";}else{$incorrectCustomer="";}if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $_POST['Email'])){$incorrectEmail="";} else {$incorrectEmail="<span style='color:#FF0000'> * Required</span>";}if($_POST['Comment']==null){$incorrectComment="<span style='color:#FF0000'> * Required</span>";}else{$incorrectComment="";}}else {}print '<span class=style4>Enquires</span> <p>Problem with the site? Need more information? Complete the form below, if you have entered your email address correctly you should recieve an automated reply confirming your query has been recieved . All emails are replied to within 24 hours.</p><script language="JavaScript"><!--document.myForm.myField.disabled=true;//--></script><form name="Contact Us" action="design2.php" method="post"><table style= width="100%" border="0" cellpadding="3" cellspacing="1"><tr><td width="20%"><p align="left">Website design regarding:</p></td><td width="80%"><input class="border" type="text" disabled onFocus="if (this.disabled) this.blur()" name="subject" size="35" maxlength="100" value="http://www.aquatic-management.org""' . $_POST['subject'] . '"/>';print '</td></tr><tr><td width="20%">Name:</td><td width="80%"><input class="border" type="text" name="Name" size="25" maxlength="35" value="' . $_POST['Name'] . '" />';print "$incorrectCustomer";print '</td> </tr><tr><td>Email:</td><td><input class="border" type="text" name="Email" size="35" maxlength="100" value="' . $_POST['Email'] . '"/>';print "$incorrectEmail";print '</td></tr><tr><td>Enquiry</td><td><textarea class="border" name="Comment" rows="3" cols="41">' . $_POST['Comment'] . '</textarea>';print "$incorrectComment";print '</td></tr><table border="0" width="100%"> <tr> <td width="100%"><input type="submit" name="submit" value="Send" /> <input type="reset" name="Reset" value="Reset" /></td> </tr></table></form></table>';}if ($_POST["recaptcha_response_field"]) { $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if ($resp->is_valid) { echo "You got it!"; } else { # set the error code so that we can display it $error = $resp->error; } echo recaptcha_get_html($publickey, $error);}if ( isset ($_POST['submit'])) {$validEmail=true;$validNumber=true;if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $Email)){ }else {$validEmail=false;}if(($name==null)||($validEmail==false)||($Comment==null)) { echo recaptcha_get_html($publickey, $error);print"";printit();}else { mail("b_e_n04@hotmail.com","Website Design: [url="http://www.aquatic-management.org",""]http://www.aquatic-management.org","[/url]From: $name Email Address: $Email Message: $Comment","From:$Email");mail("$Email","Auto Reply Website Design: [url="http://www.aquatic-management.org",""]http://www.aquatic-management.org","[/url]Dear: $nameThank you for contacting me regarding [url="http://www.aquatic-management.org"]http://www.aquatic-management.org[/url]. Your enquiry is shown below. '$Comment'I attempt to respond to all emails with in 24 hours however, due to busy times this may take longer.Once again thank-you for your enquiry.Ben Davies","From:b_e_n04@hotmail.com"); print "<span class=style4>Thank you for your enquiry</span> <br><p>Comments are always welcomed and replied to within 2-3 days.</br></font><p>The email you sent is shown below, you should of received an email confirming I have recieved your enquiry:</p> <strong><p>Website design regarding:</strong> [url="http://www.aquatic-management.org<p/>"]http://www.aquatic-management.org<p/>[/url]<strong><p>Name:</strong> $name<p/><strong><p>Email address:</strong> $Email</p> <strong><p>Enquiry:</strong> $Comment</p> "; }} else { // Display the form.printit();}?>
  3. this is kinda off topic/ on same subject however there is way too much going on with this blog. i really do not know where to look...i was studying your blog stats if there correct 5804 visitors since dec 12th, 2006 how long do these visitors stay on the site?A bif of positive criticism categorise your most important stuff and get rid of stuff thats not so important. heres a start, do you really need 37 links to different blogs?
  4. ben3001

    Captcha

    Anywhere i put the line to show the captcha wherever I want it in the form i keep getting the same error message you can see it here: http://www.aquatic-management.org/cap/design2.phpThe full code:<?php $name=$_POST['Name'];$Email=$_POST['Email'];$Comment=$_POST['Comment'];$Subject=$_POST['subject'];$counter=0;function printit(){if ( isset ($_POST['submit'])){$incorrectCustomer="";$incorrectEmail="";$incorrectDate="";$incorrectComment="";if($_POST['Name']==null){$incorrectCustomer="<span style='color:#FF0000'> * Required</span>";}else{$incorrectCustomer="";}if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $_POST['Email'])){$incorrectEmail="";} else {$incorrectEmail="<span style='color:#FF0000'> * Required</span>";}if($_POST['Comment']==null){$incorrectComment="<span style='color:#FF0000'> * Required</span>";}else{$incorrectComment="";}}else {}echo recaptcha_get_html($publickey, $error);print '<span class=style4>Enquires</span><p>Problem with the site? Need more information? Complete the form below, if you have entered your email address correctly you should recieve an automated reply confirming your query has been recieved . All emails are replied to within 24 hours.</p><script language="JavaScript"></script><form name="Contact Us" action="design2.php" method="post"><table style= width="100%" border="0" cellpadding="3" cellspacing="1"><tr><td width="20%"><p align="left">Website design regarding:</p></td><td width="80%"><input class="border" type="text" disabled onFocus="if (this.disabled) this.blur()" name="subject" size="35" maxlength="100" value="[url="http://www.aquatic-management.org/"]http://www.aquatic-management.org""'[/url] . $_POST['subject'] . '"/>';print '</td></tr><tr><td width="20%">Name:</td><td width="80%"><input class="border" type="text" name="Name" size="25" maxlength="35" value="' . $_POST['Name'] . '" />';print "$incorrectCustomer";print '</td></tr><tr><td>Email:</td><td><input class="border" type="text" name="Email" size="35" maxlength="100" value="' . $_POST['Email'] . '"/>';print "$incorrectEmail";print '</td></tr><tr><td>Enquiry</td><td><textarea class="border" name="Comment" rows="3" cols="41">' . $_POST['Comment'] . '</textarea>';print "$incorrectComment";print '</td></tr><table border="0" width="100%"><tr><td width="100%"><input type="submit" name="submit" value="Send" /> <input type="reset" name="Reset" value="Reset" /></td></tr></table></form></table>';}if ($_POST["recaptcha_response_field"]) {$resp = recaptcha_check_answer ($privatekey,$_SERVER["REMOTE_ADDR"],$_POST["recaptcha_challenge_field"],$_POST["recaptcha_response_field"]);if ($resp->is_valid) {echo "You got it!";} else {# set the error code so that we can display it$error = $resp->error;}}if ( isset ($_POST['submit'])) {$validEmail=true;$validNumber=true;if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $Email)){ }else {$validEmail=false;}if(($name==null)||($validEmail==false)||($Comment==null)) { print"";printit();}else { mail("[email=b_e_n04@hotmail.com]b_e_n04@hotmail.com","Website[/email] Design: [url="http://www.aquatic-management.org/"]http://www.aquatic-management.org[/url]","From: $name Email Address: $Email Message: $Comment","From:$Email");mail("$Email","Auto Reply Website Design: [url="http://www.aquatic-management.org/"]http://www.aquatic-management.org[/url]","Dear: $nameThank you for contacting me regarding [url="http://www.aquatic-management.org/"]http://www.aquatic-management.org[/url]. Your enquiry is shown below. '$Comment'I attempt to respond to all emails with in 24 hours however, due to busy times this may take longer.Once again thank-you for your enquiry.Ben Davies","From:b_e_n04@hotmail.com");print "<span class=style4>Thank you for your enquiry</span><br><p>Comments are always welcomed and replied to within 2-3 days.</br></font><p>The email you sent is shown below, you should of received an email confirming I have recieved your enquiry:</p> <strong><p>Website design regarding:</strong> [url="http://www.aquatic-management.org%3cp/"]http://www.aquatic-management.org<p/[/url]><strong><p>Name:</strong> $name<p/><strong><p>Email address:</strong> $Email</p> <strong><p>Enquiry:</strong> $Comment</p>"; }} else { // Display the form.printit();}?>
  5. ben3001

    Captcha

    Im sorry but i just can see how it fits in with my code.
  6. ben3001

    Captcha

    The spam has been coming in so hard as a temp measure i have removed the form.
  7. Thats similar for my a level in the uk for ict. Everyone had to make websites for there work. Everyone was taught to do so using dreamweavers frames etc. But they should of been taught the correct way. I although I am not the best decided to use css/divs etc and got a A for whilst others also recieve similar marks due to the fact the teacher himself did not know how to teach it.I think thats pretty bad! if they were to go out into the big world and produce a professional site in frames for my company (if i had one) i'd tell them to go else where!!
  8. ben3001

    Which logo?

    hmm i prefer number 3 however i dont like the added sploges of paint which i am assuming is the font...I removed them and thought it looked alot cleanerBefore & AfterHowever if you dont want to use it then i would prefer # 4 although it just reminds me of the miniclip logo.
  9. ben3001

    Captcha

    Im looking at this code they have given.how can this be implemented with the code i have provided at the top?i have now got a api key from the siteThis sample if the users type the right words in just gets a messgae saying you got it or error <html> <body> <form action="" method="post"><?phprequire_once('recaptchalib.php');// Get a key from [url="http://recaptcha.net/api/getkey"]http://recaptcha.net/api/getkey[/url]$publickey = "";$privatekey = "";# the response from reCAPTCHA$resp = null;# the error code from reCAPTCHA, if any$error = null;# was there a reCAPTCHA response?if ($_POST["recaptcha_response_field"]) { $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if ($resp->is_valid) { echo "You got it!"; } else { # set the error code so that we can display it $error = $resp->error; }}echo recaptcha_get_html($publickey, $error);?> <br/> <input type="submit" value="submit" /> </form> </body></html>
  10. ben3001

    Captcha

    [double post sorry]
  11. ben3001

    Captcha

    I suppose i'd rather be pointed in the direction of a good tutorial rather then being done for me, then if i have any problems they will be delt with accordingly.
  12. ben3001

    Captcha

    I currently just have the form.I was going to use the premaid Captcha but thought its very unprofessional. http://www.captcha.net/I then looked at this following captcha http://www.captcha.biz but there example made you first veify your a human then goto the form and type your info which as said above is not user friendly.Im look for a way to add a captcha within the form thats been created.Thanks B.
  13. ben3001

    Captcha

    Ok i have been reading loads of tutorials on making a captcha for my form but i have failed. The tutorial that i keeps coming up is a captcha that one you type the verification code it then lets you go to a specified form page where to your details etc and then submits. To be honest i find this method very time consuming for the user and am wondering how can i apply a captcha test for my form.I have looked through this forum and found limited help, someone in one topic has actually deleted all there help they gave (not nice)ThanksBenThe Php behind the form is: <?php $name=$_POST['Name'];$Email=$_POST['Email'];$Comment=$_POST['Comment'];$Subject=$_POST['subject'];$counter=0;function printit(){if ( isset ($_POST['submit'])){$incorrectCustomer="";$incorrectEmail="";$incorrectDate="";$incorrectComment="";if($_POST['Name']==null){$incorrectCustomer="<span style='color:#FF0000'> * Required</span>";}else{$incorrectCustomer="";}if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3}){:content:}quot;, $_POST['Email'])){$incorrectEmail="";} else {$incorrectEmail="<span style='color:#FF0000'> * Required</span>";}if($_POST['Comment']==null){$incorrectComment="<span style='color:#FF0000'> * Required</span>";}else{$incorrectComment="";}}else {}print '<span class=style4>Enquires</span><p>Problem with the site? Need more information? Complete the form below, if you have entered your email address correctly you should recieve an automated reply confirming your query has been recieved . All emails are replied to within 24 hours.</p><script language="JavaScript"><!--document.myForm.myField.disabled=true;//--></script><form name="Contact Us" action="design2.php" method="post"><table style= width="100%" border="0" cellpadding="3" cellspacing="1"><tr><td width="20%"><p align="left">Website design regarding:</p></td><td width="80%"><input class="border" type="text" disabled onFocus="if (this.disabled) this.blur()" name="subject" size="35" maxlength="100" value="sitehere""' . $_POST['subject'] . '"/>';print '</td></tr><tr><td width="20%">Name:</td><td width="80%"><input class="border" type="text" name="Name" size="25" maxlength="35" value="' . $_POST['Name'] . '" />';print "$incorrectCustomer";print '</td></tr><tr><td>Email:</td><td><input class="border" type="text" name="Email" size="35" maxlength="100" value="' . $_POST['Email'] . '"/>';print "$incorrectEmail";print '</td></tr><tr><td>Enquiry</td><td><textarea class="border" name="Comment" rows="3" cols="41">' . $_POST['Comment'] . '</textarea>';print "$incorrectComment";print '</td></tr><table border="0" width="100%"><tr><td width="100%"><input type="submit" name="submit" value="Send" /> <input type="reset" name="Reset" value="Reset" /></td></tr></table></form></table>';}if ( isset ($_POST['submit'])) {$validEmail=true;$validNumber=true;if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3}){:content:}quot;, $Email)){ }else {$validEmail=false;}if(($name==null)||($validEmail==false)||($Comment==null)) { print"";printit();}else mail("$Email","Auto Reply Website Design: ","print "<span class=style4>Thank you for your enquiry</span><p>Comments are always welcomed and replied to within 2-3 days.</br></font><p>The email you sent is shown below, you should of received an email confirming I have recieved your enquiry:</p> <strong><p>Website design regarding:</strong> <p/><strong><p>Name:</strong> $name<p/><strong><p>Email address:</strong> $Email</p> <strong><p>Enquiry:</strong> $Comment</p>"; }} else { // Display the form.printit();}?>
  14. ben3001

    Did You Know..

    My bad then ive just never come across it..I was reading through the site and found I take it this is not the case then and domain providers charge for this.
  15. ben3001

    Did You Know..

    I found this website which actually blocks your whois information being shown.http://privacyprotect.org/Info from there site... I cant say i have used it but people who are conscious of there details being shown could look into this
  16. ben3001

    Please Help

    I would recommend using freeware software such as Spybot Search And Destroy http://www.download.com/Spybot-Search-Dest...tml?tag=lst-0-1Ad-Aware-SE Personal http://www.download.com/Ad-Aware-SE-Person...tml?tag=lst-0-1If you run both of these on your computer im sure it will find something and remove it.Also i suggest you contact Tucows Inc (I believe) and inform them of the problem
  17. If you think that is bad 42,769 have signed a petition to get rid of it.Us Londoners really dont like it!http://www.gopetition.co.uk/petitions/chan...-2012-logo.html
  18. I just found the link where the 2nd came from. Theres loads of user created ones. I love them so much better than the original.http://www.fubra.com/london2012/
  19. i removed it myself. i believe users shouldnt really be forced to see it if they dont want to.However if you want to see how some people think the logo was im you can click the link below.http://img524.imageshack.us/img524/2852/olympiclogobm8.gifThe logo for the 2012 London Olympic Games was removed from the organisers' website on because there were concerns that it could trigger epileptic fits.Most people are not happy with this, 31,771 people have signed the petition to get it changed.
  20. Thats correct, skemcin. I didnt create either of the two other images...In my opinion it doesnt show anything to do with London, apart from graffiti. The 2nd image i posted is clean and shows everything british.Something as big as this should have recieved public consultation.
  21. The logo cost around £400,000. (I think this includes an advert that was made in flash)
  22. Just incase you have been in hiding for a few days and have not heard about Londons 2012 logo. Here it is:However I adore this one someone called caroline created. I love it.
  23. I was able to click on all links in ie 7, Firefox and Opera. All the links go to different blog pages am i correct?(I found it hard to find the links though)
  24. i found this a problem when i was using free hosting services (im not too sure what your using).The way i had to overcome it was by delting the file from the server and then putting the updated one back on, it seemed to work for me.
  25. I thought so...Is there away to install any of these operating systems Windows 95|Windows ME|Windows 98Z Windows NT|Windows 2000|
×
×
  • Create New...