Arduino as ESC with rc receiver?

I have arduino with a motor shield and would like to use it as a ESC (electronic speed controller) I got a 2 motors running. Now i would like to use a a rc receiver with my arduino, to tell it to go forwards or backwards. But i have no clue how to use connect the receiver with my arduino. I looked around and learned that i need to decode the ppm signal from the receiver bit i don't know how.
I have been using my arduino since a couple of month now but i don't know too much about it so please explain it so i can understand it.
Thanks a lot.
Daniel.k

Have a look at :
http://arduino.cc/en/Reference/PulseIn

That isn't bad i going to try that but i'd like to work with something so i could regulate the speed with the transmitter.

i tried it with this code but it didn't work. I connected my receiver like a servo black ground red 5v and yellow to digital 7. What did i do wrong?

int pin = 7;
int led = 13;

void setup()
{
pinMode(pin, INPUT);
pinMode(led, OUTPUT);
}

void loop()
{
if (pulseIn (pin, HIGH));
{digitalWrite(led, HIGH);}
}

What did i do wrong?

You didn't read the documentation for pulseIn

it didn't work

How I hate that phrase.

i'm sorry i should have tried longer before i posted my problem and i bet u hate the phrase ''it didn't work''. before i get to the variable speed i now tried to just turn a led on and of.I connected the receiver like a servo. But all i get is a constant blinking and no variation if i use the rc transmitter. I supose my code i wrong but i don't know what is. Any suggestions?
Thank you for your patients.

int pin = 7;
int led = 13;

void setup()
{
pinMode(pin, INPUT);
pinMode(led, OUTPUT);
}

void loop()
{
digitalRead (pin);
if (pulseIn (pin, HIGH));
{digitalWrite(led, HIGH);}
if (pulseIn (pin, LOW));
{digitalWrite(led, LOW);}
}