Jump to content

new leet signature


OL

Recommended Posts

  • Replies 41
  • Created
  • Last Reply

Top Posters In This Topic

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

<?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.php?mode=viewprofile&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);

?>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...