FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » changing video source from youtube to my site
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: changing video source from youtube to my site [message #181317 is a reply to message #181316] Fri, 10 May 2013 10:25 Go to previous messageGo to previous message
SwissCheese is currently offline  SwissCheese
Messages: 17
Registered: December 2012
Karma:
Junior Member
On 05/10/2013 05:28 AM, richard wrote:
> I have a long long list of videos on my site all stored in a database.
> The way I have it structured in the php code is for all the videos to be
> played in the supplied youtube's <iframe> scheme.
> But what if I want to have a video source on my site?
> In BASIC, I could easily say if left$(x$,4)="this" then do this.
> So I need some kind of trigger that tells php this video is handled
> differently.
> What string handler can I use to check the trigger with?
>

http://php.net/manual/en/ref.strings.php

--
Norman
Registered Linux user #461062
-Have you been to www.php.net yet?-
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Unique array of arrays - how can I do this?
Next Topic: Security risks allowing users to upload a css file?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 09:32:29 GMT 2024

Total time taken to generate the page: 0.04898 seconds