EliteHackers
SALUT 2022!!
NE-AM MUTAT PE DISCORD !
Vrei să inviți un prieten?
[T]eoria [H]aosului [C]ontrolat - https://discord.com/invite/U4HBCHzm7r
Acesta aste link-ul oficial al acestui server.
|
Lista Forumurilor Pe Tematici
|
EliteHackers | Reguli | Inregistrare | Login
POZE ELITEHACKERS
Nu sunteti logat.
|
Nou pe simpatie: SweetMonique 23 ani
 | Femeie 23 ani Galati cauta Barbat 28 - 52 ani |
|
r3v
Moderator
 Inregistrat: acum 15 ani
Postari: 1158
|
|
Code:
<html>
<head>
<title>Ascii</title>
<style>
body{
line-height:7px;
font-size:10px;
}
</style>
</head>
<body>
<?php
function getext($filename) {
$pos = strrpos($filename,'.');
$str = substr($filename, $pos);
return $str;
}
if(!isset($_POST['submit'])){
?>
<form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post">
JPG img URL: <input type="text" name="image"><br>
<input type="submit" name="submit" value="Create">
</form>
<?php
}else{
$image = $_POST['image'];
$ext = getext($image);
if($ext == ".jpg"){
$img = ImageCreateFromJpeg($image);
}
else{
echo'Wrong File Type';
}
$width = imagesx($img);
$height = imagesy($img);
for($h=0;$h<$height;$h++){
for($w=0;$w<=$width;$w++){
$rgb = ImageColorAt($img, $w, $h);
$r = ($rgb >> 16) & 0xFF;
$g = ($rgb >> 8) & 0xFF;
$b = $rgb & 0xFF;
echo '<span style="color:rgb('.$r.','.$g.','.$b.');">#</span>';
if($w >= $width){
echo '<br>';
}
}
}
}
?>
</body>
</html> |
_______________________________________ http://thieves-team.com r3vyk.info mess id: doar prin PM datorita faptului ca mi-au dat add 10000 de retardati care joaca metin
|
|
pus acum 15 ani |
|