Results 1 to 7 of 7
Thread: PHP
Hybrid View
-
13th December 2012 17:48 #1
PHP
.
php.netPHP Code:header('Content-Type: image/png');
$img = imagecreatetruecolor(50,50);
$text_color = imagecolorallocate($img,233,14,91);
imagestring($img,1,5,5,'Hello World',$text_color);
var_dump($img);
imagepng($img);
imagedestroy($img);
The image "http://localhost/go.php" cannot be displayed beacause it contains errors.
.
.
-
13th December 2012 20:39 #2
-
13th December 2012 21:06 #3
-
13th December 2012 21:18 #4
? GD - php.ini.
, , 100% , .
- . , , php.ini, , , , .
.
-
13th December 2012 21:21 #5
, <img src="captcha.php" /> php . .
, .
-
13th December 2012 21:22 #6
-
13th December 2012 21:28 #7
tedych
HTML Code:<form> <img src="captch.php" /> </form>
captch.php
captcha.php src img.PHP Code:header('Content-Type: image/png');
$img = imagecreatetruecolor(150,50);
$text_color = imagecolorallocate($img,233,14,91);
imagestring($img,1,5,5,'Hello World',$text_color);
imagepng($img);
imagedestroy($img);
, .




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in