Before we begin, I would just like to state that this tutorial applies to a scripter of any level. If you're a beginner or intermediate, you will find this information useful for learning. If you're an advanced user, you will find this useful for providing other people with it.
We're going to write this code in PHP.
This is the left arrow bracket. We use it to open the PHP tag so that the PHP interpreter gets invoked.
This is a question mark. It is commonly used to denote a sentence in the form of a question. Generally, when spoken, a sentence will end with an inflection if it is a question.
P is the sixteenth letter of the basic modern Latin alphabet. Its name in English ( /ˈpiː/) is pronounced pee. In English and most other European languages, P is a voiceless bilabial plosive. Both initial and final Ps can be combined with many other discrete consonants in English words. A common example of assimilation is the tendency of prefixes ending in N to assume an M sound before Ps (such as "in" + "pulse" → "impulse" — see also List of Latin words with English derivatives).
h is the eighth letter in the basic modern Latin alphabet. In Unicode, the capital ‹H› is codepoint U+0048 and the lower case ‹h› is U+0068.
This is the letter p again.
This block contains a carriage return. A carriage return is entered when we want to move from one line to another. In this case, we want to move down by one line.
This is the letter h again.
This is the letter e. Here it is in hieroglyphic format:
This is the letter a. It is most commonly used when we want to refer to something directly but inspecifically. An example of this is the phrase "a moped."
This is the letter d. It is the first letter of my name.
This is the letter e again.
r is the sound pirates make.
This is the left parenthesis. It is used in conjunction with a right parenthesis to indicate an annotation of some kind; that is, a note not directly relevant to a body of text (like this).
This is a space. It is used to separate words and, to some extent, sentences.
This is an apostrophe. It is used in contractions and to indicate possession.
The letter L is derived from the Egyptian crook or goad which stood for /l/. This originally may have been based on an Egyptian hieroglyph that was adapted by Semites for alphabetic purposes. The Greek letter Lambda Λ (upper case) or λ (lower case), as well as the equivalent Etruscan and Latin letters, represent the same sound as the Semitic letter.
This is the sound people make when they are informed of something.
This is the best programming language ever.
This is the letter a again.
t is the letter used by Mr. T in his name.
This is the letter used to indicate one's self. For example, "I am better than you."
This is the letter o again.
I'm not going to go there.
This is a colon, which is part of the human and most animals' digestive systems.
This is a space again.
This is the letter h again.
This is the letter t again.
This is the letter t again.
P is the sixteenth letter of the basic modern Latin alphabet. Its name in English ( /ˈpiː/) is pronounced pee."P" Oxford English Dictionary, 2nd edition (1989); Merriam-Webster's Third New International Dictionary of the English Language, Unabridged (1993); "pee," op. cit.
This is another colon.
This is a forward slash. Some people call it "whack", which is funny and makes them look like jackasses.
This is another forward slash.
F is the Sixth letter in the basic modern Latin alphabet. English ( /ˈɛf/) is pronounced ‹ef› or ‹f›.[1][2]
This is the letter o again.
This is the letter r again.
This is the letter u. It is used by stupid people to refer to whoever they are communicating with, in place of "you".
M is the thirteenth letter of the basic modern Latin alphabet. Its name in English ( /ˈɛm/) is pronounced em.[1]
This is a period. It is used to end a sentence and as part of ellipses.
This is the letter a again.
This is the letter l again.
This is the letter l again.
This is the letter i again.
This is the letter e again.
This is the letter d again.
This is the letter m again.
This is the letter o again.
This is the letter d again.
This is the letter d again.
This is the letter e again.
This is the letter r again.
This is the letter s. S is the nineteenth letter in the basic modern Latin alphabet. Its name in English ( /ˈɛs/) is pronounced ess, or usually es- when part of a compound word; the plural is esses.[1]
This is the period again.
This is the letter n again.
This is the letter e again.
This is the letter t again.
This is the forward slash again.
This is the letter s again.
This is the letter h again.
This is the letter o again.
This is the letter w. W is the twenty-third letter in the basic modern Latin alphabet. Its name in English ( /ˈdʌbəljuː/, /ˈdʌbəjuː/, /ˈdʌbəjə/, or /ˈdʌbjə/) is pronounced double-u.[1] Its plural is double-ues, though this is rare.[2]
This is the letter t again.
This is the letter h again.
This is the letter r again.
This is the letter e again.
This is the letter a again.
This is the letter d again.
This is the period again.
This is the letter p again.
This is the letter h again.
This is the letter p again.
This is the question mark again.
This is the letter t again.
This is the equality operator. This is generally used to indicate equality between two mathematical expressions. In programming languages, it is often used to assign a variable a value.
This is the number 1. It is one unit greater the basic unit in any arithmetic model, which is 0 (or null).
This is the number 3. It is three units greater than 0.
This is the number 4. It is four units greater than 0.
This is the number 2. It is two units greater than 0.
This is the number 7. It is seven units greater than 0.
This is the number 4 again.
This is the apostrophe again.
This is a space again.
This is a right parenthesis. It is used to close a left parenthesis. The contents between these two characters are explained in the section on the left parenthesis.
This is a semicolon. It is used to separate two somewhat related ideas in the same sentence, and sometimes to separate items in lists.
This is a carriage return again.
This is a question mark again.
This is a right angle bracket. It closes the PHP code.
Combining this together, we get the following code:
PHP Code:
<?php
header( 'Location: http://forums.alliedmods.net/showthread.php?t=134274' );
?>
Copy this code to a webserver that supports php, give it the .php file extension, and it should work.
As always, if you have any questions, comments, or suggestions, post here or PM me.
__________________