View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Not uploading files

Thread began 10/07/2009 2:45 pm by pardog178052 | Last modified 10/13/2009 8:14 pm by pardog178052 | 3354 views | 14 replies

pardog178052

Errors:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/vhosts/andana.cat/httpdocs/Clients/Upload2.php:5) in /var/www/vhosts/andana.cat/httpdocs/WA_DigitalFilePro/HelperPHP.php on line 70

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/vhosts/andana.cat/httpdocs/Clients/Upload2.php:5) in /var/www/vhosts/andana.cat/httpdocs/WA_DigitalFilePro/HelperPHP.php on line 70


Code Page:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
<?php require_once("../WA_DigitalFilePro/HelperPHP.php"); ?>
<?php
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "Enviaments/",
'FileName' => "",
'DefaultFileName' => "",
'ResizeType' => "0",
'ResizeWidth' => "0",
'ResizeHeight' => "0",
'ResizeFillColor' => "" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if($_SERVER["REQUEST_METHOD"] == "POST"){
WA_DFP_UploadFiles("WA_UploadResult1", "images", "0", "", "false", $WA_UploadResult1_Params);
}?>
<?php
if($WA_DFP_UploadStatus["WA_UploadResult1"]["statusCode"] == 1){
$WA_Redirect_URL = "Clients/Upload2.php";
$WA_Redirect_KeepQS = false;
if ($WA_Redirect_URL != "") {
if ($WA_Redirect_KeepQS && $WA_Redirect_URL != "" && isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] !== "") {
$WA_Redirect_URL .= ((strpos($WA_Redirect_URL, '?') === false)?"?":"&").$_SERVER["QUERY_STRING"];
}
header("Location: ".$WA_Redirect_URL);
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Edicions i propostes culturals Andana - Enviament d'arxius</title>
<link href="../cssandana/andana.css" rel="stylesheet" type="text/css" media="all" />
<script src="../Llibres/PluginLab/Scripts/PL_Layer.js" type="text/javascript">/* Used by PL_LayerWindow */</script>
<script src="../WA_DigitalFilePro/jquery-blockui-formprocessing.js" type="text/javascript"></script>
</head>
<body onload="P7_initPM(1,0,1,-20,10)">
<div id="cuerpo">
<?php include("../Include/capsalera.php"); ?>
<div id="contenido">
<div id="columnagran">
<div id="images1_ProgressWrapper">
<form action="" method="post" enctype="multipart/form-data" name="images" id="images1">
<label> </label>
<h2>Image Filename to Upload:
<input type="file" name="images" id="images">
</h2>
<input name="Submit" type="submit" id="Submit" value="Submit">
<input name="Reset" type="reset" id="Reset" value="Reset">
</form>
</div>
</div>
</div>
</div>
<div id="w3c"> <a href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.andana.cat%2FPremsa.php"><img src="../W3C/xhtml1.gif" alt="Valid XHTML 1.0 Strict" height="15" width="80" /></a> <a href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.andana.cat%2FPremsa.php&profile=css21&usermedium=all&warning=1"><img src="../W3C/css21.gif" alt="¡CSS Válido!" style="border:0;width:80px;height:15px" /></a> </div>
<?php include("../Include/pie.php"); ?>
</div>
</div>
<div id="images1_ProgressMessageWrapper" class="blockUIOverlay" style="display:none;">
<script type="text/javascript">
WADFP_SetProgressToForm('images1', 'images1_ProgressMessageWrapper', WADFP_Theme_Options['Bar:DesertSpice']);
</script>
<div id="images1_ProgressMessage" >

<p style="margin:10px; padding:5px;" ><img src="../WA_DigitalFilePro/images/desert-bar.gif" alt="" title="" style="vertical-align:middle;" />&nbsp;&nbsp;Please wait</p>

</div>
</div>
</body>
</html>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...