
I need AVChat Report feature working properly, in fwrite it produces 0 bytes,
- or -
Post a project like this2372
$159
- Posted:
- Proposals: 5
- Remote
- #2170843
- Awarded
Description
Experience Level: Expert
AVChat report user feature is not working properly. It produces a blank image page. I need help modifying the code so that it produces the screenshot.
Here is the Code:
$image = fopen("report_snaps/".$siteId."_".$type,"wb");
if ($image){
if (fwrite($image, file_get_contents("php://input"))){
fclose($image);
echo "save=ok";
}else{
echo "save=failed";
}
}else{
echo "save=failed";
}
Here is the Code:
$image = fopen("report_snaps/".$siteId."_".$type,"wb");
if ($image){
if (fwrite($image, file_get_contents("php://input"))){
fclose($image);
echo "save=ok";
}else{
echo "save=failed";
}
}else{
echo "save=failed";
}

Christopher J.
100% (7)Projects Completed
6
Freelancers worked with
5
Projects awarded
40%
Last project
29 Dec 2019
Indonesia
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies