Jump to content

jtreanor

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Posts posted by jtreanor

  1. Hello!

     

    I have spent the last several weeks working on a content management system for a first year university project.

     

    I'm quite happy with where its at and I'd really appreciate if you could have a quick look for security issues.

    http://cs1.ucc.ie/~jct1/cs1109/lab18

     

    The site itself is backed by my cms and just contains a guide on how to use the backend.

     

    Proof of ownership: http://cs1.ucc.ie/~jct1/cs1109/lab18/phpfreaks.txt

     

    Thanks in advance!

    James

     

  2. I'm not entirely sure why but this works for me:

     

    $height = 800;
        //the width of canvas
        $width = 890;
        //creating the image with $height and $width
        $im = imagecreatetruecolor($width, $height) or die("Error creating image in test"); // width , height px
        $white = imagecolorallocate($im, 255, 255, 255);
        $black = imagecolorallocate($im, 0, 0, 0);
        imagefill($im, 0, 0, $black);

     

    imagecolorallocate seems to evaluate to false.

×
×
  • 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.