Save info   Get password
Home Submit your blog Edit Account Rules RSS-Archive Contact


Christina Aguilera Might be Crazy
2007-02-27 04:40:15
I don’t really know if I like it or not…I mean, the song has a little jingle to it, but it’s not something I would rock to in my car with the windows down where people can hear it. I’m liking the three Christina ’s though, since she’s one of the people on my PHF list. See her new video “Candyman” below.
Read more: Aguilera , Crazy , Christina Aguilera

How to Install PHP6
2007-02-26 06:26:04
This was a little experiment gone somewhat wrong, when I tried to upgrade my VPS to PHP6. I swear it worked, but I should have known that nothing works on it — Wordpress just crapped out a bunch of errors. On a higher note though, it seems to be hella secure as you can no longer use magic quotes or globals, otherwise Apache will fail. So if you really want to be on the bleeding edge, here’s how you install PHP6: I didn’t really need to install a whole bunch of stuff, but depending on how your webserver is already set up you may need to install extra dependencies, but this will become obvious during the compile. 1) Make sure your autoconf version is up to date with version 2.13 or higher: autoconf -V 2) Install ICU…you can find your version here. wget ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz tar -xzvf icu4c-3_6-src.tgz cd icu*/source mkdir /usr/local/icu ./configure --prefix=/usr/local/icu && make && make i
Read more: Install PHP

How to Make a Sexy Tag Cloud with PHP and MySQL
2007-02-12 07:59:39
Well it seems that everyone has one, and I’d have to admit that a tag cloud is a good way to spice up your site a little bit. I first thought of this when setting up a friend’s site… he wasn’t using a CMS like Wordpress or anything that I could find a quick tag cloud plugin for, so I figured I could probably just make my own. Well, I did and now I shall share it. This tutorial will show you how to set up a simple tag cloud using PHP and MySQL , with a little bit of Ajax effects Before we get started, take a quick look at the sample cloud. (more…)
Read more: Cloud

I’m So Smart
2007-01-28 07:04:04
So I learned today that electric can openers have little magnets in the top that apparently hold on to the lid while the can is being opened.  And get this — apparently you’re supposed to take the stuff out of the can before you put it in the microwave because I guess metal and microwaves don’t go together.  I wonder why they don’t put this kind of stuff of the labels.  I mean, good thing I’m a genious and I figured that out before I could have killed myself.
Read more: Smart

Modx Makes Me Drool
2007-01-25 06:27:11
I never thought I’d say that about a CMS, but then again I said the same thing about Scott and look what happened there. Anywho, one of my friends showed me this new CMS that is purely Ajax on PHP, and I decided to give it a whirl. I might even switch my site over once I figure out how it works. See it here.


Script Kiddy Killjoy
2007-01-22 08:55:20
If your site has ever been hacked, it will have most likely showed up in the zone-h database. This is the site where all the little script kiddies get together to brag about their “hacking” skills and such. Basically, whenever they deface a site they report it to zone-h, who then check to make sure they aren’t full of shizit. Well, in efforts to keep the script-kiddies from getting credit, I’ve devised discovered a way to make sure that zone-h’s bots can’t check the submissions. All you have to do is add this to your root .htaccess file: <Files 403.shtml> order allow,deny allow from all </Files> # zone-h deny from .zone-h.org deny from .zone-h.com deny from 213.219.122. # cyber-warrior.org deny from .cyber-warrior.org deny from .cyber-security.org deny from 80.237.211.8


The Basic MySQL Injection
2007-01-18 04:44:53
Ahhhh the classic hack that doesn’t work anymore… which is why I’m posting it here. I always thought it was kind of an interesting concept but no one ever made it simple for me, so I shall post it here. How to do a simple MySQL Injection Ok, so this is your basic PHP login script that asks for your username and password, which would then query the database to authenticate you: $user = $_POST[”username”]; $pass = $_POST[”password”]; $query = mysql_query(”SELECT * FROM users WHERE user=’$user’ AND password=’$password’”); $rows = mysql_fetch_row($query); if ($rows == 0) { die (’Login Incorrect!’); } Assuming that register_globals are enabled on the server, this script will work and in return use the POST variable to query the database for an already-defined row to see if both conditions are being met, which are obviously the username/password fields. If the input does not meet this requirement, th
Read more: Basic

