Guest_imported
New member
- Jan 1, 1970
- 0
I have a form:
<form name="form" method="post" action="upload.cfm" enctype="multipart/form-data">
..
<input ..>
<input ..>
<input type="file" name="uploadpic" >
..
..
</form>
In upload.cfm, I use a <cffile action="upload"> tag to save the file. If I refer to any input from the form, i.e. #form.description# however, I get the value twice, separated by commas. This means I get queries such as:
select pic from newsarticles where id = 96,96
which causes problems.
This only happens with submissions from a certain client (IE 5.01). No problems from my machine (IE6.0).
(The server is linux. I didn't set up the server, and I don't spot any easy way to check which version of coldfusion it's running.)
Any ideas?
<form name="form" method="post" action="upload.cfm" enctype="multipart/form-data">
..
<input ..>
<input ..>
<input type="file" name="uploadpic" >
..
..
</form>
In upload.cfm, I use a <cffile action="upload"> tag to save the file. If I refer to any input from the form, i.e. #form.description# however, I get the value twice, separated by commas. This means I get queries such as:
select pic from newsarticles where id = 96,96
which causes problems.
This only happens with submissions from a certain client (IE 5.01). No problems from my machine (IE6.0).
(The server is linux. I didn't set up the server, and I don't spot any easy way to check which version of coldfusion it's running.)
Any ideas?