Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
3 lars 1
<?php
2
// Markus Niewerth
3
// (c) 2007 Weban.de
4
 
5
 
6
// Fehlerbehandlung
7
error_reporting(E_ALL & ~E_NOTICE);
8
ini_set("register_globals", "On");
9
 
10
// Klasse includen
11
require_once('module/Email_Safe/Email_Safe.class.php');
12
 
13
// Email leer, das ist Horror, also abbrechen!
14
if (!$_GET['email']) {
15
	die();
16
}
17
// Font Groesse pruefen
18
if (!$_GET['fsize']) {
19
	$_GET['fsize'] = 8;
20
}
21
// Fonttyp bestimmen
22
if (!$_GET['font']) {
23
	$_GET['font'] = 4;
24
}
25
// Fontfarbe
26
if (!$_GET['fontcolor']) {
27
	$_GET['fontcolor'] = '0,0,0';
28
}
29
// Hintergrundfarbe
30
if (!$_GET['bgcolor']) {
31
	$_GET['bgcolor'] = '255,255,255';
32
}
33
// Soll ein Bild ins Hauptbild kopiert werden
34
// und als Bildrohling genommen werden?
35
if (!$_GET['fromimage']) {
36
 	$_GET['fromimage'] = false;
37
}
38
$eSafe = &new Email_Safe();
39
$eSafe->createEmailImage ($_GET['email'], $_GET['fsize'], $_GET['font'], $_GET['fontcolor'], $_GET['bgcolor'],$_GET['fromimage']);
40
?>