I run a video site that allows users to upload videos. From a programming standpoint, is there a way I can tell which videos are uploaded by me and which are uploaded by my users? The reason I want to know is I want to take down the videos I have uploaded but it would take forever to go through them manually.
Do you have file names of videos that were uploaded by you? If yes, then you can get a script written to do what you need.
If you have some user-identifying information in a database (such as mysql), that was put there when the video was uploaded, you could create a script that would use that data to remove only your videos. Or as rohan said, if you have the file names.
I have a pretty good memory so I *could* manually get the names but it would take quite a long time. I was hoping there would be a way to do it based on IP address or something similar - but I'm guessing you can only do that if you actually store the IP? I'm a newbie when it comes to this stuff.
Dont you have any field like addedby or userid or something like that? or the form to add videos is the same as your own?
Checking... Yeah I have a user ip field and user id field but they are all blank. Must be a bug with the upload code.