instead of reformatting in PHP to work around PHP bug 30726.
HP-UX 11.11
PHP 4.3.9
Thanks for any help,
Art Nuzzo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
6 3QS, United Kingdom
> Email: [EMAIL PROTECTED]
> Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211
>
Are there patches available that I can apply to my existing PHP (4.3.9) or is
my only alternate is to put a work around in place until 4.3.11 is released?
Do you know wh
> version-specific...
>
>
Ah... Yes, I meant to include that information:
HP-UX: 11.11
PHP: 4.3.9
Art Nuzzo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
; .15
[9] => 0.15
[10] => 0.15
[11] => 1.15
[12] => 1.5
[13] => 1.5
)
Note that the results for element [1] is 0 not -.15 as I had expected. It does
not matter what value is added to the string. Any value outside the range of
-1 < value < 0 gives the correct results.
Is this a bug or am I missing something.
Thanks for any help,
Art Nuzzo
.
Any ideas on how I can do this???
Thanks
Art
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with php.ini with no effect.
Could you please tell me if this happens due to misconfiguration of
php/apache, or thats a known issue with Apache-2.0 and php?
Also, under phpinfo() I cannot see any server variables at all, only those
from the shell environment.
Thanks a lot,
Art.
--
PHP Genera
Does it's neccessary that if PHP file (*.php) can be parse and execute by
php.exe
such as "c:\php\php [filename .php]", then it will output the same while run
it by webserver
such as "Apache" or the like?
I have some problem with odbc_connect It's output the correct when I do the
former,
but alwa
I have Win NT4.0/SP3 with OmniHttpd as my Web Server for S/W dev. project.
It's about Web-Base MS Access Database with ODBC and it's run properly.
Recently I decided to use Apache instead. So I remove Omni and install
Apache instead, and then PHP. After that I move my program to Apache folder
and
te a dynamically named variable (as opposed
to my off-topic constant example), I use:
${$variable_name}="value";
or even
${"fixed_string".$variable_name}="value";
I hope I'm not going against sane practices in doing so.
On Wed, 28 Mar 2001, Geoff Caplan wrote:
>
I'm sorry to jump in mid-stream here (I've been offline for a while), but
was
$constant_value=${constant_name};
suggested?
eval's spook me, so I would prefer this solution over the working
suggestion you received.
This works for me on 4.0.4:
$test_name="ta_dah";
define("constant_name","test_nam
preg_replace("/0+$/","",$number);
On Thu, 25 Jan 2001, Ethan Nelson wrote:
> Almost there... actually this creates one problem...
>
> It turns 40.00 into 4
>
> It needs to quit shaving zero's when it hits the decimal point.
>
> 40.00 into 40
> 45.50 into 45.5
> 40.25 into 40.25
>
> Thanks
>
> --
This might help.
$no_trailing_zeroes = preg_replace("/0+$/","",$trailing_zeroes);
> Dear friends,
>
> I am accessing MySQL database using apache and php.
> I have to display a double integer field without trailing zeros.
> The number of digits after the decimal point varies.
>
> I have tried se
12 matches
Mail list logo