Ho scritto il codice così:
[PHP]
<html>
<head>
<title> Prova </title>
</head>
<body>
<?php
$immagine = "immagini/mtlogo.png";
$newimg = imagecreatefrompng($immagine);
?>
</body>
[PHP]
Ma adesso $newimg contiene un'immagine?
Ho scritto il codice così:
[PHP]
<html>
<head>
<title> Prova </title>
</head>
<body>
<?php
$immagine = "immagini/mtlogo.png";
$newimg = imagecreatefrompng($immagine);
?>
</body>
[PHP]
Ma adesso $newimg contiene un'immagine?