Taxa Posted February 19, 2007 Share Posted February 19, 2007 how do i make the user able to upload images onto my server and then the server is unable to muddle the pictures up with other images uploaded by other users? I want the user able to have avatars for their profiles... Link to comment https://forums.phpfreaks.com/topic/39110-upload-images/ Share on other sites More sharing options...
pocobueno1388 Posted February 19, 2007 Share Posted February 19, 2007 <a href="http://www.spoono.com/php/tutorials/tutorial.php?id=42">Tutorial</a> Link to comment https://forums.phpfreaks.com/topic/39110-upload-images/#findComment-188345 Share on other sites More sharing options...
Taxa Posted February 19, 2007 Author Share Posted February 19, 2007 Thanks, will this also work with .bmp? Link to comment https://forums.phpfreaks.com/topic/39110-upload-images/#findComment-188369 Share on other sites More sharing options...
pocobueno1388 Posted February 19, 2007 Share Posted February 19, 2007 On this line of the tutorial: if ($filetyp == 'gif' OR $filetyp == 'jpg') { you may want to change it to this: if ($filetyp == 'gif' OR $filetyp == 'jpg' OR $filetyp == 'bmp') { Link to comment https://forums.phpfreaks.com/topic/39110-upload-images/#findComment-188400 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.