Advertisement

11.02.2004 at 01:46PM PST, ID: 21192233
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.4

CFFILE Upload Question

Asked by FSUKXAZ in ColdFusion Application Server

Tags:

I'm trying to get this application to work properly, and can't.  The CFFILE Upload for the Photo is the only thing that isn't working.  Form.cfm is the page that submits everything to Insert.cfm page.  The essential parts of the code for both pages is listed below.

<!---(Form.cfm) --->
<FORM ACTION="Insert.cfm" ENCTYPE="multipart/form-data" METHOD="POST" NAME="EC" ONSUBMIT="return ErrorCheck();">
   <TABLE ALIGN="center" BGCOLOR="000066" BORDER="0" WIDTH="350">  
   <TR>
      <TD BGCOLOR="CCCCFF" VALIGN="top" STYLE="padding:1px;">
         <TABLE>
         <TR>
            <TD ALIGN="left" CLASS="ContentLarge" WIDTH="140">
      <B>ADMIN
            </TD>
            <TD ALIGN="left" WIDTH="210">
               <INPUT TYPE="TEXT" CLASS="Content" MAXLENGTH="1" NAME="Admin" SIZE="1">
            </TD>
         </TR>
         <TR>
            <TD ALIGN="left" CLASS="ContentLarge">
                  <B>LAST NAME
            </TD>
            <TD ALIGN="left" WIDTH="150">
               <INPUT TYPE="TEXT" CLASS="Content" MAXLENGTH="20" NAME="LastName" SIZE="23">
            </TD>
         </TR>
         <TR>
            <TD ALIGN="left" CLASS="ContentLarge">
               <B>FIRST NAME
            </TD>
            <TD ALIGN="left">
              <INPUT TYPE="TEXT" CLASS="Content" MAXLENGTH="20" NAME="FirstName" SIZE="23">
            </TD>
         </TR>
         <TR>
            <TD ALIGN="left" CLASS="ContentLarge">
                <B>WORK PHONE
            </TD>
            <TD ALIGN="left">
                <INPUT TYPE="TEXT" CLASS="Content" MAXLENGTH="12" NAME="WorkPhone" SIZE="23">
            </TD>
         </TR>
         <TR>
            <TD ALIGN="left" CLASS="ContentLarge">
      <B>EMAIL
            </TD>
            <TD ALIGN="left">
      <INPUT TYPE="TEXT" CLASS="Content" MAXLENGTH="30" NAME="Email" SIZE="23">
            </TD>
         </TR>
         <TR>
            <TD ALIGN="left" CLASS="ContentLarge">
      <B>PHOTO
            </TD>
            <TD ALIGN="left">
      <INPUT TYPE="File" CLASS="Box" MAXLENGTH="100" NAME="Photo" SIZE="18">
            </TD>
         </TR>
         </TABLE>
      </TD>
   </TR>
   </TABLE>
   <TABLE ALIGN="center">
   <TR>
      <TD ALIGN="center">
         <BR>
         <INPUT TYPE="Button" VALUE="Back" ONCLICK="history.go(-1)" onmouseover="highlightButton('Button')" onmouseout="highlightButton('')" onmousedown="this.style.fontStyle='italic'" ONMOUSEUP="this.style.fontStyle=('')">&nbsp;
         <INPUT TYPE="Submit" VALUE="Submit" onmouseover="highlightButton('Button')" onmouseout="highlightButton('')" onmousedown="this.style.fontStyle='italic'" ONMOUSEUP="this.style.fontStyle=('')"><BR>
      </TD>
   </TR>
   </TABLE>
</FORM>



<!---(Insert.cfm) --->
<CFQUERY NAME="qAdd" DATASOURCE="#request.datasource#" username="#request.username#" password="#request.password#">
INSERT INTO #request.prefix#.t_securityteam (Admin, LastName, FirstName, WorkPhone, Email, Photo)
VALUES('#Form.Admin#','#Form.LastName#','#Form.FirstName#','#Form.WorkPhone#','#Form.Email#','#Form.Photo#')
</CFQUERY>
<P ALIGN="center">The new member is entered into the Security Team database!
<P ALIGN="center">You will be redirected back to the Security Team Admin webpage in a few seconds. If not click button below to return.
<FORM>
   <INPUT TYPE="Button" VALUE="Security Team Admin" ONCLICK="parent.location='SecurityTeamAdmin.cfm'" onmouseover="highlightButton('start')" onmouseout="highlightButton('')" onmousedown="this.style.fontStyle='italic'" ONMOUSEUP="this.style.fontStyle=('')">
