number_format()
Now, why do you say it's not working properly?
Note: number_format() takes a float as an argument, not a string, and
even if it were, the double would be casted to string.
Phillip Baker wrote:
Greetings All,
I am trying to format a double to use thousands sep
hi dan...
a couple of suggestions if you haven't already thought of them. keep in
mind, i haven't talked to any of the vendors or looked into any of the
myriad issues surrounding this area.
a quick google search came across a few companies, one of which is:
http://xml-creditreport.com/. they seem
D Sledge wrote:
OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
web server: Apache 2.0
php version: 4.3.9
When I use the function mail(), the the from email address that is used is
apache@. I
tried setting the sendmail_from directive in php.ini and the ServerAdmin
dir
OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
web server: Apache 2.0
php version: 4.3.9
When I use the function mail(), the the from email address that is used is
apache@. I
tried setting the sendmail_from directive in php.ini and the ServerAdmin
directive in httpd.co
Spoke too soon. After a reboot, I had only IE and Homesite open,
making changes to PHP code and running the app, and it hit an access
violation. So SQLyog ain't it.
-Chris
On 9/6/06, Christopher Watson <[EMAIL PROTECTED]> wrote:
Thanks for the input, Jon. I'll get to the Apache and IIS resta
On Wed, 2006-09-06 at 16:56 -0400, Karen Goeller wrote:
> I'm having trouble generating a fixed-length (i.e., non-delimited) file
> format out of PHP 4, based on queries out of MySQL. These files are
> getting imported into a Unidata database and require a very specific
> byte-mapping format.
I'm having trouble generating a fixed-length (i.e., non-delimited) file
format out of PHP 4, based on queries out of MySQL. These files are
getting imported into a Unidata database and require a very specific
byte-mapping format. However, while the fopen used with length will
TRUNCATE to a sp
Thanks for the input, Jon. I'll get to the Apache and IIS restart
suggestions soon.
Meanwhile, I think I have a semi-repeatable recipe for getting the
access violation to happen. As far as I can tell, everything is cool
until I open up SQLyog and do some sort of database manipulation
within it.
On Wed, 2006-09-06 at 11:03 -0600, Ashley M. Kirchner wrote:
> Robert Cummings wrote:
> > It's because you have written sloppy code and didn't bother to
> > initialize $Dirs to an array. So it's default value is null. You would
> > know this if you had notices enabled.
> >
> Error fixed.
>
Robert Cummings wrote:
It's because you have written sloppy code and didn't bother to
initialize $Dirs to an array. So it's default value is null. You would
know this if you had notices enabled.
Error fixed.
Also, the other problem is that you are either a) opening the wrong
path, b) t
On Wed, 2006-09-06 at 10:47 -0600, Ashley M. Kirchner wrote:
> Given this piece of code:
>
> $i = 0;
> if ($dir = opendir($path)) {
> while ($dh = readdir($dir)) {
> if ($dh != '.' && $dh != '..') {
> $Dirs[$i] = $dh;
> $i++;
> }
> }
> }
> closedir($
On Wed, 2006-09-06 at 11:21 -0500, Jay Blanchard wrote:
> [snip]
> I am trying to format a double to use thousands seperators and such.
> number_format does not appear to be working properly for this.
> My guess is cause I am trying to format a double rather than a string.
> Is there anything out t
Given this piece of code:
$i = 0;
if ($dir = opendir($path)) {
while ($dh = readdir($dir)) {
if ($dh != '.' && $dh != '..') {
$Dirs[$i] = $dh;
$i++;
}
}
}
closedir($dir);
sort($Dirs);
Why does sort() give me the following warning:
PHP Warning: sort(
[snip]
I am trying to format a double to use thousands seperators and such.
number_format does not appear to be working properly for this.
My guess is cause I am trying to format a double rather than a string.
Is there anything out there that will allow me to format a double to
include
a comma as a
Greetings All,
I am trying to format a double to use thousands seperators and such.
number_format does not appear to be working properly for this.
My guess is cause I am trying to format a double rather than a string.
Is there anything out there that will allow me to format a double to include
a
hi kevin...
if you already received an answer to this email, feel free to disregard.
the "password" that you're questioning is from mysql.
---
[EMAIL PROTECTED] test]# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connec
On Wednesday 06 September 2006 04:02, Mourad Boulahboub wrote:
> Hi Kevin,
>
> Kevin Murphy schrieb am 06.09.2006 00:27:
> > $_SERVER['PHP_AUTH_PW']
>
> this is needed if you run HTTP-Authentication for e.g. .htaccess/.htpasswd
>
> i think you will find a string like
>
> Header("WWW-Authenticate: B
At 02:02 AM 9/6/2006, Justin Madru wrote:
I'm creating a simple personal web server. On a few of the pages is a html
table. I was thinking of making it a php script, and the script would just
output the html code for _one_ row. I would be calling the same very small
php script maybe _30+_ time
I'm creating a simple personal web server. On a few of the pages is a
html table. I was thinking of making it a php script, and the script
would just output the html code for _one_ row. I would be calling the
same very small php script maybe _30+_ times in the same page.
My server is only 500M
Hello,
I have a web site and a yahoo group aswell.
I want to add a form in my site so that the visitor can put his/her e-mail
address and get subscribed in a yahoo group that i own.
I already have this form working... but the problem is that when the visitor
put his/her e-mail address and clic
Hi Chris,
memtest run over several hours, with 2000% coverage. No errors.
-Chris
On 9/5/06, Chris <[EMAIL PROTECTED]> wrote:
Run memtest or something over your machine, sounds more like a hardware
issue than anything else.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
Hi Kevin,
Kevin Murphy schrieb am 06.09.2006 00:27:
>
> $_SERVER['PHP_AUTH_PW']
>
this is needed if you run HTTP-Authentication for e.g. .htaccess/.htpasswd
i think you will find a string like
Header("WWW-Authenticate: Basic
in your scripts also.
I think the passwords are stored in MD5
--
22 matches
Mail list logo