[PHP] sending set NUMBERFORMAT

2005-02-03 Thread Nuzzo Art-CINT116
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

RE: [PHP] String -> Number Automatic Conversion

2005-02-03 Thread Nuzzo Art-CINT116
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

RE: [PHP] String -> Number Automatic Conversion

2005-02-03 Thread Nuzzo Art-CINT116
> 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

[PHP] String -> Number Automatic Conversion

2005-02-03 Thread Nuzzo Art-CINT116
; .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

[PHP] real time output

2002-12-17 Thread Art Chevalier
. 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

[PHP] Apache2/PHP: Undefined server variables

2001-09-23 Thread Art Boulatov
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

[PHP] php.exe [filename .php] vs. run [filename.php] via webserver

2001-05-06 Thread Art
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

[PHP] WinNT+Apache+PHP4 can't connect ODBC!!!

2001-05-04 Thread Art
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

[PHP] Re: Dynamic constant names -SOLVED

2001-03-27 Thread Art Wells
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: >

[PHP] Re: Re[PHP] Dynamic constant names -SOLVED

2001-03-27 Thread Art Wells
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

[PHP] Re: Get rid of da Zero's

2001-01-26 Thread Art Wells
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 > > --

[PHP] Re: Fwd: Help - removal of trailing zeros from double integer field

2001-01-20 Thread Art Wells
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