</FORM>
<TABLE WIDTH="500">  
<TR>
   <TD ALIGN="center" CLASS="Heading">
      The data you entered was:
   </TD>
</TR>       
</TABLE>
<TABLE WIDTH="500">
<TR>
   <TD ALIGN="right">
      <CFOUTPUT>
      <TABLE WIDTH="425">
      <TR>
         <TD ALIGN="left" CLASS="ContentLarge" WIDTH="175">
            ADMIN
         </TD>
         <TD ALIGN="left" CLASS="ContentLarge" WIDTH="250">
           #Form.Admin#
         </TD>
      </TR>
      <TR>
         <TD ALIGN="left" CLASS="ContentLarge">
             LAST NAME
         </TD>
         <TD ALIGN="left" CLASS="ContentLarge">
            #Form.LastName#
         </TD>
      </TR>
      <TR>       
         <TD ALIGN="left" CLASS="ContentLarge">
             FIRST NAME
         </TD>
         <TD ALIGN="left" CLASS="ContentLarge">
            #Form.FirstName#
         </TD>
      </TR>
      <TR>       
         <TD ALIGN="left" CLASS="ContentLarge">
            WORK PHONE
         </TD>
         <TD ALIGN="left" CLASS="ContentLarge">
            #Form.WorkPhone#
         </TD>
      </TR>
      <TR>
         <TD ALIGN="left" CLASS="ContentLarge">
            EMAIL
         </TD>
         <TD ALIGN="left" CLASS="ContentLarge">
            #Form.Email#
         </TD>
      </TR>
      <TR>
         <TD ALIGN="left" CLASS="ContentLarge">
            PHOTO
         </TD>
         <TD ALIGN="left" CLASS="ContentLarge">
            <CFFILE ACTION="upload" FILEFIELD="Form.Photo" DESTINATION="Staff/" ACCEPT="*.jpg" NAMECONFLICT="Overwrite">
             Content Type: #File.ContentType#<BR>
             Content SubType: #File.ContentSubType#<BR>
             Client Directory: #File.ClientDirectory#<BR>
             Client File: #File.ClientFile#<BR>
             Client FileName: #File.ClientFileName#<BR>
             Client FileExt: #File.ClientFileExt#<BR>
             Server Directory: #File.ServerDirectory#<BR>
             Server File: #File.ServerFile#<BR>
             Attempted ServerFile: #File.AttemptedServerFile#<BR>
             File Existed? #File.FileExisted#<BR>
             File Was Saved? #File.FileWasSaved#<BR>
             File Was Overwritten? #File.FileWasOverWritten#<BR>
             File Was Renamed? #File.FileWasRenamed#<BR>
         </TD>
      </TR>
      </TABLE>
      </CFOUTPUT>
   </TD>
</TR>       
</TABLE>
Start Free Trial
[+][-]11.02.2004 at 02:10PM PST, ID: 12478221

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.02.2004 at 03:06PM PST, ID: 12478677

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11.02.2004 at 03:09PM PST, ID: 12478698

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.02.2004 at 03:10PM PST, ID: 12478705

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.02.2004 at 11:30PM PST, ID: 12480685

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.03.2004 at 06:50AM PST, ID: 12483557

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.03.2004 at 07:05AM PST, ID: 12483747

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.03.2004 at 07:32AM PST, ID: 12484014

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.03.2004 at 07:41AM PST, ID: 12484096

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.03.2004 at 08:05AM PST, ID: 12484352

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.03.2004 at 09:27AM PST, ID: 12485241

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.03.2004 at 09:32AM PST, ID: 12485292

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.03.2004 at 09:34AM PST, ID: 12485309

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.03.2004 at 10:02AM PST, ID: 12485603

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.03.2004 at 11:40AM PST, ID: 12486530

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.03.2004 at 12:04PM PST, ID: 12486840

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.03.2004 at 12:13PM PST, ID: 12486935

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.05.2004 at 05:53AM PST, ID: 12504247

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.08.2004 at 07:01AM PST, ID: 12523753

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.08.2004 at 11:54AM PST, ID: 12526794

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.08.2004 at 12:30PM PST, ID: 12527132

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.08.2004 at 12:32PM PST, ID: 12527155

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.08.2004 at 12:37PM PST, ID: 12527200

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.01.2004 at 08:42AM PST, ID: 12717730

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]12.05.2004 at 02:11AM PST, ID: 12747369

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: ColdFusion Application Server
Tags: cffile
Sign Up Now!
Solution Provided By: modulo
Participating Experts: 6
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-44