Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

ICT_GUY

Members
  • Posts

    2,543
  • Joined

  • Last visited

Everything posted by ICT_GUY

  1. No, they are coming through the contact form. It logs times and ip addresses (in case of abusive emails from the public).
  2. Most swgfl services wont work with anything other than explorer.
  3. I will try this on another site this week to see if it works. I am also trying out the captcha. I will see which one works best.
  4. Its a gut feeling after seeing the emails come in from various sites, they are irregular and always look as though someone is randomly filling in the form. Probably some kid in a deprived country as cents per day.
  5. PHP Captcha Security I will give this a go and see if it slows the stream of spam.
  6. Yes that's one way of moving forward, though a quick verification of what's been entered would solve the problem straight away.
  7. Owwww My Balls!
  8. Sorry I should have added the address for the email form. Email Us « Wyke Regis Junior School Either a bot is posting stuff into the form or directly to the contact.php page (which contains the above code) I suspect the former and I suspect that its actually a human copying and pasting into the form since the spam is just sent to random members of staff of the contact list. All of the spam is being sent via the contact code, I have included an example of the spam below. A simple check to see if the message contains "http://" would stop all spam being sent.
  9. I use the following code to allow parents to email into the school while keeping the the email address hidden. Its a simple post form going to another php page with the following code. $to = $_REQUEST['sendto'] ; $from = $_REQUEST['Email'] ; $name = $_REQUEST['Name'] ; $address = getenv('REMOTE_ADDR'); $headers = "From: $from"; $subject = "Email From School Website"; $today = date("d/m/Y"); $minutesseconds = date("l dS \of F Y h:i:s A"); $fields = array(); $fields{"Name"} = "Name"; $fields{"Regarding"} = "Regarding"; $fields{"Email"} = "Email"; $fields{"Message"} = "Message"; $fields{"address"} = "Recieved from Ip address $address this email was posted on $minutesseconds (add 6 hours for GMT time) "; $fields{"Sender"} = "This email was sent to $to"; $body = "We have received the following email via the school website:\n\n"; foreach($fields as $a => $b){ $body .= sprintf("%20s: %s\n",$b,$_REQUEST[$a]); } $headers2 = "From: [email protected]"; $subject2 = "Thank you for contacting "; $autoreply = "Thank you for contacting us. A member of staff will get back to you as soon as possible. If you have any more questions, please visit our website http://www.wykeregisjun.co.uk"; if($from == '') {print "You have not entered an email, please go back and try again";} else { if($name == '') {print "You have not entered a name, please go back and try again";} else { $send = mail($to, $subject, $body, $headers); $to ="[email protected]"; $send = mail($to, $subject, $body, $headers); $send2 = mail($from, $subject2, $autoreply, $headers2); if($send) {header( "Location: http://www.wykeregisjun.co.uk/sendingemail.php" );} else {print "We encountered an error sending your mail, please notify [email protected]"; } } } ?> Unfortunately we are getting a ton of spam being sent through. What I really need is a way of checking if the message contains "http://" and if it does then to not send the email and redirect to another page. Any PHP gurus out there that can help please?
  10. 20 years ago I taught myself in the USA and passed by doing to circuits around the block. The instructor was very impressed I could drive Stick so passed me. I then had five lessons in England and passed first time.
  11. 2 domain controllers, one isa and one smart cache. Server 2008 on the domain controllers. 100pcs due to be increased to 140 next year.
  12. tesco? 100 for £8 and Asda for plastic sleeves, 50 for £2 I think.
  13. ICT_GUY

    64bit Question

    64 vista works well, photoshop loves more ram.
  14. Virgin media messing up the viewing of said picture.
  15. Hateful piece of software. What on earth makes them think installing an apache webserver on a school server is a good way to install some software? Argghhh. I do not want another sql process on my servers, or another web server. I especially do not want it just for one piece of occasionally used piece of software. software It may end up being installed on the front display server, a celeron 600 with 256ram and powerpoint running 24/7, the performance with 30 kids accessing it should make sure collins software is never purchased by our school again.
  16. I was filming colt45 at the weekend, they have just been signed on a three record deal, could be my claim to fame Awesome for your little bro though.
  17. No one would have believed in the last years of the nineteenth century that this world was being watched keenly and closely by intelligences greater than man's and yet as mortal as his own; that as men busied themselves about their various concerns they were scrutinised and studied, perhaps almost as narrowly as a man with a microscope might scrutinise the transient creatures that swarm and multiply in a drop of water. With infinite complacency men went to and fro over this globe about their little affairs, serene in their assurance of their empire over matter. It is possible that the infusoria under the microscope do the same. No one gave a thought to the older worlds of space as sources of human danger, or thought of them only to dismiss the idea of life upon them as impossible or improbable. It is curious to recall some of the mental habits of those departed days. At most terrestrial men fancied there might be other men upon Mars, perhaps inferior to themselves and ready to welcome a missionary enterprise. Yet across the gulf of space, minds that are to our minds as ours are to those of the beasts that perish, intellects vast and cool and unsympathetic, regarded this earth with envious eyes, and slowly and surely drew their plans against us.
  18. Not so, I bought stuff that I wanted when my money was worth more then I will have had maximum gain from my labour. Example, buying a house 10 years ago, its intrinsic value is still the same, its a shelter for my family. Yet its monetary value has increased 4 fold yet my wages (in purchasing power) has devalued every year. If you had £100K in a bank, 10 years ago it would have bought a nice house, today even with interest you would lucky to be able to buy half a house. This is how the government creates the illusion of growth, by rewarding those who borrow and punishing those who save. Money tied up in banks does not help the economy, but it does allow a lot of people you probably wouldn't like to have very nice bonuses.
  19. But there is no way that 6,000 years is long enough for evolution to take place on the scale suggested
  20. Pay rises will be paid for by devaluation of the pound, the advantage of having an dependant currency. Good news for all you borrowers, all your debts will be worth less. You savers will have your savings destroyed to pay for the states finances. Also Cost of living has gone up by around a 1/3 in real terms over the past two years. Its only white goods that make it appear that inflation is not too bad. Coal and oil have risen in price dramatically and that's just the tip of the iceberg.
  21. Another techie addicted to the MAX.
  22. I just did a quick test across my network, through two switches onto an external HD via firewire, at about a gigabyte a minute. Cheap switches, slowish external HD gigabit over over cat 5. 60Gigs. I use an external usb HD connected directly to the server which gives a slightly better performance. 300gigs in 5 hours or there abouts.
  23. Speed is not really an issue if it runs overnight, realistically you should be getting at least 20MB/s (70gigabytes an hour) which is pretty good considering the speed of your average tape drive It will depend on your switches and servers, try some big file transfers.
  24. Got it off the internet guv.
  25. Hofstadter's law, conceived by the cognitive scientist Douglas Hofstadter, goes like this: any task you're planning to complete will always take longer than expected - even when Hofstadter's law is taken into account. Even if you know a project will overrun, and build that knowledge into your planning, it'll simply overrun your new estimated finish time, too, Hofstadter says. We chronically underestimate the time things take: that's why Sydney Opera House opened 10 years later than scheduled, and why the new Wembley stadium opened last year, not in 2003, 2005 or 2006, each of which had been, at various points, the predicted completion date. It's also why the list-makers among us get up each day and make to-do lists that by the same evening will seem laughable, even insane. This is the "planning fallacy", and it's been well-documented by psychologists. (Presumably their experiments took much longer than intended.) It's a strange kind of delusion, since we're not really deluded. We know everything always takes longer than expected; we just seem to forget, again and again. In one study, students were asked when they expected to complete an essay, and gave an average answer of 10 days before deadline. The reality was an average of one day before deadline. Yet when the students were asked when they normally completed such essays, they knew the truth: one day before deadline. It would be good to find a way around the planning fallacy, since never finishing your to-do list is a joyless way to live, and underestimating task-times means constantly rushing to finish things. (I speak as an expert.) How, though? Intuitively, it feels sensible to work out in detail what your projects involve, to break them into chunks and estimate how long each part will take. But the problem with unforeseen delays is you can't foresee them, no matter how finely detailed your planning. And so, writes Eliezer Yudkowsky on the Oxford University blog OvercomingBias.com, the unlikely trick is to plan in less detail: avoid considering the specifics and simply ask yourself how long it's taken to do roughly similar things before. "You'll get back an answer that sounds hideously long, and clearly reflects no understanding of the special reasons why this task will take less time," he writes. "This answer is true. Deal with it." Better yet, where possible, avoid planning altogether. Use the "ready, fire, aim" approach, and correct course as you go along. As the blogger Steve Pavlina points out, the advantage is you quickly start getting real feedback. If you're starting a new business, say, you won't have to imagine how customers might respond to your adverts; you'll know. This approach also helps when it comes to those curious tasks that don't obey Hofstadter's law: the ones you fret about for weeks, but that end up taking 10 minutes. Sometimes, the secret to getting things done is just to do them.
×
×
  • Create New...