Hey all, just a quick update as I am waiting for Sky to get my new broadband up and running. Found out that a Blogger user was hot linking to a friends copyrighted pictures on their site. Normally my friend does not mind, but they were using it in a way he did not like. Anyway while he is chasing Google to get the site reported, he has asked if there was a way to prevent them linking? Continue reading
The code at http://pastie.org/2242460 is in response to a post @ REWARD: PHP code to add and remove name from a text file . This is an old post migrated from another domain as I think it would still be useful to some people.
I’d like to give users the chance to add and remove their names using a sign-me-up HTML form.
So they could “Thomas” to a text file with an HTML input box and then also remove themselves by choosing “remove” with a simple sign-me-up web form.
A bit like subscribing and unsubscribing from a mail list but the removal should search for the exact match in the text file (in upper or lower case) for the name “Thomas” and then say “you’re removed” or “you’re not on the list”.
Is this possible ? A whopping 200 points to the first decent working PHP script (plus 50 points for the best answer).
Thanks very much.
With the announcement of the 512MB model and the open sourcing of the SoC the RaspberryPi is just going to get more popular. The Pi is a cheap (£26/$35) ARM computer that runs Linux and is being touted as a device to encourage kids (and hobbyists) to learn programming, mainly Python. However as it runs Linux it means that it can be used for almost anything including media centers, file servers and web servers. As more and more people are using these little devices as alternatives to free/paid for hosting I thought I would just drop a few tips on how to help keep these devices safe and under the owners control. Continue reading