# (php) retrieving url variable

**URL:** <https://forum.kirupa.com/t/php-retrieving-url-variable/115640>\
**Category:** Uncategorized\
**Created:** [July 10, 2004, 7:14am UTC](https://forum.kirupa.com/t/php-retrieving-url-variable/115640 "2004-07-10T07:14:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![toille](https://avatars.discourse-cdn.com/v4/letter/t/7ba0ec/32.png) [@toille](https://forum.kirupa.com/u/toille)\
**Post date:** [July 10, 2004, 7:14am UTC](https://forum.kirupa.com/t/php-retrieving-url-variable/115640/1 "2004-07-10T07:14:32Z")

</div>

I am working on a site with lots of videos, but i only want to use one file. I want it to leave the SRC as a variable and load the file variable from the url, like: videoplayer.php?file=file.wmv … can anyone help me with how to do this?
