Posts Tagged howto

Textpad PHP manual lookup tool

A little tip for those of us using textpad to develop in PHP. How often do you find yourself having to go back to to check up on a function – is it ($needle, $haystack) or ($haystack, $needle)? I can never remember! With this tool I just need to highlight the function in textpad, press Ctrl-1 and up pops in a new tab, opened on that function’s manual entry. Neat huh?

Here’s how:

Read the rest of this entry »

, , , ,


PHP error handling

Does this type of error handling code look familiar?

function doFunction($var) {
	if(is_numeric($var)) {
		/* do some stuff*/
	} else {
		return -1;

BLEH. How ugly is that? There’s no indication whether -1 is actually an error or a valid return value, or what it means. And other functions might use false to indicate errors so there’s inconsistency. So I’ve written a very simple function to help you give meaningful PHP error messages.
Read the rest of this entry »

, , , , ,



I don’t have time right now to give a lot of detail about computer security as a whole. But here’s what I’d say if you asked me how best to learn about network security and hacking: Read the rest of this entry »

, , , , ,


Setting up a WAMP Server by hand

This article will step through what you need to do get WAMP (Windows, Apache, mySQL, PHP) running on windows 2000, 98 or XP. (It might work with Vista, ME or 95, but I don’t promise anything)

By the end, you’ll have a versatile tool that will allow you to:

-host your own website (permanent internet connection preferable)
-learn a basic programming language (PHP)
-learn about relational databases (mySQL)
-learn about server config on the industry standard webserver (apache)

all without having to install a new operating system.

Read the rest of this entry »

, , , , , , , , ,


How To Hack – Beginners Guide to Hacking Computers

“ The Only True Guide to Learning How to Hack ”

originally by R4di4tion (his email, but it’s no longer in use), with a few updates by myself.

You stay up all night on the PC typing and typing. No, you’re not hacking. You’re begging someone on IRC to teach you how to hack! Let’s look at the facts:

  1. You’re a luser and you’re annoying. No one likes you if you ask others how to hack without taking the least amount of initiative.
  2. You’re not worthy of any title even resembling hacker, cracker, phreaker, etc., so don’t go around calling yourself that! The more you do, the less likely you are to find someone willing to teach you how to hack (which is an infinitesimal chance, any way).
  3. You’re wasting your time (if you couldn’t infer that in the first place). Many real hackers (not those shitty script kiddies) spend all their insomniac hours reading and, yes even, HACKING! (Hacking doesn’t necessarily (but usually does) mean breaking into another system. It could mean just working on your own system, BUT NOT WINDOWS ’9x (unless you’re doing some really menacing registry shit, in which case, you’re kind of cool).)

Read the rest of this entry »

, , , , , , , ,