close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

file upload.

Thread began 6/13/2010 4:48 am by i.edwards384429 | Last modified 6/18/2010 9:39 am by i.edwards384429 | 3688 views | 14 replies

i.edwards384429

update

Hi Jason

went back to basics listed below is exactly what I did step by step. End product is teh image is uploaded but the database is not updated.

I've clearly missed a step

would appreciate an assist

cheers

Ian

installed virgin database and core files.

Opened up page

exclamtion on Universal email [prior version]

Selected update Record (users) in the server behaviours field

Update record window opened normaly

Canceled out of that window.

Double clicked on the Universal email server behaviour

Create emial message opened.

Pressed finish

exclamtion mark against Universal email dissapears.

Double clicked on uPdate record server behaviour

That opened the update record wizard normally.

Went into the database using phpmyadmin

added a field:

Name:UserImage1
type:varchar
length:100
0
allow null

default: NULL
Character set: latin1
Collation: latin1_swedish_ci

Saved and closed

went back to Dreamweaver and double clicked update record
Update record wizard opened OK

Added a row to the table.

Went to the form menu and added a file upload field with an id of UserImage1

Selected insert...webassist.....file manipulation---upload

selected:

trigger: any form post
file field: UserImage1
Action: overwrite

on next page:
for the upload folder I used the browse icon to select images/
the rest I left at the defaults.

Pressed finish.

Selected server behaviours update record

pressed next to go to next screen

SElected The colum named: userimage

pressed the lightning bolt to set value

was unable to see WA upload file but did find " upload files (UserImage1)

Opened this and found Server File Name- slected this and selected OK and finish

saved the file users_profile.php

opened in my local host

registered - data is written into the users table

then logged in to the users_Profile.php

used the browse button to select an image jpeg 70kb in size

pressed the update button

progress bar goes accross.

In the specified images folder is the image

but if I open the users table in phpmyadmin the userimage column is empty ie no path to the file.

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