Link to home
Start Free TrialLog in
Avatar of saffcossie
saffcossie

asked on

Image Upload

Hi all

I recieved a response from anandkp with regards to my last question which answered the question I posted. My problem is I didnt mention that code from the posting page, only the action page.

At present I am only using <input type="file" name="Image"> on the post page as opposed to cffile. The code uses the filefield from the post page but that is only present in cffile and not input type=file. Which cffile method would I use to select an image so it can be passed to the action page to be edited please?

Or a way to get round it with input type="file" would be appreciated.

Many thanks
ASKER CERTIFIED SOLUTION
Avatar of anandkp
anandkp
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of saffcossie
saffcossie

ASKER

Thanks for the help. Your code looks right and I understand it but I think the error is on my part when I originally insert the image which currently goes to the DB and not a folder that is referenced in the DB.

Thanks anyway though, much appreciated
Saf,

Your such an iddiot, you don't know anything. You probably don't even know how to ride a bike.

Leave us alone and stop asking stupid questions.