I have seen many website with urls such as
I am just wondering, how would I do something like this. I am looking to create something similar whereby it specifies a certain video for example.
So I am looking for something like:
And if someone were to go to that link, it would display that video about a rocket. So basically every single video has an id and i could do a link thing like that. So for example I could have a bunch of different ones like:
Take YouTube for example. I am looking to do something similar to that. For example, one of their URLS to a video is:
I am thinking simple, something more like having two simple files; vid_id.php and video.php (for example). Then, in the vid_ip.php file it would contain a list of all the videos, and have id's. For example, the numbers 0-5 are the id's, and for every id it tells the source of the video file.
 src="http://www.mydomain.com/videos/rocket.swf"  src="http://www.mydomain.com/videos/balloon.swf"  src="http://www.mydomain.com/videos/cake.swf"  src="http://www.mydomain.com/videos/cheese.swf"  src="http://www.mydomain.com/videos/apple.swf"  src="http://www.mydomain.com/videos/cat.swf"
Then, in video.php a simple script which would allow me to simply type in http://www.mydomain.com/video.php?id=3 in the browsers address bar and it would then bring me to the page which will show the video about cheese. Would it be possible to do something simple like this?