For example - on vimeo.com, each video has an id number. To view that video, you simply navigate to vimeo.com/2847535 or whatever.
Let's say I have a similar site where every time a user adds a video, it is assigned a unique id. How do I create a directory with that ID number after I add the video to the database?
Also, once the video is in the database and the directory has been created, now I have to display the right video on the php page that loads when a user visits www.example.com/38540305 ...my second question is, how do I pull the video id from the URL? I know how to do it when the url looks like www.example.com/video.php?38540305 using _GET, but I don't think that will work without the "?"
Links to resources or code much appreciated!