Messing with PHP and MySQL
2007-01-17 03:37:29
This just a simple tutorial on how to connect to MySQL with PHP, as well as using a MySQL query to create simple database. The first thing you would want to do is create the database so PHP can access it. My preferred method is through phpMyAdmin or cPanel (if your host provides this)…or you can run a simple query via MySQL command line: CREATE DATABASE `liquor`; USE `liquor`; CREATE TABLE `brands` ( `id` int UNIQUE NOT NULL, `brand` varchar(40), `type` varchar(50), PRIMARY KEY(id) ); INSERT INTO cars VALUES(1,'skyy','vodka'); INSERT INTO cars VALUES(2,'cpt. morgan','rum'); INSERT INTO cars VALUES(3,'ice 101','schnapps'); This code will basically create a database named “liquor” with the table “brands” that lists three of my favorite liquors in order with the type of liquor that they are. From here, you’ll want to create a database user and add it to the database with the appropriate privileges. You can usually do this in your MySQL ma


Radiant CMS is Gorgeous
2007-01-16 03:41:35
If you haven’t heard the news, Radiant CMS is finally making its presence on the internet. Of course, you wouldn’t have heard the news unless you’re a dork like me. Anyways, I thought it would be worth mentioning as this is probably one of the sexiest content management systems I’ve seen yet. But really, I just like the color. And the logo’s nice too. Check out Chris and Luke’s sites, which are currently running Radiant with Ruby on Rails.


Installing Ruby on cPanel
2007-01-15 08:22:43
Here’s how to install Ruby on Rails on a cPanel system: First install Ruby: wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.5-p12.tar.gz tar -xvzf ruby-1.8.5-p12.tar.gz cd ruby-1.8.5-p12 ./configure make make install Now, install the Gems and Rails: wget http://rubyforge.org/frs/download.php/11289/rubygems-0.9.0.tgz tar -xvzf rubygems-0.9.0.tgz cd rubygems-0.9.0 ruby setup.rb gem install rails Install Fast CGI wget fastcgi.com/dist/fcgi-2.4.0.tar.gz tar -xvzf fcgi-2.4.0.tar.gz cd fcgi-2.4.0 ./configure make make install wget fastcgi.com/dist/mod_fastcgi-2.4.2.tar.gz tar -xvzf mod_fastcgi-2.4.2.tar.gz cd mod_fastcgi-2.4.2 /usr/local/apache/bin/apxs -o mod_fastcgi.so -c *.c /usr/local/apache/bin/apxs -i -a -n fastcgi mod_fastcgi.so gem install fcgi Edit the Apache config file and add the fcgi module: pico /usr/local/apache/conf/httpd.conf LoadModule fastcgi_module libexec/mod_fastcgi.so FastCgiIpcDir /tmp/fcgi_ipc/ AddHandler fastcgi-script .fcgi < /IfModule> Then restart Apache In


Wordpress 2.1.1 is Dirty
2007-03-03 07:28:30
So I found out today from Paul that wordpress.org got hackedwordpress.org got hacked and their new 2.1.1 release is tainted. Yes, I said tainted. Someone hacker got down and dirty with the wordpress.org servers and altered the code in the new 2.1.1 release that apparently allows for a remote PHP file execution…then bundled it up for everyone to download and infect their servers with. So now this means that I have to back up my site, disable my 20-some wordpress plugins, delete my files, download the new version, put the files back in place, then watch as my life slowly fades away.  Damn Paul for paying attention to the tidbits of info the wp-admin dashboard. Read the full article here To my fellow bloggers, please upgrade your upgrade your Wordpress installation to v2.1.2. Ahhhh, now doesn’t that feel better?


Preventing DOS Attacks with mod_evasive
2007-03-18 06:07:17
I recently had to deal with a guy whos VPS was constantly being hit by the same IPs over and over until the server crapped out and refused to do anything…it was royally a pain in the ass because I literally had about 10 seconds between starting up the server and having it crash again. Needless to say that those 10 seconds were spent stopping Apache to give me enough time to do a netstat -n and block the assholes who were flooding the server. I then decided to installed mod_evasive, which is a simple Apache module that monitors the amount of connections from one IP and blocks any that reach a set limit. Here’s how you do it via SSH: wget http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz tar -xvzf mod_evasive_1.10.1.tar.gz cd mod_evasive_1.10.1 /usr/local/apache/bin/apxs -cia mod_evasive.c Once the module is compiled, restart Apache and add this to your httpd.conf: <IfModule mod_evasive.c> DOSHashTableSize 3097 DOSPageCount 6 DOSSiteCount 50


Keep People from Jacking your Images
2007-03-19 22:06:50
I get this question a lot, so I figured I’d post it here. For those of you who don’t have the convenience of a cPanel-based system, you can block image hotlinking in your .htaccess. Image hotlinking is basically when someone uses an image from your website on their site, but has your site in the <img src..> tags (instead of their own site) so the image loads remotely, and therefore sucks up your bandwidth and resources. Load up the .htaccess file in your website root (public_html or www folder, usually) and add these lines anywhere in the file: RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://v-nessa.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://v-nessa.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://v-nessa.net/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://v-nessa.net$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.v-nessa.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.v-nessa.com$ [NC] RewriteCond %{HTTP_REFERER} !^ht
Read more: Images

