Re: A simple question with BC functions

From: Date: Tue, 28 Nov 2000 17:44:12 +0000
Subject: Re: A simple question with BC functions
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-27632@lists.php.net to get a copy of this message
These functions are only available if PHP was configured with --enable-bcmath. Probably your ISP doesn't have it configured. ----- Original Message ----- From: Craig Arnold <Craig@XyloWeb.com> To: <php-general@lists.php.net> Sent: Tuesday, November 28, 2000 11:30 AM Subject: [PHP] A simple question with BC functions > I am fairly new to PHP, and I have had success running many things, including database access. > But I cannot get any of the BC functions to work (my web host has PHP 4). > Is there something simple I'm missing, or does my host have a problem? > > My test URL is: http://XyloWeb.com/testbc.php > The error message I get is: Fatal error: Call to undefined function: bcadd() in /www/xyloweb/testbc.php on line 5 > > Here is the code: > > <HTML><HEAD><TITLE>BC Test</TITLE></HEAD> > <BODY> > <H1>Test</H1> > <? > print bcadd(3,6); > ?> > </BODY></HTML> > > I've tried several variations on this, and get the same error. > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#27632) next »