PHP images map

Discussion in 'Programming' started by coolboycsaba, Dec 15, 2009.

  1. #1
    I have a php scrip what allows to register and to login. My first problem:I need a piece of php script what will set the maximum number of users can register. I store the usernames , the passwords and an the number of the user (i mean 1 , 2 , ...). Another problem is want to create something like a map with little pieces of images. Each piece to have as background the image1 , I need a code what to add a piece from this "map" for every user when he registers randomly ( I mean the user with number one to get the piece with any number , else than one). And i need to use as background image2 for those pieces what are already taken. Any idea what i can do? I want to use php.

    Sorry for my bad english!
     
    coolboycsaba, Dec 15, 2009 IP
  2. NeoCambell

    NeoCambell Peon

    Messages:
    456
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    1. This is easy as you just need to call COUNT SQL command to get the total records in your member database. Display a message if the total is greater than the limit.
    2. Problem is not 100% clear to me. However it sounds like you have to use a library like ImageMagick. It's a free library to Convert, Edit, and Compose Images.
     
    NeoCambell, Dec 16, 2009 IP