Havey, you are awesome,
this helps a lot

thanx man




________________________________
From: Harvey Kane <[email protected]>
To: [email protected]
Sent: Thursday, 12 February, 2009 10:35:03 PM
Subject: [phpug] Re: add youtube video into my website by adding url


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




      Easy recipes for Christmas entertaining on Yahoo!Xtra Lifestyle- 
http://nz.lifestyle.yahoo.com/food-recipes
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to