faani Posted October 9, 2006 Share Posted October 9, 2006 Hello all of you. This code not working. Me in great tension. Help me[code]$uploaddir = "/".$countryList."/"; //NAME OF DROPDOWN echo ($uploaddir); $file_name = "uploadfile"; function file_upload( $file_name, $uploaddir){ $uploadfile = $uploaddir . $_FILES[$file_name]['name']; if (@move_uploaded_file( $_FILES[ $file_name ]['tmp_name'], $uploadfile)) { } else { echo( $_FILES[ $file_name ]['name'] . " Does not uploaded successfully:\n"); } }[/code][b]EDITED BY WILDTEEN88: PLEASE DO NOT USE CAPS. ALSO PLEASE USE THE CODE TAGS ([nobbc][code][/code][/nobbc]) WHEN POSTING CODE. THANK YOU[/B]. Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted October 9, 2006 Share Posted October 9, 2006 to me it looks like ur not calling the file_upload function... wat exactly r u doing? Quote Link to comment Share on other sites More sharing options...
Hi I Am Timbo Posted October 9, 2006 Share Posted October 9, 2006 is $countryList a single string or a list of countries as the name suggests? If so, this may be the source of your errors. Quote Link to comment Share on other sites More sharing options...
faani Posted October 9, 2006 Author Share Posted October 9, 2006 actually i m working on window platform....and i m make directory when i enter the category name and now fomr the help of this code i m upload files in those fold ??? ??? :'( :'( :) :)er so me wat can??????????????? ??? Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted October 10, 2006 Share Posted October 10, 2006 i don't even think you're speaking proper english now... can you re-phrase that please... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.