Hi,
Have the same Problem, temp is filled with png and php. How to clean the Temp-file automatically. Maybe in the Code is the mistake, after this point nothing in the php is working well. Whats to do?
PHP-Code:
$answer_file = $dir . sanitize_file_name( $prefix . ‘.php’ );
if ( $fh = fopen( $answer_file, ‘w’ ) ) {
@chmod( $answer_file, $this->file_mode );
fwrite( $fh, ‘<?php $captcha = “‘ . $word . ‘”; ?>’ ); /* Mistake? */
fclose( $fh );
}
return $filename;
}