Hi Denis,
This is all we do to YouTube URLs...
$url = str_replace('watch?v=', 'v/', $url);
(then insert $url into your standard embed code)
Harvey.
Denisson De Souza wrote:
> Thanks alan, It worked, but if I want to upload the url to be able to
> display in the website, How do I change the "whatch?" to a foward
> slash and the "=" sign to a forward slash knowing that I am going to
> upload?
> Thanks for your help I am a junior an it's important to me get this right.
>
> cheers
>
> Denis
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---