+ 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
5 Answers
+ 3
That's a good one
Good for the innovative mind
+ 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);
?>
+ 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.
+ 2
welcome ... and thanks for the compliment ' sir '
+ 1
thank u sir..and so will that be able to work on my own app@Mr programmer