An asteroid has been rated as a level four threat to the Earth on a scale out of 10. This marks the first time that an asteroid has been rated higher than 1. Currently, there is a 1 in 45 chance that this asteroid will collide with the Earth on Friday, April 13th, 2029. Read more »
It should be pretty easy to get $_GET, $_POST, $_SESSION, or $_COOKIE variables in PHP code. The problem is that just entering $_GET[‘variable’] causes an error if the variable does not exist. What’s needed is a way to open the variable, and get a blank string if the variable is not defined. Read more »
Sophos, a UK based research group, recently released statistics putting Ameria square at the top of the list of spamming countries at 42.1%. South Korea is in second place with 13.4%; with China, Canada, and Brazil filling out the top 5.
If you have a online presence, whether it’s personal or business, you most likely are looking for input back from your visitors. But, be careful if you put your email address in a simple mailto: link. You will get spam, accept it.
But, there are a few tricks you can use to limit the spam you get. Read more »
America Online may not be winning the war against spam, but it they may at least be making a run at it. AOL is claiming a dramatic decline in spam volume for the first time in 5 years. Read more »
Since several of my posts have source code in them, I needed a way to syntax highlight. I found a pretty good one for PHP code, but it didn’t do anything else.
Just a quick, fun link. It’s a list of the 100 oldest .com domain names with links to their WHOIS information. Most of them look familar, but there are a few odd balls in there.
Google, responding to pleas from anti-virus companies, has shut down a virus that uses the search engine to find victims. The Santy virus uses the search engine to find vulnerable phpBB sites to spread to. An estimated 40,000 sites have been infected by last Tuesday.
Google is assuring users that they are not at risk by simple use of the search engine.
Often times in PHP you find yourself needing to insert text. Most sites do this by using a database backend, but you also have the option to include data from a text file. Three methods are available for this; require, include, and file_get_contents. Which is fastest, which is best? When should you use one over the other? Read more »