| 01 | | | 02 | | | 03 | | | 04 | | | 05 | | | 06 | | | 07 | | | 08 | | | 09 | | | 10 | | | 11 | | | 12 | | | 13 | | | 14 | | | 15 | | | 16 | | | 17 | | | 18 | | | 19 | | | 20 | | | 21 | | | 22 | | | 23 | | | 24 | | | 25 | | | 26 | | | 27 | |
|
/*---------------------------------------------------------------*/
| /*
| Titre : Image transparente
|
| URL : https://phpsources.net/code_s.php?id=987
| Date édition : 15 Fev 2019
| */
| /*---------------------------------------------------------------*/
|
| function imagetransparente(){
| header("Content-type: image/gif");
| header("Expires: Wed, 01 Jan 1990 00:00:00 GMT");
| header("Cache-Control: no-cache");
| header("Cache-Control: must-revalidate");
|
| $affichage = "GIF89a";
| $bitmap = array(1, 0, 1, 0, 240, 0, 49, 255, 255, 255, 0, 0, 0, 33, 249, 4, 1,
| 0, 0, 0, 0, 44, 0, 0, 0, 0, 1, 0, 1, 0, 0, 2, 2, 68, 1, 0, 59);
|
| foreach($bitmap as $b){
| $affichage .= sprintf("%c", $b);
| }
|
| print $affichage;
| }
|
| | ?> |
|