My Puppy’s Cuter than Yours
2007-03-19 01:59:17
For anyone who hasn’t met the newest addition to the Vasilé family, I’d like to introduce you to Capone. He’s a purebred pitbull currently at 12 weeks, 25 lbs. His vet estimated that based on his genes he’s probably going to reach about 80-90 lbs by the time he’s a year old.  Yes, that means that my puppy is going to be beast, and he’s probably going to make your puppy his bitch.  I’m already working on digging a hole in my backyard to dispose of all the contingent body parts he’s probably going to bring home. Click on the pic for the full image.  You can see more pictures of my sexy-ass puppy in my Gallery.
Read more: Puppy , Cuter , Yours

Increase Your Blog Traffic
2007-03-16 01:00:08
Yes, it’s another one of those. It seems that every blog has its own tips for increasing traffic, so I decided to add my own tips that seem to have worked for my site (more…)
Read more: Blog Traffic

Firefox is a CPU Molester
2007-03-22 05:06:42
XP and Vista users, you might want to hold off on the new Firefox 2.0.0.3 update until it gets neutered. Yes, Firefox violated my CPU today. No, not once, but 12 times. Yes, 12 times in the last half hour. Talk about stamina. My poor AMD now has performance anxiety and refuses to play my illegal mp3s, movies, and porn bible movies. For those of you who have had issues with Firefox being a CPU nazi in the past, you might want to check out Justin’s article on optimizing Firefox.


This Comic Might be Dirty
2007-03-23 06:55:59
YBNBY just posted a list of the top ten most subliminally dirty old comic book panels. If you ask me, it looks like the authors of these comic books were trying to be obvious without looking like they were being obvious. It’s kind of like driving down the boardwalk blaring Celine Dion and then pretending to not be a homo. You can read the article here.
Read more: Comic

Timing Your PHP Scripts
2007-04-15 14:52:24
This was just a little code addon that I put together as part of a tutorial I wrote on a friend’s site (and copied on mine) about PHP optimization. Added to a page on your site, it will calculate how much time it took for a page or script to execute using PHP’s microtime() function. I only added this to my main page, but you can easily create a plugin or include file to show the generation time of all your pages. First, add this code to the very beginning of your PHP file: <?php $stime = microtime(); $sarray = explode(" ", $stime); $stime = $sarray[1] + $sarray[0]; ?> Now, add this to the very end: <?php $etime = microtime(); $earray = explode(" ", $etime); $etime = $earray[1] + $earray[0]; $ttime = $etime - $stime; $ttime = round($ttime,3); echo "This page loaded in $ttime seconds."; ?> That was easy, wasn’t it? You should now see a little line at the bottom of your page that shows how long it took to execute. There is an example on the bottom of
Read more: Timing , Scripts , PHP Scripts

13 Sexiest Wordpress Plugins
2007-04-13 11:31:27
I decided to post a list of the Wordpress plugins that I’ve found to be the most useful, a majority of which I use on my own site. (more…)
Read more: Plugins

Optimizing PHP, Revisited.
2007-04-16 14:34:19
I wrote an article a while back on PHP optimization, but it was pretty lacking in most aspects, probably because I’m a lazy poster. I’ve revisited that article and reposted to hopfully have it be a little more helpful on the area. (more…)
Read more: Revisited

Sohosin Will Make your PHP Hard
2007-04-20 13:53:12
I noticed a vague mention of Sohosin on a PHP blog that I read on occasion and I decided to give it a whirl to see if it’s as sexy as is sounds. So far my server hasn’t crashed, so I’m willing to recommend it to anyone who’s interested in hardening their PHP. Ok, sorry. I really can’t say that without chuckling. Yes, welcome back to third grade. If you check out the developer’s site you should pretty much get the idea of what it does, but basically closes some of the security holes that we see with PHP all the time. Not to say that it will make your php 4.3/MySQL3/globals on/port 22 open server any more secure, but if you’re running any of the latest stable security releases you might be somewhat interested. I’m currently running PHP 5.2.1, which is the latest release of PHP5 at the time of this writing. You can essentially install this on any PHP4+ server that you have root SSH access to. I opted to install the DSO, as I absolute


Happy Birthday to Meeeeeeeee
2007-04-22 23:28:54
Yes, I turned twenty yesterday and my liver is still reminding me. The picture below is really the only one that came out, mainly because the person taking it was the only one who wasn’t plastered. So enjoy it, print it out, tape it to your ceiling, and grab yourself a paper towel.  From left:  Kristy, Shanon, Me, Torie (sis) Tisha, Jesaka, Melissa, Tabi
Read more: Happy , Birthday , Happy Birthday

