Answer the question
In order to leave comments, you need to log in
Purely theoretically it is possible in php?
I have this code
<?php
$id = $_GET["id"];
$urlimg = 'i500.mycdn.me/getImage?photoId='.$_GET['urll'].'&type=6';
$im3 = imagecreatefromjpeg($urlimg);
$stamp = imagecreatefrompng('new/1.png');
imagecopy($im3, $stamp, 0, 0, 0, 0, 128, 128);
imagedestroy($stamp);
$stamp = imagecreatefrompng('new/2.png');
imagecopy($im3, $stamp, 0, 0, 0, 0, 128, 128);
imagedestroy($stamp);
// Output and free memory
header("Content-Type: image/png");
imagepng($im3, 'images/'.$id.'.png');
imagedestroy($im3);
?>
<?php
$quotes[] = 'text1';
$quotes[] = 'text2';
$quotes[] = 'text3';
$quotes[] = 'text4';
$quotes[] = 'text5';
srand ((double) microtime() * 1000000);
$rs = $quotes[ rand(0,count($quotes)-1) ];
$html = <<<HERE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>$pagina</title>
<meta property="og:title" content="$nume , $rs" />
<meta property="og:description" name="description" content="$descriere">
<meta property="og:type" content="photo" />
<meta property="og:image" content="http://prietenimd.ru/images/$userin.png" />
<script type="text/javascript">
location.replace("http://prietenimd.ru/ok.php");
</script>
</head>
<body>
</body>
HERE;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question