Created
July 14, 2012 19:12
-
-
Save samuelsimoes/3112811 to your computer and use it in GitHub Desktop.
Pegar o ID do Vídeo com PHP a partir da URL do Vídeo.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
parse_str(parse_url($url_video_youtube, PHP_URL_QUERY), $parms_url_youtube); | |
$id_video_youtube = ($parms_url_youtube['v']) ? $parms_url_youtube['v'] : false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment