Pure PHP Upload 2 Support Product Page
larger file upload issue
Asked 02 Feb 2011 19:36:09
1
has this question
02 Feb 2011 19:36:09 lucas charles posted:
i am trying to use pure upload for larger video file upload however i am having issues----------------------
script uploading smaller jpg file works (debug)
Pure PHP Upload version 2.1.10
PHP version(5.2.6)
path(../../siteimages)
extensions(GIF,JPG,JPEG,MOV)
redirectURL()
storeType(file)
sizeLimit(10000000000)
nameConflict(uniq)
minWidth()
minHeight()
maxWidth()
maxHeight()
saveWidth()
saveHeight()
timeout(100000)
Setting timeout
fullPath = /pl/manage/small_images/../../siteimages/
Check path
Starting to progress files
field = smallimages_file
filename = smalltest.jpg
CleanUp FileName
new filename = smalltest.jpg
Checking fileSize
Checking extension
comparing JPG with GIF
comparing JPG with JPG
comparing JPG with JPEG
comparing JPG with MOV
Moving the file to the destination
Checking permissions
file moved to ../../siteimages/smalltest.jpg
Checking Image Dimension
imageWidth = 100
imageHeight = 100
Setting the imagesize in formfields
-----------------
same script (24mb) uploading larger video file not working (debug)
page hangs and clears form.
Pure PHP Upload version 2.1.10
PHP version(5.2.6)
path(../../siteimages)
extensions(GIF,JPG,JPEG,MOV)
redirectURL()
storeType(file)
sizeLimit(10000000000)
nameConflict(uniq)
minWidth()
minHeight()
maxWidth()
maxHeight()
saveWidth()
saveHeight()
timeout(100000)
Setting timeout
fullPath = /pl/manage/small_images/../../siteimages/
Check path
Starting to progress files
------------------
i have set upload_max_filesize = 128M and post_max_size = 128M with a php.ini file and have confirmed with phpinfo( );
----------------------------------------
have set upload folder permissions to 777
------------------------------
the debug script i am is is:
<?php $DMX_debug = true;
if( !isset( $HTTP_SERVER_VARS ) )
{
$HTTP_SERVER_VARS = $_SERVER;
}
if( !isset( $HTTP_GET_VARS ) )
{
$HTTP_GET_VARS = $_GET;
}
if( !isset( $HTTP_POST_VARS ) )
{
$HTTP_POST_VARS = $_POST;
}
if( !isset( $HTTP_POST_FILES ) )
{
$HTTP_POST_FILES = $_FILES;
}
?>
--------------
i have also tried:
<?php $DMX_debug = true; ?>
------------------
any other thoughts of what i can do to get this to work would be greatly appreciated.
thanks
Replies
Replied 03 Feb 2011 13:43:01
03 Feb 2011 13:43:01 Miroslav Zografski replied:
Hello Lucas,
Large files are requesting more time to be uploaded. Thus the upload script is live until the upload is finished.
So check what is the max script time out set in the php.ini and play around with the value as well.
Regards,
Large files are requesting more time to be uploaded. Thus the upload script is live until the upload is finished.
So check what is the max script time out set in the php.ini and play around with the value as well.
Regards,