View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

redirect after upload

Thread began 8/19/2009 7:20 pm by deafboyz_audio386924 | Last modified 8/25/2009 12:57 pm by deafboyz_audio386924 | 2000 views | 11 replies

deafboyz_audio386924

redirect after upload

i have an upload page that i want to submit to my database, which it does..... but then i want it to go to thanYou.htm for a thank you page. how do i do this, no on e else can seem to figure it out with this huge script dfp has. If i do have to edit the helperphp.php file can someone please tell me exactly where to do that, maybe with an example and general line number, im not too coding inclined, which of course is why i made this purchase....thanks....: here is my uplaod page:

<?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' => "images/upload/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "1",
'ResizeWidth' => "200",
'ResizeHeight' => "200",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End?>
<?php
// WA_UploadResult2 Params Start
$WA_UploadResult2_Params = array();
// WA_UploadResult2_1 Start
$WA_UploadResult2_Params["WA_UploadResult2_1"] = array(
'UploadFolder' => "images/upload/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "1",
'ResizeWidth' => "200",
'ResizeHeight' => "200",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult2_1 End
// WA_UploadResult2 Params End?>
<?php
// WA_UploadResult3 Params Start
$WA_UploadResult3_Params = array();
// WA_UploadResult3_1 Start
$WA_UploadResult3_Params["WA_UploadResult3_1"] = array(
'UploadFolder' => "images/upload/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "1",
'ResizeWidth' => "200",
'ResizeHeight' => "200",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult3_1 End
// WA_UploadResult3 Params End?>
<?php
// WA_UploadResult4 Params Start
$WA_UploadResult4_Params = array();
// WA_UploadResult4_1 Start
$WA_UploadResult4_Params["WA_UploadResult4_1"] = array(
'UploadFolder' => "images/upload/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "4",
'ResizeWidth' => "200",
'ResizeHeight' => "200",
'ResizeFillColor' => "#035429" );
// WA_UploadResult4_1 End
// WA_UploadResult4 Params End?>
<?php
// WA_UploadResult5 Params Start
$WA_UploadResult5_Params = array();
// WA_UploadResult5_1 Start
$WA_UploadResult5_Params["WA_UploadResult5_1"] = array(
'UploadFolder' => "images/upload/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "4",
'ResizeWidth' => "200",
'ResizeHeight' => "200",
'ResizeFillColor' => "#035429" );
// WA_UploadResult5_1 End
// WA_UploadResult5 Params End
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["Submit"])){
WA_DFP_UploadFiles("WA_UploadResult1", "Browse", "0", "", "PNG:2", $WA_UploadResult1_Params);
}?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult2");
if(isset($_POST["Submit"])){
WA_DFP_UploadFiles("WA_UploadResult2", "Browse2", "0", "", "PNG:2", $WA_UploadResult2_Params);
}?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult3");
if(isset($_POST["Submit"])){
WA_DFP_UploadFiles("WA_UploadResult3", "Browse3", "0", "", "PNG:2", $WA_UploadResult3_Params);
}?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult4");
if(isset($_POST["Submit"])){
WA_DFP_UploadFiles("WA_UploadResult4", "Browse4", "0", "", "PNG:2", $WA_UploadResult4_Params);
}?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult5");
if(isset($_POST["Submit"])){
WA_DFP_UploadFiles("WA_UploadResult5", "Browse5", "0", "", "PNG:2", $WA_UploadResult5_Params);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="WA_DigitalFilePro/jquery-blockui-formprocessing.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>index</title>
<style type="text/css">
<!--
#container #mainContent #uploadDiv {
height: auto;
width: auto;
margin: 0px;
padding: 0px;
float: left;
}
#container #mainContent #leftDiv {
float: left;
height: 400px;
width: 5%;
clear: both;
}
#container #mainContent #uploadDiv #form1 input {
margin-top: 0.6em;
}
#container #mainContent #uploadDiv #form1 #submit {
}
#apDiv1 {
position:absolute;
width:88px;
height:37px;
z-index:1;
left: 675px;
top: 526px;
}
-->
</style>
<style type="text/css">
<!--
@import url("styles/main.css");
-->
</style>
</head>

<body>
<div id="container">
<div id="header"><img src="images/top banner.jpg" width="967" height="110" alt="Deaf Boyz Audio - Way too loud..." /></div>
<div id="mainContent">
<div id="headerDiv">
<h1>Upload</h1>
</div>
<div class="leftDiv"></div>
<div id="uploadDiv">
<div id="form1_ProgressWrapper">
<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1">
<input name="Browse5" type="file" id="browse" size="45" maxlength="200" />
<input name="Browse4" type="file" id="browse" size="45" maxlength="200" />
<input name="Browse3" type="file" id="browse" size="45" maxlength="200" />
<input name="Browse2" type="file" id="browse" size="45" maxlength="200" />
<input name="Browse" type="file" id="browse" size="45" maxlength="200" />
<input name="Submit" type="submit" id="submit" value="Upload" /></form>
</div>

</div>
<div id="rightDiv">
<div id="textDiv">
<p>Got an insane Car Audio Setup that you want to show off?</p>
<p>&nbsp;</p>
<p>Post up pictures of it here... Get it noticed by others on DeafBoyzAudio.com</p>
<p>&nbsp;</p>
<p>File types accepted are: JPG, JPEG, PNG, GIF</p>
<p>&nbsp;</p>
<p>Support for video coming soon!!!!</p>
<p>&nbsp;</p>
</div>
</div>
</div>
<div id="sidebar">
<p class="sidebarLink"><a href="index.htm">home</a></p>
<p class="sidebarLink"><a href="pics.htm">pics</a></p>
<p class="sidebarLink"><a href="video.htm">video</a></p>
<p class="sidebarLink"><a href="upload.php">upload</a></p>
<p class="sidebarLink"><a href="about.htm">about</a></p>
<p class="sidebarLink"><a href="feedback.php">feedback</a></p>
</div>
<div id="footer">
<h6 class="copyright">Copyright Deaf Boyz Audio, 2009. All Rights Reserved.</h6>
</div>
</div>
<div id="form1_ProgressMessageWrapper" class="blockUIOverlay" style="display:none;">
<script type="text/javascript">
WADFP_SetProgressToForm('form1', 'form1_ProgressMessageWrapper', WADFP_Theme_Options['ExtendingWheel:Nautica']);
</script>
<div id="form1_ProgressMessage" >

<p style="margin:10px; padding:5px;" ><img src="WA_DigitalFilePro/images/nautica-wheel.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...