update
This commit is contained in:
14
makl.php
Normal file
14
makl.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
$ob=imagecreatetruecolor(200,100);
|
||||
if ($ob == FALSE ) {
|
||||
echo "Obraz nie zostal poprawnie wygenerowany";
|
||||
} else {
|
||||
|
||||
header('content-type: image/png');
|
||||
if (imagepng($ob) == FALSE ) {
|
||||
file_put_contents('log.txt','Funkcja imagepng nie zadzialal poprawnie');
|
||||
} else {
|
||||
file_put_contents('log.txt','Funkcja imagepng zadzialal poprawnie');
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user