[ create a new paste ] login | about

Link: http://codepad.org/BiWKxfSZ    [ raw code | output | fork ]

PHP, pasted on Nov 21:
1
2
3
4
5
6
<?php

$url = "http://www.youtube.com/watch?v=lgT1AidzRWM&feature=related";
$p_url = parse_url($url);
parse_str($p_url['query'], $p_param);
print_r($p_param);


Output:
1
2
3
4
5
Array
(
    [v] => lgT1AidzRWM
    [feature] => related
)


Create a new paste based on this one


Comments: