Posted on March 31, 2007, 1:01 am, by James Wilson, under
Coding.
I had fun with domain names tonight. I wanted to find all 4 letter domain names that start with pb that were available. I tried doing a whois lookup for each one, but that never would work right, so I just did a DNS lookup for each one. If it didn't resolve, I assumed it [...]
Posted on March 28, 2007, 6:59 pm, by James Wilson, under
Coding,
Security.
I brought out Acunetix to test the script that I'm writing. It's a pretty noisy web vulnerability scanner that tests for XSS, SQL Injection, server vulnerabilities, and other things that just shouldn't be around. I'm not going to reveal too much about my script, but it consists of a user system, private messaging, posting with [...]
Posted on March 15, 2007, 1:22 am, by James Wilson, under
Coding.
So I was searching around for Netfirms plus some other terms and happened across this nice thread. The third to last post shows a nice, simple fix for it, just edit your .htaccess file with this code: # BEGIN WordPress <IfModule mod_rewrite.c%gt; RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !index.php [...]
Posted on March 5, 2007, 5:09 pm, by James Wilson, under
Coding.
Someone checked in a nice little IP2Location database last night. It's basically what you would use for Geolocation software. You figure out the decimal ip and by checking if it's in that range, it will give you the city, state, latitude and longitude, and the ISP. That sounds great and all, but it's huge. 460 [...]
Posted on March 2, 2007, 8:15 pm, by James Wilson, under
Coding.
I'm writing a script to for a flash game site. Yes, I know there are a lot of those out there, and no, I don't care. Anyways, I started working on the admin panel, where you could upload the game, but I kept having a problem with moving the uploaded file. Here's the line: if(move_uploaded_file($_FILE['swf']['tmp_name'],$targetpath)) [...]