Pure PHP Upload 2 Support Product Page
Not all images upload
Asked 04 Nov 2010 00:27:07
1
has this question
04 Nov 2010 00:27:07 Bruce Geroux posted:
Hi,I have a form with multiple fields, 31 of which are used to upload photos. I can upload all but 11 of the 31 fields. The 11 are the last 11 of the 31. I'm running php 5.2.14 and Pure PHP Upload2 version 2.1.3. Problem is the same in all browsers.
I took over this web site from another webmaster and he was running it under php4. I downloaded all files from the old server and it works for the most part, but not for the last 11 photos.
I've even done a phpinfo() to view the files and it doesn't show all of them. I'm at a loss. File size shouldn't be a problem as they are all the same size.
Here is the code at the beginning of the file:
<?php require_once('../ScriptLibrary/incPureUpload.php'); ?>
<?php require_once('../ScriptLibrary/incResize.php'); ?>
// Pure PHP Upload 2.1.3
if (isset($_GET['GP_upload'])) {
$ppu = new pureFileUpload();
$ppu->path = "../homes";
$ppu->extensions = "";
$ppu->formName = "AddHome";
$ppu->storeType = "file";
$ppu->sizeLimit = "";
$ppu->nameConflict = "uniq";
$ppu->requireUpload = "false";
$ppu->minWidth = "";
$ppu->minHeight = "";
$ppu->maxWidth = "";
$ppu->maxHeight = "";
$ppu->saveWidth = "";
$ppu->saveHeight = "";
$ppu->timeout = "600";
$ppu->progressBar = "blueFlashProgress.htm";
$ppu->progressWidth = "300";
$ppu->progressHeight = "100";
$ppu->checkVersion("2.1.3"
$ppu->doUpload();
}
$GP_uploadAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
if (!eregi("GP_upload=true", $_SERVER['QUERY_STRING'])) {
$GP_uploadAction .= "?".$_SERVER['QUERY_STRING']."&GP_upload=true";
} else {
$GP_uploadAction .= "?".$_SERVER['QUERY_STRING'];
}
} else {
$GP_uploadAction .= "?"."GP_upload=true";
}
BRG
Replies
Replied 04 Nov 2010 14:56:39
04 Nov 2010 14:56:39 Teodor Kuduschiev replied:
Hello Bruce,
I've replied to the mail you've sent me earlier. Please check your inbox
I've replied to the mail you've sent me earlier. Please check your inbox