my version of soundclick

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rapaddict_dot_com
Forum Commoner
Posts: 27
Joined: Tue Mar 16, 2004 4:54 pm

my version of soundclick

Post by rapaddict_dot_com »

Im working on my own version of soundclick with my own changes.

A few things have come to my attention
1) Is there a way of uploading songs faster then copy() and
2) Is there a way of showing how much % of the file is uploaded on a seperate small window that refreshes like on soundclick.
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

There's some good information on a progress indicator here.
As for uploading the songs, copy() doesn't actually do anything until there are uploaded.
rapaddict_dot_com
Forum Commoner
Posts: 27
Joined: Tue Mar 16, 2004 4:54 pm

Post by rapaddict_dot_com »

well whats the fastest way to upload files that are =<6MB
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

There is no faster way. The speed is to do with how fast the user can upload to the server.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Well that's not true. FTP uploads are usualy quicker than HTTP.

So if the upload was to occur over an FTP connection, and then after a script can transfer it from the FTP location to the http folder, it might speed up the process a bit.

FTP was built for File transfers, yet a lot of people still use HTTP (built for text transmission) for uploading/downloading sites.
Post Reply