searls03 Posted August 17, 2011 Share Posted August 17, 2011 how can I insert a profile pic into my ftp server when a user signs up. if they are male, there is male, same for female. I have a folder create with their username which is where all pics are stored for the particular user. I need to know how I can make it so that the default pic will upload when they sign up. does it need to be somewhere else on the server? or how can I do this. the names are maleavatar.png and femaleavatar.png. please help. Quote Link to comment https://forums.phpfreaks.com/topic/244976-insert-pic/ Share on other sites More sharing options...
trq Posted August 17, 2011 Share Posted August 17, 2011 Are the files not already on the server? Why would you need to upload them again? Quote Link to comment https://forums.phpfreaks.com/topic/244976-insert-pic/#findComment-1258409 Share on other sites More sharing options...
searls03 Posted August 17, 2011 Author Share Posted August 17, 2011 I need it to copy to the specific users folder on my server. in the database, it has a link that is echoed to show image. but I need it so that the default pic will go into the folder that was created for them. this is the way I choose to do it.....could the be a better way, possibly, but this seems the most logical way to me. Quote Link to comment https://forums.phpfreaks.com/topic/244976-insert-pic/#findComment-1258411 Share on other sites More sharing options...
trq Posted August 17, 2011 Share Posted August 17, 2011 If that's you would like to do it then go ahead. Personally, I'm not even sure why you would need to create any directories for each user. Sounds ridiculous. Quote Link to comment https://forums.phpfreaks.com/topic/244976-insert-pic/#findComment-1258464 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.