Jump to content

martian2k4

Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://www.ur-fragged.co.uk
  • Yahoo
    martian2k4@yahoo.co.uk

Profile Information

  • Gender
    Not Telling
  • Location
    ??????

martian2k4's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hey, I've looked all over and can't find any tutorials that are related to writing database classes that support loops like smarty. The only sort of tutorials i can find are simple word replacement ones. Does any one know of a descent tutorial on template classes? Thanks
  2. Does any one know how i can get what country some one is from by using there IP address? [i]Thanks in advance[/i]  :)
  3. Ahh sorted :):):) thanks a lot :D
  4. I tried the code you gave me and the text was white. But [url=http://www.styleyourspace.com/gen/gen.php]http://www.styleyourspace.com/gen/gen.php[/url] thats the script which isn't working for me
  5. Hey all, I am using GD and it all works ok exept for the color of the text is a blue (Like the color of the image for the background) but it should be white. <?php header("Content-type: image/png"); $string = "TESTING"; $im = imagecreatefrompng("images/1.png"); $white = imagecolorallocate($im, 255, 255, 255); $px = (imagesx($im) - 7 * strlen($string)) / 2; imagestring($im, 3, $px, 15, $string, $white); imagepng($im); imagedestroy($im); ?> Is the code. Could some one tell me whats wrong? Thanks
  6. Thanks wildteen, You helped me lots :D
  7. Hey, I need to check a string to see if it contains a work, for example $str = "Ham Pizza"; if ( $str contains Ham ) { echo "the pizza was ham"; } Please help :D. Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.