close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

No Upload?

Thread began 2/01/2012 9:59 am by Remco209061 | Last modified 2/01/2012 4:18 pm by Jason Byrnes | 683 views | 7 replies |

Remco209061

No Upload?

Hello

can you please help me because I don't understand what's going wrong I have an simple file upload but it wont work there is no upload and there is no input into the database. I used it before and never had problems. I use the latest update.

The input-field before I created the file-field worked fine.

grts Remco

Attached Files
Insert.txt
Sign in to reply to this post

Jason ByrnesWebAssist

for a file to upload, the forms encoding type needs to be set to multipart/form-data.

change the form tag:

php:
<form  action="Insert.php" method="post" name="WADAInsertForm" id="WADAInsertForm">




to:

php:
<form  action="Insert.php" method="post" enctype="multipart/form-data" name="WADAInsertForm" id="WADAInsertForm">
Sign in to reply to this post

Remco209061

Ok thanks, but why does it not go automatic? I was searching several ours for the problem.

Sign in to reply to this post

Jason ByrnesWebAssist

if you use the insert -> Forms -> File Field it will set it automatically.

Sign in to reply to this post

Remco209061

I use Data-Assist Wizard this created the form-field or is the combination not perfect?

Sign in to reply to this post

Jason ByrnesWebAssist

while the data assist wizard can add file fields to the form, it does not add any file upload functionality so the forms encoding type will not be edited.

select the form tag from the tag selector and change the encoding type to multi part form data.

Sign in to reply to this post

Remco209061

right, but is it someting new? I am using it several years but this never happend I know there are a lot of problems and I made a list of them so I can work faster but this is a new one.

Sign in to reply to this post

Jason ByrnesWebAssist

no, this is not new. it has always been this way.

Sign in to reply to this post

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...