Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #9261 > unrolled thread
| Started by | richard <noreply@example.com> |
|---|---|
| First post | 2013-05-10 05:28 -0400 |
| Last post | 2013-05-10 19:49 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.php
changing video source from youtube to my site richard <noreply@example.com> - 2013-05-10 05:28 -0400
Re: changing video source from youtube to my site SwissCheese <swisscheese@cfl.rr.com> - 2013-05-10 06:25 -0400
Re: changing video source from youtube to my site "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-05-10 19:49 +0200
| From | richard <noreply@example.com> |
|---|---|
| Date | 2013-05-10 05:28 -0400 |
| Subject | changing video source from youtube to my site |
| Message-ID | <7s1c32zbu0q9.f5v343qkjeb9.dlg@40tude.net> |
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?
[toc] | [next] | [standalone]
| From | SwissCheese <swisscheese@cfl.rr.com> |
|---|---|
| Date | 2013-05-10 06:25 -0400 |
| Message-ID | <kmihoh$p69$1@dont-email.me> |
| In reply to | #9261 |
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?-
[toc] | [prev] | [next] | [standalone]
| From | "M. Strobel" <sorry_no_mail_here@nowhere.dee> |
|---|---|
| Date | 2013-05-10 19:49 +0200 |
| Message-ID | <av4q9aFilu1U1@mid.uni-berlin.de> |
| In reply to | #9261 |
Am 10.05.2013 11:28, schrieb richard: > 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? > the video source should be in the database, it is an essential attribute of the video. /Str.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.php
csiph-web