FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


I need a php upload script, NEEDED BADLY





warallthetm
Right now my website http://www.sk8te.uk.to is split between 2 hosts, one is paid (almost everything is hosted) and one is free (ment forfiel upload). My problem is that the free hosts has a max upload of 2 mb. So i need a php script that can upload files (only the type i allow!) and break them into segments of 1mb, then assemble the file again at the server. I have seen this done in a java applet, but i hate java applets. I need to be able to:
control file type and file size.


I will pay whatever it take but i need the script soon!
Traveller
Unfortunately, I am just swamped right now, but I found some information that might help you (or whoever does this) get started. It is the discussion on the PHP website - in particular, in some messages posted by users on the page that describes the the file-upload feature of PHP:

http://us2.php.net/features.file-upload

At least two of the posts included code that appears to be something you could use as the basis for what you need.

Good luck!
neonard0
Hi , I think that it can't be done with php, cause for breaking the file, this need to be loaded in the server so if there is the limit of 2Mbytes, you wont be able to load more, Remeber PHP is server Side so all the logic and all the process is made by the server the client just know pure HTML. with javaApplet is diferent cause the applet is full loaded into the pc client so all the logic is made in the client, and this applet can break the file in your PC memory (RAM), and then sends the firts breaked part to the server by sockets, or to some cgi script, or web service or even a php, and so on. And then with all the parts in the server a php script can join it again.
So i think that the only chance you have is to modify the java applet that you said, if you dont like the GUI or something like that, if you dont have acces to the sourcecode, you can try to decompile it, but thats illegal if there the applet is right protected, if not you can use "DJ Java Decompiler" I dont remember well the name of the program but with those words you can find it in google, and get the compile code that is in your machine, int "temporally internet files" somwhere in your hard drive.
I hope this could help, If you have questions just tell me (but send me a private message cause i dont often visit english forums)
bladesage
I have never heard of a java applet that can do that. If you link me to it, perhaps I can mimic it in php.

PHP makes uploading, type/size control, and even creation easy, but not splitting/merging as far as I know.

If you link me to such a java applet, I may be able to help you.
warallthetm
http://upload.thinfile.com/resume/?gg

I tried it, but it didnt let me control file type, also the congif file was tricky
Related topics
Hot or Not PHP-Nuke script
What's the best PHP Wiki script?
looking for wap upload script
Php voting script needed (URGENT)
NEED PHP/ Help!!!!!!!!! (re-vamped)
php upload issue
Need A Custom Script Developed !!! Payin Good !!!!
PHP contact script...
Need Banner Exchange Script for www.xchangebanners.info
How to build simple PHP upload form
is there a good upload/download script?
How to do an upload script??
Help: Need a review script for PHP
need help in a simple php register script based on flat file
Reply to topic    Frihost Forum Index -> Miscellaneous -> Marketplace

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.