+ 1

Hellow everyone.. How do i code a code to upload and remove images on a profile picture like on whatsapp or facebook

upload and remove

9th May 2017, 4:27 PM
Banele
Banele - avatar
5 Respostas
+ 3
That's a good one Good for the innovative mind
9th May 2017, 4:30 PM
Vishnu ks
Vishnu ks - avatar
+ 3
a simple script to upload a picture /any file <?php $content = $_POST['file']; $sfile = fopen("yourPic.jpg", 'wb'); // 'wb' is for "write binary" fwrite($sfile, $content); fclose($sfile); ?>
9th May 2017, 7:32 PM
seamiki
seamiki - avatar
+ 2
use Facebook api to change fb profile pic. for whatsapp there is no api for changing profile pic as whatsapp does not have an email system.
9th May 2017, 4:34 PM
MR Programmer
MR Programmer - avatar
+ 2
welcome ... and thanks for the compliment ' sir '
9th May 2017, 4:39 PM
MR Programmer
MR Programmer - avatar
+ 1
thank u sir..and so will that be able to work on my own app@Mr programmer
9th May 2017, 4:38 PM
Banele
Banele - avatar