phpsycho Posted June 26, 2011 Share Posted June 26, 2011 I am running a server from home and I want to set up a area on my website to have users upload videos. I would love to use php to upload but if I do it will slow the server down a whole lot so people browsing would get ugly all because someone is uploading a video. what would really suck is if 5 people were uploading videos lol may not even be possible on this server. but my question is.. do you know of another way to upload files to a server? or a fix somehow for php to not use so much ram to upload? Link to comment https://forums.phpfreaks.com/topic/240462-uploading-files/ Share on other sites More sharing options...
mgoodman Posted June 26, 2011 Share Posted June 26, 2011 You could always use FTP. Link to comment https://forums.phpfreaks.com/topic/240462-uploading-files/#findComment-1235105 Share on other sites More sharing options...
phpsycho Posted June 26, 2011 Author Share Posted June 26, 2011 Yeah, but I'm talking about setting up a video section on the website for users to upload their videos. Link to comment https://forums.phpfreaks.com/topic/240462-uploading-files/#findComment-1235106 Share on other sites More sharing options...
mgoodman Posted June 26, 2011 Share Posted June 26, 2011 Then you'll have to use PHP. It shouldn't be a problem though. I had a small site where users could upload files and I didn't have any problems with it slowing down. Try it first and then if there's any problems you can go back and fix it up. Link to comment https://forums.phpfreaks.com/topic/240462-uploading-files/#findComment-1235107 Share on other sites More sharing options...
phpsycho Posted June 26, 2011 Author Share Posted June 26, 2011 hmmm alright.. just don't my server to crash. :-\ I heard something about using C but I don't know that programming language. Know of a way to use php but slow down the uploading process? so the servers top priority is not uploading that file, its keeping a steady browsing environment. so instead of uploading 10mb in 5 mins, have it upload 5 mb in 5 mins (just an example) Link to comment https://forums.phpfreaks.com/topic/240462-uploading-files/#findComment-1235108 Share on other sites More sharing options...
mgoodman Posted June 26, 2011 Share Posted June 26, 2011 PHP can't do that because it doesn't handle the connection; PHP only processes the request. I don't know anything else useful on this subject, sorry I couldn't help you. Link to comment https://forums.phpfreaks.com/topic/240462-uploading-files/#findComment-1235115 Share on other sites More sharing options...
phpsycho Posted June 26, 2011 Author Share Posted June 26, 2011 ah alright, thats okay. thanks anyways though Link to comment https://forums.phpfreaks.com/topic/240462-uploading-files/#findComment-1235116 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.