getimagesize spielt verrückt
[php:1:b840c28fd0]<?php
$bild = "kornfeld.jpg";
$bildtyp = getimagesize($bild)
echo $bildtyp[2];
$bild = "kornfeld.png";
$bildtyp = getimagesize($bild)
echo $bildtyp[2];
$bild = "kornfeld.gif";
$bildtyp = getimagesize($bild)
echo $bildtyp[2];
?>[/php:1:b840c28fd0]
Ausgabe:
Also hab ich angeblich 3 mal ein jpg Bild was isn das für ne verarsche?
Weiß jmd worans liegt?
Edit:
Hat sich erledigt weiß worans lag
[php:1:b840c28fd0]<?php
$bild = "kornfeld.jpg";
$bildtyp = getimagesize($bild)
echo $bildtyp[2];
$bild = "kornfeld.png";
$bildtyp = getimagesize($bild)
echo $bildtyp[2];
$bild = "kornfeld.gif";
$bildtyp = getimagesize($bild)
echo $bildtyp[2];
?>[/php:1:b840c28fd0]
Ausgabe:
Also hab ich angeblich 3 mal ein jpg Bild was isn das für ne verarsche?
Weiß jmd worans liegt?
Edit:
Hat sich erledigt weiß worans lag