Is there a PHP script that can use part of the url (eg. "?q=videourl.flv") and use...

Eli

New member
...that in the page source? For example...

if the url was http://example.com/videoplayer/?q=videourl.flv , the page content would show a flash flv player with flashvars of "videourl.flv" ...so if you changed the q= value in the url, it would change the flashvars of the flv player??

Thanks! :)
that example url says:

example.com / videoplayer / ?q=videourl.flv

:)
 
Why yes, yes there is.
This would get that kind of thing:

<html>
<body>
flashvars=<?php echo $_GET["q"]; ?>
</body>
</html>

The $_GET array has all those url parameters, and you can access one by using $_GET["parameter_name"]
 
Back
Top