Prin metoda lui lucian; .htaccess: RewriteEngine on RewriteBase / RewriteRule ^(.*)\.gif$ $1.php [L] image-02.php <?php ob_start(); include("info.php"); ob_clean(); header('Content-type: image/gif'); print base64_decode('R0lGODlhAQABALMAAAAAAIAAAACAA'. 'ICAAAAAgIAAgACAgMDAwICAgP8AAA'. 'D/AP//AAAA//8A/wD//wBiZCH5BAE'. 'AAA8ALAAAAAABAAEAAAQC8EUAOw=='); ?> info.php <?php $xxx = "-----------------"; $ip = $_SERVER['REMOTE_ADDR']; $date = date("F j, Y, g:i a"); $uagent = $_SERVER['HTTP_USER_AGENT']; $referer = $_SERVER['HTTP_REFERER']; $currenturl = $_SERVER['REQUEST_URI']; $fopen = fopen('info.txt', 'a+'); fwrite($fopen, "\n".$xxx."\n".$ip."\n".$date."\n".$uagent."\n".$currenturl."\n".$xxx."\n"); fclose($fopen); ?> mail.php <? $to = "a"; $subject = "a"; $from = ""; $message = <<<EOF <html> <img src='http://host.ro/image-02.gif'> </html> EOF; $headers = "From: $from\r\n"; $headers .= "Content-type: text/html\r\n"; mail($to, $subject, $message, $headers); echo "d0ne."; ?> Nu intrebati la ce foloseste si cum se face. Nu spuneti "nu-mi merge".