Archive for the 'Tutorials' Category
PHP Page Load
Wanna see how long it takes to load your page? Try this simple code:
| <?php $start = time()+microtime(); //Get the start of the page’s time. Put it at the top of your page. //Do some stuff on your site $finish = time()+microtime(); //Get the end of the page’s time. Put it at the bottom of your page. $length = round($finish-$start, 4); //Find the actual difference between the two and round it to 4. Why 4? Otherwise, you’ll get a number with E in it, and that won’t make much sense to most viewers of your site. //Now tell people how long it took! |
How-To: Do Basic HTML
HTML is the base for most websites. It is the thing that can make your text look bold, italic or both.
If you’re wondering what the limits are of HTML, look at Microsoft Word (or OpenOffice if you’re cool). Everything in Microsoft Word is something you can do with HTML basically. So let’s get right into it.
HTML Tags Examination
Let’s examine a basic HTML tag:
As you can see, there are < and > tags. Anything inside these tags tells that HTML is running. The end of it (</h1>) is where it tells it to stop applying and continue on with the normal text.
You can replace h1 with a variety of things, and you’ll get different things.
The “Text here” is the text or picture that will be affected by the HTML tag. In the example above, “Text here” has the h1 tag applied to it, which makes it look bigger.
You can also apply more than one HTML tag to anything, like the example below.
Bold
Example: Example Text
To make things bold, you use this code:
The b in the tags means make it bold!
Italic
Example: Example Text
Underline
Example: Example Text
Strikethrough
Example: Example Text
Image
Example:
Now this is going to look a little different than the ones shown above.
Images have many different parameters, such as src (the source of the picture you’re trying to show), width (how wide in pixels), length (how long in pixels), border (how thick of a border; default 0px), bordercolor (color of the border, if there is one) etc. In these parameters, you should use quotation marks, because if there’s a space and there aren’t those marks, it’ll just not count it as part of the src. This does not have an end tag.
If you leave in only one of either width or length, the whole picture will proportionalize to that specific height or width.
(Hyper)Links
Example: Check Us Out!
This is another one with more than one parameter. Instead of “src”, you use “href” to link to your source. You can also have class, name, or id, but they’re not used too often. Inside of the “a” tag will be the text or picture that displays the link.
Tables
Example:
| Example | Text |
Although CSS is usually now replacing this HTML, some still use it, so I thought I’d throw it in there anyways.
This uses 3 HTML tags: One for the whole table, one for the row, and one for the column. You can add more columns to make it wider (for example 1×3) and vice versa.
Text Color/Font/Size
Example: Example Text
Multiple parameters again. This changes practically everything about text.
Breaks
Example: Example
Text
This doesn’t have an end tag (why would it need one?).
Paragraphs
Example:
Example
Text
You can change the kind of text inside the tags, like the code below.
Horizontal Rules (or lines)
Example:
Multiple parameters. You can change color, width, etc.
Be sure to check back for more add-ons to this post!
No commentsHow-To: Firefox Smart Keywords
![]()
So what exactly is a smart keyword? A smart keyword is a keyword that, when typed in the location bar, will open up a site for that keyword.
For example, let’s say you have a bookmark and it links to DCTF (Don’t Copy That Floppy). If you put “DCTF” in a keyword for that bookmark, then if you type in DCTF in the location bar, you’ll get to this site! Cool huh?
Another useful tactic for this is for searches. For instance, let’s say you wanted to be able to search DCTF. Instead of tediously typing it in the box over there each time, you could do the following:
- Right-click the search box and click “Add a Keyword for this search…”
- Put whatever name and keyword you want in. For the sake of this article, let’s say you typed in DCTF for each box.
- Now let’s say you’re looking for MGS4 goodies. Type in the location bar: “DCTF MGS4″
- You should get search results for MGS4!
Productive huh?
No comments5 Pixel-Popping Photoshop Tuts

These actually make your text, shadows, and highlights look better, just by the addition of a line of pixels. You guys gotta check this tutorial out:
Tutorial 9
What to do when Windows gets Really Messed Up

Constant BSoDs or other problems with your Winblows machine? PC World can help! Check out their how-to here.
No commentsSlipstream XP SP3 into Your Windows XP CD

LifeHacker will show you how to get SP3 into your Windows XP CD! It doesn’t look that hard, just download a few programs and follow the instructions. Try it out, if you like the SP3 release (which, in my opinion, is practically the same as SP2).
Source: LifeHacker
No commentsHow-To: Open Any File in a Torrent
Here’s my video tutorial I promised. If you have any questions, feel free to message me on YouTube or AIM.
So you don’t know how to use Ventrilo?
Well I’ve helped a few people connect to servers on Ventrilo, and Matt wanted me to write a tutorial. So i said to myself “Why not a tutorial on how to connect to Ventrilo for the first time?”
Here it is, enjoy, and excuse my vocal mistakes. =D
No commentsSawed-Off Flash Drive

Wanna hide your USB drive? Wanna make it look like somebody just ripped up your USB cable?
Well here’s a tutorial how! Check the source.
Source: Evil Mad Scientist Laboratories
No comments