|
|
|
effingpot
regular
Reg'd: Sat
Posts: 47
|
|
Hi, I'm trying to add an "upload your photo here" to the form here:
http://www.rs6000lags.co.uk/getlagged.html
which seems to work from the user end - it allows you to navigate to the file and select it.
Then when you submit it, the form arrives with no file but a (useless) link the to the user's local file on their desktop (C:\desktop\filename sort of thing) all in text
I've scoured the help sites but can't see what I'm missing - any ideas? ta Mike
|
|
Sam
regular
Reg'd: Tue
Posts: 432
|
|
Have you tried...
<form method="post" action="../cgi-bin/novice.cgi" enctype="multipart/form-data" onsubmit="return validate();">
?
|
effingpot
regular
Reg'd: Sat
Posts: 47
|
|
Yes I did try that and got some very odd behaviour - all the other 'inputs' were ignored in the resulting email, the image was included but as embedded characters and the 'success page' defaulted to something I've never seen before.
It seems like I'm close but need to get the image to become an attachment and for the rest of the script to run as before.
Appreciate any further advice. thanks Mike
|
|
|