the php signer used in my sig
A.file folders note
1.make a folder with any name you want but should end with .png (otherwise it won't work because the forum software will not allow)
2.should be chmodded 777
B.the code
1.index.php
C.notes
1.text in dark red is your username
2.text in dark blue is the size of the image
3.text in indigo is the hex of the text color
D.preview

Last edited by mahirharoon on Sun Jan 20, 2008 7:26 pm; edited 6 times in total
A.file folders note
1.make a folder with any name you want but should end with .png (otherwise it won't work because the forum software will not allow)
2.should be chmodded 777
B.the code
1.index.php
| Code: |
| <?php
//the header header("Content-type: image/png"); //define variables //create image $im = imagecreate([color=darkblue]315, 15[/color]); //background color $bg = imagecolorallocate($im, 255, 255, 255); //textcolor $textcolor = imagecolorallocate($im, [color=brown]0, 0, 0[/color]); //enter text in image imagestring($im, 3, 0, 0, "DiGiTaLlY Signed by [color=indigo]Mahir[/color] using <?php> powers", $textcolor); //show the image imagepng($im); ?> |
C.notes
1.text in dark red is your username
2.text in dark blue is the size of the image
3.text in indigo is the hex of the text color
D.preview

Last edited by mahirharoon on Sun Jan 20, 2008 7:26 pm; edited 6 times in total
