Jump to content

Recommended Posts

  • Replies 41
  • Created
  • Last Reply

Top Posters In This Topic

Posted

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);

?>

Posted

no one will help me with my "im bored finding a time filling php script" code :(~

why do you need that if people can look 3 inches to the left to find the info

Posted

coz i don't no php and trying to learned so seemed like a good place to start...well i say learn more of wor k out to to hack and slash other scripts together.....plus it fills sig space :D~! so some one give me an answer plz :(~ i so sad

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.


  • Mapcore Supporters

    aphexjh       Badroenis       celery⭐      EGO DEATH ⭐      Freaky_Banana      FMPONE ⭐      Harry Godden      JimWood ⭐      JSadones      poLemin      Vaya

    Funds go towards hosting and license costs, Discord server boosts, and more. If you'd like to donate, check out our Patreon announcement.

×
×
  • Create New...