I have a mysql database with a user table in this table you have a field: avatar with for example this data: [login to view URL]
I need a php or sh script that does the following:
- Connect to database get user_id and avatar data
- get the user_id from the field: id
- get the avatar data from field: avatar
- Check if file is in directory: memberpictures/avatar if so
- Copy file to directory/avatar/new/
- rename file to: avatar_big_[user_id]_[originalfilename] for example: [login to view URL]
- Check if file is in directory: memberpictures/avatar/thumbs/ if so
- Copy file to directory/avatar/new/
- rename file to: avatar_[user_id]_[originalfilename] for example: [login to view URL]
And that for all 1000 records in the database.
Hi I can do this for you with a sh script! I put as deadline two days but I think that only one must be enough! Message me if you are interested!
Thanks!
$15 USD 在2天之内
5.0 (3条评论)
1.6
1.6
7 freelancers are bidding on average $29 USD for this job
Hi, I read carefully your project, and I wanna do it for you. If you wanna work together, send me a message to discuss details. I am an experienced Web Developer
Hi, I have 7 years of experience with PHP and MySQL.
I have developed many websites using them.
Please check my portfolios.
This task is a piece of cake for me.
I can do it in a few hours.
Regards