tecdesign Posted July 12, 2007 Share Posted July 12, 2007 I tried the following script if(is_uploaded_file($_FILES['file']['tmp_name'])) { // file uploaded to server move_uploaded_file($_FILES['file']['tmp_name'], "/FILES/$username".$_FILES['form_image']['name']); } else { print ('<p class="bl"><strong>Unable to upload file.</strong></p><p>'); print_r($_FILES); print('</p>'); } With no luck, I have no trouble when working with linux hosting using php 4.4 although this is windows hosting using PHP 5 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.