meep if any of u are l33t php men or women *puurrsss* can u help me with my dynamic sig ;o~ i think i just need the props from the profile page but i cud be wrong
QuoteDisplay More<?php header("Content-type: image/png");
$img = imagecreatefromjpeg("http://www.crazymac.net/site_img/sig.jpg");
$black = imagecolorallocate($img,0,0,0);
$white = imagecolorallocate($img,255,255,255);
$u = $_GET['u'];
$foo2 = file('http://www.mapcore.net/forums/profile…iewprofile&u=28' . $u);
$foo = join('', $foo2);
eregi("profile :: (.[^\<]*)\", $foo, $matches);
$name = $matches[1];
foreach($foo2 as $line_num => $line) {
if (preg_match('/Joined:/', $line)) {
$ineedline = $line_num;
}
}
$ineedline += 1;
$line = $foo2[$ineedline];
preg_match('@genbold">(.*?)@', $line, $matches);
$date = $matches[1];
foreach($foo2 as $line_num => $line) {
if (preg_match('/Total posts:/', $line)) {
$ineedline = $line_num;
}
}
$ineedline += 1;
$line = $foo2[$ineedline];
preg_match('@genbold">(.*?)@', $line, $matches);
$posts = $matches[1];
$line = $foo2[$ineedline + 1];
preg_match('@genmed">(.*?)
@', $line, $matches);
$postinfo = $matches[1];
$font = 2;
imagestring($img,$font,110,60,"User Nick: " . $name,$white);
imagestring($img,$font,110,70,"Date Joined: " . $date,$white);
imagestring($img,$font,110,80,"Total Posts: " . $poster_rank . " " . $postinfo,$white);
imagepng($img);
?>