If you want it in degrees, use sin(deg2rad(20);
> On Thu, 22 Jul 2004 12:17:19 -0400, Ashwin Purohit <[EMAIL PROTECTED]> wrote:
> > It's giving you sin(20) in radians, not in degrees (which is what you
> > seem to want). It's not a bug.
>>
> > On Thu
It's giving you sin(20) in radians, not in degrees (which is what you
seem to want). It's not a bug.
On Thu, 22 Jul 2004 12:17:19 -0400, Ashwin Purohit <[EMAIL PROTECTED]> wrote:
> It's giving you sin(20) in radians, not in degrees (which is what you
> seem to want). It
please help
>
> echo "Some text".aFunction()."some more text";
>
> The function is not working.
>
> Thanks
>
> -B
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
&
gt; > It would seem logical to me that I would not be able to do this, since
> > if the file exceeds the limit set by upload_max_filesize then the upload
> > should not continue past that point.
> >
> > Is this an accurate assumption?
> >
> > Cheers and TIA.
>
ho 'File exceeded maximum file size'; break;
case 3: echo 'File only partially uploaded'; break;
case 4: echo 'No file uploaded'; break;
}exit;}
You can use a switch format like I have done previously shown above.
Each file error is mentioned in a different case.
--
Ashwi
d"; }
> else { echo "Failed"; }
> ?>
--
Ashwin Purohit
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Or maybe execution time limit.
[snip]
I've created the code below, but since this file is so large
(currently 8 MB) it won't work.
[/snip]
I would guess you are running into your php memory_limit.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris,
I think that maybe the function imagecreatetruecolor() is the problem; I'll
try just imagecreate instead when I get home.
Thanks,
Ashwin Purohit.
_
MSN 9 Dial-up Internet Access fights spam and pop-ups now 3 months
Sorry Please view the script here (I didn't know it would convert to HTML):
http://www.thegarlic.homeip.net/graphics/button.txt
Thanks.
_
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.
$dy+(int)($ypad/2)-1, $txtcolor,
$font, $text);
imagejpeg($im, '1.jpeg', 60);
echo '';
ImageDestroy($im);
echo ''.$R.''.$G.''.$B.'';
// ----------
?>
END CODE--
Hello Everyone,
I would like to know if there is some way to write a script so that I can
input a Hex color code and have it output to RGB coordinates so as to
prevent users from having to search for the color codes? I will use that
feature so that I can create dynamic images.
Thanks in advance
Ok, thanks much! It works now.
Needs a new line and return.
fwrite($fp, ($credit . "\n\r") );
>>Hi everybody,
>>
>>I have this script in a file that allows users to upload files, and I
want
>>to know who submitted what so I write $userfile_name and $credit1(their
>>name) to CREDIT.txt in the same
Hi everybody,
I have this script in a file that allows users to upload files, and I want
to know who submitted what so I write $userfile_name and $credit1(their
name) to CREDIT.txt in the same directory like so :
$credit = $userfile_name.': '.$credit1."\n";
$fp = fopen('CREDIT.txt','a');
fwr
Hi all,
I have a website where I have uploaded a few of my drawings, etc. I want to
know how to write a simple php script so that people can post comments
beneath the pictures for all to view. If somebody could point me to some
tutorial or run me through real quick, it'd be much appreciated. Th
Hi all,
I have a website where I have uploaded a few of my drawings, etc. I want to
know how to write a simple php script so that people can post comments
beneath the pictures for all to view. If somebody could point me to some
tutorial or run me through real quick, it'd be much appreciated. Th
15 matches
Mail list logo