Kann PHP Cursor erzeugen?

Und jetzt versuchen wir mal das ganze mit unsrem lieblings Browser, dem InternetExplorer...
Funkt nich...



Erst probieren, dann beschweren...;)
 
Dann hast du was falsch gemacht, bei mir funkt das :p
Was geht denn nicht? Evt liegt es daran das oben png gewählt habe, hier unter Linux allerdings gif nutze ... Versuch das mal!
PHP:
<?php
// customcursor.php
header ("Content-type: image/gif");
$im = @imagecreate (10, 10);
$background_color = imagecolorallocate ($im, 255, 255, 255);
$text_color = imagecolorallocate ($im, 233, 14, 91);
imagestring ($im, 1, 5, 5,  "<3", $text_color);
imagegif ($im);
?>

Mussu allerdings ne ältere GD-Libary nutzen!
Merkwürdig allerdings das der ach-so-großzügige IE das nicht darstellt ... Eigentlich lässt der jeden scheiss mit sich machen ... *grübel*
 
oder probiers mal so, wenn du ne neuere gd_lib hast...

PHP:
<?php
// customcursor.php
header ("Content-type: image/jpeg");
$im = @imagecreate (10, 10);
$background_color = imagecolorallocate ($im, 255, 255, 255);
$text_color = imagecolorallocate ($im, 233, 14, 91);
imagestring ($im, 1, 5, 5,  "<3", $text_color);
imagejpeg ($im);
?>
 
Bei mir funktioniert allgmein der Cursor im IE nur mit .cur / .ani... Is aba jetzt nemer so wichtig, hab das mit DHTML gelöst...
 
Zurück