Jump to content

bwsk8

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About bwsk8

bwsk8's Achievements

0

Reputation

  1. bwsk8

    IP Sig

    And I should mention I get an error when I start apache that php_oci8.ddl is missing,
  2. bwsk8

    IP Sig

    I recently found the danasoft script and wanted to make my own so after a couple searches I found this page. I have a secure apache server set up and I get the error"The image “https://mypage/sig.jpg” cannot be displayed, because it contains errors." or "Parse error: parse error, unexpected T_STRING in C:\OpenSA\Apache2\htdocs\sig.php on line 22" when I load it from php Can anyone help me? <Files sig.jpg> ForceType application/x-httpd-php </Files> <?php Header ('Content-type: image/jpg'); Header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); Header('Expires: Thu, 19 Nov 1981 08:52:00 GMT'); Header('Pragma: no-cache'); // create the image $image = imagecreatefrompng("bg.png"); // set the colours $cool = imagecolorallocate($image, 81, 86, 96); $black = imagecolorallocate($image, 0, 0, 0); $white = imagecolorallocate($image, 255, 255, 255); $red = imagecolorallocate($image, 255, 0, 0); $grey = imagecolorallocate($image, 204, 204, 204); $green = imagecolorallocate($image, 206, 129, 18); $blue = imagecolorallocate($image, 0, 0, 255); // set the font and print text $font = 'Arial.ttf' ImageTTFText ($image, 8, 0, 10, 17, $white, $font, "Your IP Address is... ".$REMOTE_ADDR); // output and destroy imagejpg($image); imagedestroy($image); ?>
×
×
  • Create New...