Forums

Viewing uploaded file

jhdesign 06 Apr, 2011
I have a 2 page form.

On page one, collect image.
On page two, preview it.

I can obtain the filename using $posted['upload'] on the first page, but the second page seems to always output nothing.

Any ideas how to get around this?
GreyHead 10 Apr, 2011
Hi jhdesign,

I'm not sure what code you are using here. In the second form you will need to add the rest of the image url to the image name (I've posted about that here recently with an extract from The ChronoForms Book); and then build a normal HTML image tag <img src='. . .' /> to display the image.

Bob
This topic is locked and no more replies can be posted.