|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
File Upload
Well.. I am in desperate need of a php script.
All I want is a simple form on a webpage where you can browse for a file, e.g an Image file then upload to a directory on my server. I've visited countless websites with countless scripts but I only managed to ever get one to work and when it did the max filesize was something like 15kb which was far too small. Any help would be GREATLY appreciated as Im useless with PHP. Cheers ~~ |
|
#2
|
||||
|
||||
|
There are several tutorials and many threads on this topic here. Take a look around and see how far you can get. Then come back with any specific questions.
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
|
#3
|
|||
|
|||
|
File Upload sample..
File Upload sample.
note : there's a restriction for file size think you can easily edit and change the size here PHP Code:
Last edited by stumpy : July 13th, 2004 at 08:42 AM. Reason: Please place CODE IN [CODE] OR [PHP] TAGS! |
|
#4
|
|||
|
|||
|
OK - it appears that you have an issue with the file size from what you are saying... I have to warn you ahead of time that PHP by default has a value in the PHP.INI file that governs the file size. The parameter is called "upload_max_filesize" and by default is set to 2MB. You shouldn't have any trouble uploading anything upto 2MB, but beyond that, to the best of my knowledge, you will need to have access to your PHP.INI file to be able to change that value. You should see something to the effect of the following in there....
; Maximum allowed size for uploaded files. upload_max_filesize = 2M Its this value that you will have to change |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > File Upload |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|