Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
header ("Content-type: image/png");
$handle = ImageCreate (30, 30) or die ("Cannot Create image");
$background_color = ImageColorAllocate ($handle, 125, 0, 0);
$text_color = imagecolorallocate($handle, 255, 255, 255);
imagestring($handle, 5, 5, 5, "2", $text_color);
ImagePng ($handle);
$query = mysql_query('SELECT * FROM `table WHERE username='admin''); #примерна заявка
$row = mysql_fetch_array($query);
$id = $row['id'];
header ("Content-type: image/png");
$handle = ImageCreate (30, 30) or die ("Cannot Create image");
$background_color = ImageColorAllocate ($handle, 125, 0, 0);
$text_color = imagecolorallocate($handle, 255, 255, 255);
imagestring($handle, 5, 5, 5, $id, $text_color);
ImagePng ($handle);
Fakeheal каза:Май трябва да се получи нещо такова.Код:$query = mysql_query('SELECT * FROM `table WHERE username='admin''); #примерна заявка $row = mysql_fetch_array($query); $id = $row['id']; header ("Content-type: image/png"); $handle = ImageCreate (30, 30) or die ("Cannot Create image"); $background_color = ImageColorAllocate ($handle, 125, 0, 0); $text_color = imagecolorallocate($handle, 255, 255, 255); imagestring($handle, 5, 5, 5, $id, $text_color); ImagePng ($handle);