Page 1 of 2
Need Help Creating A PHP Uploader
Posted: Thu May 10, 2007 3:06 pm
by azwebs
I really need some help creating a PHP Uploader. It will run on my website, VideoTube. Users need to be able to upload files up to 8Mb. I sort of need a PHP code free, or really really cheap. I'm payin a fortune on server fees, I just built one and its hosted from my home. If anyone could help, I'd be really grateful.
Posted: Thu May 10, 2007 3:11 pm
by guitarlvr
Do you have any code for us to go off of? if so, please post it here. Also, i tried going to your domain and it said it was under constructions at Network Solutions. they do charge a fortune for web hosting. There are much cheaper hosting companies out there especially if your going to be using PHP (which they all pretty much support by default)
Wayne
Posted: Thu May 10, 2007 3:16 pm
by d3ad1ysp0rk
So, you spent all this money on "server fees" and hosting and such, but haven't considered the need for a programmer until now? I don't see your site being a success..

More Information
Posted: Thu May 10, 2007 3:41 pm
by azwebs
Right, I also have another alternative, which is to get a different domain name (been planning for ages), and scrap the network solutions server hosting. I was going to run the website from my home network server (56,000 GB space), 7GB RAM, 4.7Ghz Dual Core Processor. It cost me a fortune to build, and my internet fee's are pretty high too. I have 2 64Mb ADSL Line's with unlimited usage, which should provide plenty of bandwidth, and I have Microsoft IIS 6.0 Business Edition, with XP Pro.
I am currently running a Java Upload Applet from
http://www.javaatwork.com. This was implemented April last year, but I didn't want to buy the software, so I'm running restrictions of 3Mb's file upload. This needs to support up to 25Mbs file upload, and have a progress bar. Do you know any applications that exist at a free price, or would it be easier to code a PHP Uploader. I chose the Java Uploader because it implemented a progress bar and changeable upload directories. Ideally, I do not want users to change the upload directory. I want all videos to be sent to a default folder on my network server, where they can be censored, and then converted to FLV.
In conclusion, I need a PHP or Java file uploader that will;
- Allow upload of 25Mbs
- Use PHP or Java
- Use HTTP to upload files
- Show a progress bar
- Only allow video files (doesn't matter which format)
If anyone can lend us a hand, please post a reply.
Re: More Information
Posted: Thu May 10, 2007 3:44 pm
by nickvd
azwebs wrote:<snip> ...(560,000 GB space), 7GB RAM, 4.7Ghz Dual Core Processor. It cost me a fortune to build ... <snip>
Um... How much hard drive space do you have?
I seriously doubt you have 560
terabytes...
Disk Space
Posted: Thu May 10, 2007 3:47 pm
by azwebs
Seriously, there are 20 HDD's in the machine, and there are 8 externals. Do you have any ideas for my uploader?
Posted: Thu May 10, 2007 3:48 pm
by Begby
Ok let me get this straight.
A. you have this way over powered server that you are running out of your house that costs a fortune, 64mbs DSL (does that even exist?). Also you are using Windows XP pro on a server machine with 7 gigs of RAM and more data storage than a google data center.
B. You have a java applet that does what you want but can't afford blowing $89 on it even though you can afford the above.
C. You come here looking for a free solution to your upload script.
Did you forget to take your meds this morning?
Re: Disk Space
Posted: Thu May 10, 2007 3:51 pm
by Begby
azwebs wrote:Seriously, there are 20 HDD's in the machine, and there are 8 externals. Do you have any ideas for my uploader?
riiiiiiight
Posted: Thu May 10, 2007 4:56 pm
by RobertGonzalez
Ok folks, quit bashing the poster.
There are a few things you can do. What I have recently done, to begin coding uploaders, is to literally take the code example int he PHP manual and test it on my server. From there, just modify it to do what you want it to do.
There are thousands of upload scripts available in just about any PHP app these days. I know phpBB has one for avatar uploads (complete with file size limitation enforcement and the what not). Wordpress has one built in to their app as well.
Keep in mind that you are also going to have to modify your php.ini to allow files of that size to be uploaded. And with a system of that magnitude, why did you choose to go with XP instead of Linux for OS knowing you might be going to PHP as your server side processor? Also, are you actually able to use all 7GB of ram that you have? I have heard that even Vista caps at 3.
Server
Posted: Fri May 11, 2007 1:44 am
by azwebs
The server has 7GB RAM.
I should have mentioned that it runs;
Windows XP Professional x64 Bit
Windows Business Server 2003
Sorry for the confusion!
Re: Server
Posted: Fri May 11, 2007 3:37 am
by onion2k
azwebs wrote:The server has 7GB RAM.
I should have mentioned that it runs;
Windows XP Professional x64 Bit
Windows Business Server 2003
Sorry for the confusion!
Ok. Enough of this. Lying about how your computer runs two operating systems at once won't impress anyone, and it certainly won't persuade anyone to help you out with some code. This forum is for developers, and people learning PHP, to help each other voluntarily. You don't need to try and look grand in order for people to give you some guidance. Stop it.
If you want some help with some existing code, or some tips on how to write an upload script, explain what you need here.
If you want someone to jump in and provide you with a script for free, PM me and I'll move this topic to the Volunteer Work forum.
Above all though, you will have to be
honest otherwise I'm going to recommend your posting privileges here are revoked.
Posted: Fri May 11, 2007 3:45 am
by Kieran Huggins
Posted: Fri May 11, 2007 10:08 am
by Chris Corbyn
Where did you get your 20TB hard disks from? I tried looking on
microdirect but they don't seem to have them in stock yet.
I got impatient waiting for Intel to release the 8GHz Core Oxo so I made one last night myself. My Mac mini is working great now. If I could just get one of those hard disks of yours I'd be happy. I feel sick when I think about my 60GB hard disk now
Did you come from the future? It's 2007 here.
Future Insight
Posted: Fri May 11, 2007 4:15 pm
by azwebs
No, unfortunately, I didn't come from the future. Any pc with sustainable RAM and CPU power can process up to 4 operating systems. Because of the volume and power required for Business Server 2003, I can only run that and XP. As for the disks, there are many 720GB disks, not one huge one.
On startup, the computer asks you to select an operating system to boot, so it isn't actually running two at once. As I said, any PC with enough space, RAM and resources for two OS's can take them. Try it out if you have two different versions. It can even be XP Home and XP Professional.
Re: Future Insight
Posted: Fri May 11, 2007 4:25 pm
by nickvd
azwebs wrote:No, unfortunately, I didn't come from the future. Any pc with sustainable RAM and CPU power can process up to 4 operating systems. Because of the volume and power required for Business Server 2003, I can only run that and XP. As for the disks, there are many 720GB disks, not one huge one.
On startup, the computer asks you to select an operating system to boot, so it isn't actually running two at once. As I said, any PC with enough space, RAM and resources for two OS's can take them. Try it out if you have two different versions. It can even be XP Home and XP Professional.
I still call bull-crap... 750gb * 30 drives...
okay... the forums hate google links... use "(750GB * 30) in TB" as your query for the (simple) math...
750 GB * 30 = 21.9726562 terabytes
*coughbullcrapcough*