|
|
|
|
![]() ![]() |
Jun 3 2007, 09:14 AM
Post
#1
|
|
|
Super Member Group: Members Posts: 555 Joined: 29-September 06 Member No.: 16,228 |
On this shell, that has shared apache, php and gd, I have this file working.
http://users.phoenix-network.org/~tobylane/gd.php But, with the normal htaccess of CODE RewriteEngine on RewriteRule ^sig.png$ gd.php http://users.phoenix-network.org/~tobylane/sig.png Doesn't work. Also, another gd picture doesn't display the text. CODE <?php The second line is supposed to be header("Content-type: image/png");;header("(anti-spam-(anti-spam-(anti-spam-content-type:))) image/png"); $im = imagecreatefrompng("button.png"); $bg = imagecolorallocate($im,255,55,25); imagefill($im,0,0,$bg); imagestring($im,3,20,5,"Your IP is ",$bg); imagepng($im); imagedestroy($im); ?> Any ideas? Edit: Also, how can I use mt rand to make the first more random? It's an array of the texts. This post has been edited by toby: Jun 3 2007, 09:17 AM |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 4th December 2008 - 03:10 AM |