Search found 4 matches
- Sat Mar 08, 2003 8:27 am
- Forum: PHP - Code
- Topic: ImageArc Error or Am I Missing Something?
- Replies: 4
- Views: 474
Thanks for your reply. I honestly hadn't tried to use your first example because it included imagefilledarc, which my version doesn't support (requires gd-2 or better). So I skipped straight to the second example and missed the point you were making with the first one. Do you happen to know why they...
- Fri Mar 07, 2003 9:33 pm
- Forum: PHP - Code
- Topic: ImageArc Error or Am I Missing Something?
- Replies: 4
- Views: 474
That doesn't seem to have changed the results any. The angle still shows up as 25-30 degress. As for the oddness of the script, it looks unusual because I took the snippet of code from a much larger script I wrote and stripped it down to only the pertinent sections. In the original script, duplicati...
- Fri Mar 07, 2003 10:40 am
- Forum: PHP - Code
- Topic: File Uploading Script
- Replies: 6
- Views: 736
I had similar problems the first time I tried to write an upload script. The problem was that most of the tutorials I found relied on variables that are off by default (the register_globals setting in php.ini). Simply setting register_globals to on will make most of them work. However, as you'll fin...
- Fri Mar 07, 2003 7:15 am
- Forum: PHP - Code
- Topic: ImageArc Error or Am I Missing Something?
- Replies: 4
- Views: 474
ImageArc Error or Am I Missing Something?
<?php $im = imagecreate(500, 500); $background = imagecolorallocate($im, 0xFF, 0xFF, 0xFF); $black = imagecolorallocate($im, 0, 0, 0); $white = imagecolorallocate($im, 0xFF, 0xFF, 0xFF); imagearc($im, 250, 250, 200, 100, 0, 360, $black); imagearc($im, 250, 250, 200, 100, 0, 45, $white); header (&qu...