Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How did you guys make a avatar that is always different?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam
View previous topic :: View next topic  
Author Message
clash of clans hacks
Master Cheater
Reputation: 63

Joined: 18 Jul 2007
Posts: 368
Location: Remember when we all used to put funny lines here?

PostPosted: Mon Jul 16, 2012 7:27 pm    Post subject: This post has 1 review(s) Reply with quote

http://www.random-image.net/
Back to top
View user's profile Send private message
PUSHEAX_PUSHEAX
Grandmaster Cheater
Reputation: 72

Joined: 13 Apr 2009
Posts: 969

PostPosted: Tue Jul 17, 2012 2:40 am    Post subject: Reply with quote

yeah I guess you use that if you aren't a ##SUP3R L337## //CODER */

avatar.php
Code:
<?php
header('Content-Type: image/jpg');
$base = '/img/';
$text = "greg!";
$font = "PIXEAB__.TTF";
$dir = $_SERVER['DOCUMENT_ROOT'] . $base;
if (is_dir($dir) || is_readable($dir)) {
    $images = glob($dir . "*.jpg");
    $imgR = array_rand($images, 1);
    $im = imagecreatefromjpeg($_SERVER['DOCUMENT_ROOT'] . $base . basename($images[$imgR]));
    $red = imagecolorallocate($im, 100, 0, 0);
    if ($im) {
        imagettftext($im, 6, 0, 0, 15, $red, $font, $text);
        imagejpeg($im);
        imagedestroy($im);
        //echo "<img src=\"$base" . basename($images[$imgR]) . "\">";
    } else {
        echo "Image creation failed";
    }
} else {
    echo $dir . " is not readable or is not a directory.";
}
?>


.htaccess
Code:
RewriteEngine On
RewriteRule avatar.png avatar.php


With some images:

Code:
http://examples.phpal.in/avatar.png
Back to top
View user's profile Send private message
Womanizer
Grandmaster Cheater
Reputation: 2

Joined: 30 May 2009
Posts: 958

PostPosted: Tue Jul 17, 2012 5:31 am    Post subject: Reply with quote

We are on CEF nonstop and keep changing the avatar. Why ask?

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites