Pure PHP Upload 3 Support Product Page
Under investigation
Files not uploading
Reported 11 Oct 2014 03:53:55
1
has this problem
11 Oct 2014 03:53:55 james oppenheim posted:
Please help! Ok...the extension is installed. I set permissions in the Uploads directory to 666.I ran the program and the progress box popped up, a white rectangle, and then vanished. No file was uploaded. Here is the output of the program:
Pure PHP Upload version 3.1.0 running on PHP 5.3.28
PureFileUpload::nameConflict => over
PureFileUpload::storeType => file
PureFileUpload:rogressBar => html5.htm
PureFileUpload:rogressWidth => 350
PureFileUpload:rogressHeight => 150
PureFileUpload:ath => Uploads
PureFileUpload::redirectUrl =>
Here is the program:
<?php require_once('ScriptLibrary/incPureUpload.php'); ?>
<?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;
}
?>
<?php
//*** Pure PHP File Upload 3.1.0
// Process form Form1
$ppu = new pureFileUpload();
$ppu->nameConflict = "over";
$ppu->storeType = "file";
$ppu->progressBar = "html5.htm";
$ppu->progressWidth = 350;
$ppu->progressHeight = 150;
$ppu->path = "Uploads";
$ppu->redirectUrl = "";
$ppu->checkVersion("3.1.0"
$ppu->doUpload();
if ($ppu->done) {
$_POST["undefined"] = undefined;
$_POST["undefined"] = undefined;
}
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<script type="text/javascript"><?php echo $ppu->generateScriptCode() ?></script>
<script src="ScriptLibrary/incPU3.js" type="text/javascript"></script>
</head>
<body><form action="<?php echo $DMX_uploadAction ?>"
method="post" enctype="multipart/form-data" name="Form1" id="Form1" onSubmit="<?php echo $ppu->getSubmitCode() ?>;return document.MM_returnValue">
<?php echo $ppu->getProgressField() ?>
<input type="file" id="UPLOADME" onChange="<?php echo $ppu->getValidateCode() ?>;return document.MM_returnValue">
<input type="submit" value="upload">
</form>
</body>
</html>
Replies
Replied 14 Oct 2014 11:09:38
14 Oct 2014 11:09:38 Teodor Kuduschiev replied:
Hello James,
Please provide a link to your testing page, where we can check this.
Please provide a link to your testing page, where we can check this.