Does anyone see a problem with this code? It worked perfectly for several months...now the client has moved hosts, and suddenly the form fields are not posting. (Only the hidden field "upload" is being posted, and when I move it to the bottom of the form, it doesn't post, either). What am I missing?
---------------------------------------------------------------------------- --------------------------------------------- <cfif isDefined("upload")> <!---UPLOAD FILE-----------------------> <cfset fname=replace(form.filename,".","","all")> <cfftp connection="song" action="open" username="username" password="password" server="server" stoponerror="yes"> <cfftp connection="song" action="putfile" localfile="#form.songfile#" remotefile="#fname#.ra" stoponerror="yes" transfermode="binary"> <cfftp connection="song" action="close" stoponerror="yes"> File uploaded successfully! <cfelse> <cfquery name=getss datasource=#application.dsn#> select title, writer, songID from songs order by title </cfquery> <form name=getfile action="uploadrafiles.cfm" method=post ENCTYPE="multipart/form-data"> <input type=hidden name="upload" value=1> <table> <tr><td colspan=2><b>Upload a RealAudio File</td></tr> <tr><td align=right>select file to upload</td> <td><input type=file size=50 name="songfile"></td></tr> <tr><td align=right>filename</td> <td><input type=text size=30 name="filename"></td></tr> <tr><td align=right><font face=arial size=2>select song/writer</td> <td><select name="songID"><option value="0"> <cfoutput query="getss"><option value="#songID#">#title# <i>(#writer#)</cfoutput></select></td></tr> <tr><td colspan=2><input type=button value="upload song & create .ram files" onClick="if(this.value == 'upload song & create .ram files') this.form.submit(); this.value = 'Please Wait.';"></td></tr> </table> </form> </cfif> ---------------------------------------------------------------------------- -------- TIA! ************************ Diana Nichols Webmistress http://www.lavenderthreads.com 770.434.7374 ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists