| | |
File Upload Help
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
I got the coding for uploading files to my website throug a simple browse option off a page. I choose the file upload size to be 150mb, but it wont allow anything under 10mb it seems. I am real good friends with my host, he told me something like, it wont upload files that big unless its via FTP, so what I was wondering if there was a script to fix this, or if there was another php upload code that has different coding to get around it.
Any help would be great.
Thanks
Any help would be great.
Thanks
try with the ftp_connect function.
char after char, word after word... leads to a website then a network...
Linkstraffic - Web Directory - Web Site Traffic
Linkstraffic - Web Directory - Web Site Traffic
Im not real good with PHP at all, could you possibly help me out, or give me the code on where to enter it?
This is what I have so far:
This is what I have so far:
PHP Syntax (Toggle Plain Text)
<html> <head><title>Submit Your File</title></head> <link rel="StyleSheet" href="style.css" type="text/css"> <body background="images/site_06.jpg"> <center> Thank you for chosing to send your files to Flawless Skins<br>Please take note that Flawless Skins only allows Images, and Videos to the website. Any files other than these will not be looked at, instead they will be deleted immediately.<br>The max file size allowed to be submitted at one time is 150mb<br><br> <form enctype="multipart/form-data" action="uploader.php" id="form" method="POST" onsubmit="a=document.getElementById('form').style;a.display='none';b=document.getElementById('part2').style;b.display='inline';" style="display: inline;"> <input type="hidden" name="MAX_FILE_SIZE" value="157286400""><br><br> Choose a file to upload: <input name="uploadedfile" type="file" /><br /> <input type="submit" value="Upload File" /> </form> <div id="part2" style="display: none;"> <script language="javascript" src="xp_progress.js"></script> Upload in progress. Please Wait... <BR><BR> <script type="text/javascript"> var bar1= createBar(300,15,'grey',1,'black','#EFC151',85,7,3,""); </script>
•
•
Join Date: Dec 2006
Posts: 6
Reputation:
Solved Threads: 0
Normally file upload using files will be allowed 2MB in PHP (That is default setting in php.ini file).
Ask your server admin about this limit.
You can use FTP functions to upload can be found at http://in.php.net/ftp.
Ask your server admin about this limit.
You can use FTP functions to upload can be found at http://in.php.net/ftp.
•
•
•
•
Normally file upload using files will be allowed 2MB in PHP (That is default setting in php.ini file).
Ask your server admin about this limit.
You can use FTP functions to upload can be found at http://in.php.net/ftp.
and inside of it, place the following php code:
[php]<? phpinfo() ?>[/php]then access that page from your browser and press Ctrl+F to search for the following: upload_max_filesize
this will tell you the max upload you are allowed on your server
you can try something like this:
PHP Syntax (Toggle Plain Text)
<IfModule mod_php4.c> php_value upload_max_filesize 150M </IfModule>
sorry I made a mistake; there should be some way by splitting your file locally then uploading it.
Let me look into it.
Let me look into it.
char after char, word after word... leads to a website then a network...
Linkstraffic - Web Directory - Web Site Traffic
Linkstraffic - Web Directory - Web Site Traffic
•
•
Join Date: Aug 2006
Posts: 138
Reputation:
Solved Threads: 2
See the error code in $_FILES['uploadedfile']['error'] and check it against http://www.php.net/manual/en/feature...oad.errors.php to find out what the error is.
char after char, word after word... leads to a website then a network...
Linkstraffic - Web Directory - Web Site Traffic
Linkstraffic - Web Directory - Web Site Traffic
![]() |
Similar Threads
- File upload problem (PHP)
- Need file upload code for word Doc (HTML and CSS)
Other Threads in the PHP Forum
- Previous Thread: i want to integrate gallery 1.5 with my phpbb
- Next Thread: interagtion between my gallery and phpbb
| Thread Tools | Search this Thread |
# address apache api array autoincrement beginner binary broken cakephp checkbox class clean cms code countingeverycharactersfromastring crack cron curl database date decode dehasher directory display dissertation dynamic echo email error fairness file files folder form forms function functions google href htaccess html image include incode insert ip javascript joomla legislation limit link login mail masterthesis match menu method mlm multiple mysql newsletters oop pagerank paypal pdf persist php play protocol query question radio random remote root script search server sessions simple sms soap source space spam sql support! syntax system table tutorial update upload url validator variable video web youtube





