Code: Alles auswählen
$adress = $_GET["adress"];
$host = $_GET["host"];
$domain = $_GET["domain"];Code: Alles auswählen
$text_len = strlen( !!! HIER REIN !!! );
Code: Alles auswählen
$adress = $_GET["adress"];
$host = $_GET["host"];
$domain = $_GET["domain"];Code: Alles auswählen
$text_len = strlen( !!! HIER REIN !!! );Code: Alles auswählen
$text_len = strlen($adress . $host . $domain);Code: Alles auswählen
<?php
$adress = $_GET["adress"];
$host = $_GET["host"];
$domain = $_GET["domain"];
$at = "@";
$dot = ".";
$text = $content[0];
$text_len = strlen($adress . $at . $host . $dot . $domain);
$banner_len = $text_len * 9.4;
$text = str_replace("_", " ", $adress . $at . $host . $dot . $domain);
$im = imagecreate($banner_len, 20);
$background_color = imagecolorallocate ($im, 255, 255, 255);
imagefill($im, 0, 0, $background_color);
$text_color = imagecolorallocate ($im, 0, 0, 0);
imagestring ($im, 5, 7, 2, $text, $text_color);
imagecolortransparent ($im, $background_color);
header("Content-Type: image/jpeg");
imagepng ($im);
imagedestroy($im);
?>Code: Alles auswählen
$email = $_GET['email']; // Mal so angenommen. Es ginge auch $userdata['user_email'] z. B.
$email_split = split("@", $email);
$adress = $email_split[0];
$email_split_2 = split(".", $email_split[1]);
$host = $email_split_2[0];
$domain = $email_split_2[1];