this PHP file:
// Get the data
// Remove the headers (data:,) part.
// A real application should use them according to needs such as to check image type
$filteredData=substr($imageData, strpos($imageData, ",")+1);
// Need to decode before saving since the data we received is already base64 encoded
$fn = (isset($_SERVER['HTTP_X_FILENAME']) ? $_SERVER['HTTP_X_FILENAME'] : false);
// Save file. This example uses a hard coded filename for testing,
// but a real application can specify filename in POST variable
$fp = fopen( 'upload/' . $fn, 'w' );
fwrite( $fp, $unencodedData);
fclose( $fp );
was working up until mat least 03/03/2016 (date the last image was uploaded) but is now not working. What's changed? I'm no PHP/server expert so any help would be much appreciated.