PHP Classes

Save to server?

Recommend this page to a friend!

      PHP Ultimate Web Page Capture  >  All threads  >  Save to server?  >  (Un) Subscribe thread alerts  
Subject:Save to server?
Summary:Possible to save an image to the server?
Author:Gerry Danen
Date:2015-12-16 17:25:55

  1. Save to server?   Reply   Report abuse  
Picture of Gerry Danen Gerry Danen - 2015-12-16 17:25:55
This could be a useful helpdesk tool. If the user could click "save screen" or something, and the image would be saved on the server, then the helpdesk staff could view the image as part of solving a particular problem.

  2. Re: Save to server?   Reply   Report abuse  
Picture of Dave Smith Dave Smith - 2015-12-16 17:46:43 - In reply to message 1 from Gerry Danen
That is a good idea.

The class has the binary in the capture property, so you just need to use file_put_contents to write it to the server.