treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Image generator

  • Hey guys,

    I'm trying to create a forum signature generator based on a certain game with certain forums.

    Anyway I got this nice form set up, German and English (game is half german) and it submits three values: the username, avatar (submits a string value as one two three etc through twelve) and motto, another string.

    Anyways, it submits to makesignature.php, which I have ideoned due to not wanting to append four spaces to beginning of every line.

    http://ideone.com/rnyy4z

    Now there doesn't seem to be any PHP errors, however the page doesn't create an image, and there is no file saved to the specified directory.

    Gosh I've been slaving over this for 4+ hours...help me not have to throw it away.

    Time to flash game :P

    Red

  • Alright...woke up and did more debugging. 1. I wasn't passing $_POST['avatar'] a value. 2. I did some variable spitting and I got everything there to work but the image is still not creating.

    This is the first time I've attempted to use PHP to generate images so I am completely new to the whole GD thing.

  • I thought so...no GD and FreeType experience people out there :(

    One more bump...no one that can help me?