PHP 5.2.1 is a Remote Include Hater
2007-04-28 22:34:22
I found this out after troubleshooting a few sites a couple weeks ago. Unlike all other previous versions of PHP, with 5.2.1 you can no longer use a URL to include files, even if you have allow_url_fopen enabled in your php.ini. Just a quickie about what an ‘include’ is, it’s a php function that lets you include the contents of a file into another. It usually takes the form of this: include(’page.php’); This is a local include, and is usually the preferred method. A remote include is that of a URL: include('http://google.com'); Most people would agree that remote includes are a major security issue for novice coders who don’t have any kind of file validation in place to protect their scripts, but if you’re convinced that your code is down, you can add this line to your php.ini file to allow remote file includes: allow_url_include On Now, this directive did not exist until php 5.2.1 was released so Cpt. Obvious says that: 1) you cann
Read more: Remote

Top 10 Ways Websites Makes Me Suffer
2007-04-25 20:20:55
By: Jason O’Connor I believe some people create and publish websites for the sole purpose of tormenting their visitors. Browsing various websites and navigating the Web can often be like trying to read on an airplane while a kid kicks the back of your seat and the baby next to you alternates between screaming, crying and drooling on you. There are some excellent websites out there to be sure, but there are also a lot of dreadful ones too. The latter are the bane of so many people’s existence, especially those who use the Web regularly. The Net continues to grow in popularity and importance for consumers and businesses alike. Therefore, the quality of sites needs to keep pace. Creating and maintaining high-quality websites is more important now than ever. Higher quality equals more revenue. The following lists the top ten ways that a website misses the boat and contributes to hair loss and nervous breakdowns. Notice the common thread that runs throughout each of these. Namel
Read more: Websites

OneDayBlogSilence
2007-04-25 03:35:03
I received a note from a friend that on April 30th, participating blogs are supposed to do a blank post with nothing but a single graphic, as a way of honoring the people who were shot at VA tech earlier. I’m not usually one to bathe in tragedy after it happens, but since I have a lot of friends and former colleagues from ECPI that go there, I doesn’t seem to be a bad idea. http://www.onedayblogsilence.com/OneDayBlogSilence.com.html



2007-04-30 19:00:17



The Bad-Ass Goon Squad
2007-04-30 03:32:02
I was finally able to get the dogs together to show you why I don’t need to lock my doors at night. They didn’t want to pose nude, but hey, I have a website to run. Click for a larger image:       The sexy man on the left is Timber (Pitbull, 90 lbs), middle is Capone (Pitbull puppy, 35 lbs), and right is Harley (German Shepherd-Pitbull mix, 65 lbs)
Read more: Squad

Mark Zuckerberg is a Buttmunch
2007-04-29 18:02:42
It takes a real ego to turn down $2 BILLION dollars. That’s exactly what Mark Zuckerberg, the Founder/CEO of Facebook, did when Yahoo and Viacom offered to buy him out. I was reading this in Fast Company this morning and I was couldn’t believe that two of the largest marketing firms in the world would want to buy a MySpace wannabe. I can’t really blame him for turning it down, though…since in a couple years his little business might be worth twice that much. According to Fast Company, the worth of Facebook is based these facts: It consists of over 47,000 college, high school, employee, and regional networks It handles over 600 million searches and mor than 30 billion page views a month It’s the 6th most-trafficked site in the U.S. It’s the biggest photo sharing site on the web, with 6 milling being added daily to it’s database of over 1 billion It grows at an average percent of 3% a week, which is a lot faster than my boobs grow. Eve


Ruby Isn’t Too Bad
2007-05-02 11:52:48
I haven’t really had a whole time to play around with Ruby, but I managed to write a little script that I call boobs.rb.  It was my attempt to take advantage of Ruby’s ability to define your own functions. Maybe if I’m lucky I would be able to actually define my own bra size too. #!/usr/bin/ruby def sayBoobs(name) result = “Hey, ” + name + ” wears a size DD. ” return result end puts sayBoobs(”Nessa”) This puts out something that looks like this:


Wordpress Plugins That You *Might* Want to Avoid
2007-05-08 06:37:08
If you haven’t noticed that my site’s been down for the last hour, it’s because I activated this mailing plugin that completely messed up my whole site to the point where I couldn’t even log in to deactivate it. It eventually came to me that if I move the plugin file it would de-activate automatically and poof, my website came right up. I guess my boss was right when he said I tend to be over-technical and miss the easy things. Anywho, I’ve messed around with a lot of plugins and I’ve composed a tiny list of ones that you would probably be better off not installing. Some of these result in what Dan would call “the Internet version of ‘the clap’” On the reverse, if you want to see the plugins that I recommend, you can view my post on the 13 Sexiest Wordpress Plugins . (more…)
Read more: Avoid , Wordpress Plugins

Page 1 of 4 « < 1 2 3 > »
eXTReMe Tracker