Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 12-04-2005, 08:34 AM   #1
In Runtime
 
jamieoliver22's Avatar
 
Join Date: Apr 2004
Posts: 245
Default Change video using PHP

Hi all.

I want to know, how do you change a video on a page depending on the address?

For example:
www.site.com/view.php?testing.wmv

So on the the view.php page, the testing.wmv would play.

I am a bit of a n00b to PHP so help would be appriecated.

Thanks
Jamie
__________________

jamieoliver22 is offline   Reply With Quote
Old 12-04-2005, 08:56 AM   #2
In Runtime
 
jamieoliver22's Avatar
 
Join Date: Apr 2004
Posts: 245
Default Re: Change video using PHP

Nevermind.. I did it..

I put in: <param name="url" value="<?php echo $vid; ?>"> for the video's address

Then the address was: /view.php?vid=testing.wmv

Thanks anyway
Jamie
jamieoliver22 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 11:54 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0