Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi everyone..this is my first post and i would really appreciate it if someone can help me ...
here what i want to do ... i want to make a videoplayer.php where :
1) someone will click on a link from some site with this form : http://www.mydomain.com/videoplayer.php?url=1234567
2)videoplayer.php then will read the last 7 digits 1234567 to use them as a parameter after .
3)videoplayer.php have an embeded video code like this :
[syntax="html"]<object codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab" height="400" width="720" classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616"><param name="autoplay" value="false"><param name="src" value="http://video.stage6.com/{param}/.divx" /><param name="custommode" value="Stage6" /><param name="showpostplaybackad" value="false" /><embed type="video/divx" src="http://video.stage6.com/{param}/.divx" pluginspage="http://go.divx.com/plugin/download/" showpostplaybackad="false" custommode="Stage6" autoplay="false" height="400" width="720" /></object>3) that s all .. i want videoplayer.php to resd the url and extract the last 7 digits and use them as a code to play the embeded video ...
I guess this should be easy to make but as i have 0 experience with php i really need your help ..
thank you in advance
feyd | Please use[/syntax]
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]