Pages: [1]
|
 |
|
Author
|
Topic: uploading multiple vidcaps (Read 525 times)
|
Xena
ZboXian
 
Offline
Posts: 33

|
At Domania I can upload multiple vidcaps at once and rename them as they upload. I wonder why most Webtv friendly hosts don't have this? Most hosts I've used let you upload either one at a time or multiple ones with default names.
That is one of the main reasons I keep my Domania account. I upload lots of vidcaps and Domania seems like the easiest place to do that.
|
|
|
|
|
Logged
|
|
|
|
ZboX
Founder
Administrator
Posting Maniac
    
Offline
Posts: 1695

What 'ya got there??
|
We had talked about that at ZboX, but the consensus was that one was enough. I guess the interest just wasn't there.
~;-)
Bert
|
|
|
|
|
Logged
|
|
|
|
DJ Mike
Serious Poster
   
Offline
Posts: 171

|
I made an uploader a while ago and it should be no problem to make a multi uploader. I was thinking a about makeing a page on my tutorial for it just this week when I was looking over my old HTML forms tutorial and realized that I could make a wav uploader too. I don't have time for it soon but if you don't know at least forms, you should learn that. you can ask at news:alt.discuss.scripting.php and maybe someone already has one.
There is a post about my tutorial in the code forum below. It starts with a review of HTML forms. Later there are some pages about how forms work with PHP and how to protect you page. For what you want, you should be paranoid about security. What we see as a vid cap uploader is a file to a computer user. You have to take steps to make sure that nobody can get into the page then take steps to make sure that someone can't upload a text file and rename it PHP if some gets past your password. If you have any source code viewers that didn't come with your account you should know how make sure that it can't be used to get the PHP source of your own files and expose them to the world.
<whisper>Think I have Bert worried yet?</whisper>
|
|
|
|
|
Logged
|
|
|
|
Paul Ding
ZboXian
 
Offline
Posts: 19
|
The default name of a vidcap is "picture.jpg" if I recall correctly. If you upload multiple vidcaps at once, each one that is uploaded overwrites the last one.
At PDhomes, I coded the uploader to see whether it was the default name for a vidcap; if it was, a name was generated that would be unique, not overwriting anything that already existed. I figured that renaming the vidcaps after they were uploaded was just as easy as renaming them during the upload process.
Craig approached it from the other direction, figuring it was just as easy to rename the file as it was uploaded as to rename it afterwards.
Uploading a vidcap is identical to uploading a file from a computer user's hard drive, as far as a website is concerned. Computer users can use either the PC uploader or the vidcap uploader, whichever they prefer. (Mike, the uploader for Amish should be able to upload WAVs with no problem. It should be able to upload ANY file.)
Xena, I think you probably upload more vidcaps than any other three users *combined*, due to the nature of your website. You have a wonderful site for people who interested in Yugioh. It's a shame that others don't follow your lead, and create "Bruce Willis Pics", and "Susan Sarandon Pics" websites, etc. I'm sure they'd attract a lot of traffic from fans of whatever they choose to vidcap.
|
|
|
|
|
Logged
|
|
|
|
Xena
ZboXian
 
Offline
Posts: 33

|
I just checked with a calculator and my Inuyasha section currently has 35,475 pics. That's an awful lot of vidcaps for a Webtv user to be uploading 6 at a time.
I don't know how I ever managed before I got a php thumbnail maker. When I first started I had to make each thumbnail one at a time. With that I can make a directory of about 100 pics into thumbnails with one click.
I've been working on that site for a long time. I started it in September 2003. I never thought it would get this big.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|
Xena
ZboXian
 
Offline
Posts: 33

|
I have wondered before why no hosts have an uploader for wavs from the Webtv plus. It's annoying to have to make them in e-mail and use an extractor to get them to a host.
I've thought about doing wavs on my site but never bothered for various reasons. The sound quality was bad, I think I wasn't even getting a full 30 seconds, and the Webtv would frequently say it wasn't hearing anything when trying to record a wav.
There is also no video while doing a wav which would make it more confusing for me since my wavs would be in Japanese and I know barely any Japanese (just a lot of frequently used words from watching subbed anime). It would be nice to have at least some samples so people that only watch the dub can hear the original voices, especially for Yugioh because the US release wasn't bilingual like every other officially released in the US anime dvd I have.
|
|
|
|
|
Logged
|
|
|
|
DJ Mike
Serious Poster
   
Offline
Posts: 171

|
This turned out a lot harder than I expected. The wav uploader wouldn't work at all. It stored on webtv's cache but wasn't passed on through the form. Wasted a lot of time on it before I gave up.
http://eclecticdjs.com/mike/temp/0803/upload_01.txt
When I tried 5 slots, it timed out even when I was only using 3 of them. In the user defined variables section yo can change the number of slots and the max size per file.
This is a temporary file till I decide what to do with it. I might make it list files in the storage directory. I might make it use your cPanel usename/password.
|
|
|
|
|
Logged
|
|
|
|
Xena
ZboXian
 
Offline
Posts: 33

|
I tried the built-in multi file uploader on another host tonight and I discovered it did not suit my needs at all. Besides having to later rename the files once you upload 100 files it seemed to run out of names and kept using the same name and uploading the same thing over and over again. Maybe I'm the only Webtv user that would upload over 100 vidcaps in a row. I've uploaded over 300 or 400 vidcaps in a row.
I finally got around to trying DJ Mike's uploader. I don't really know cgi or php at all but I managed to get it in my web space and test it out a bit and it seems to work well.
I like that I can edit the amount of vidcaps I can upload at once. I haven't tested it enough to find out my limit but I rarely have problems uploading 6 at once on other sites. I'm not sure but I think I used to upload 10 at a time when I was on pdhomes.
|
|
|
|
|
Logged
|
|
|
|
Pages: [1]
|
|
|
|
|