Re: [PHP] Best way to format double as money?

2007-05-05 Thread heavyccasey
*sigh* http://www.google.com/search?hl=en&q=PHP+format+double+as+money&btnG=Search On 5/5/07, Larry Garfield <[EMAIL PROTECTED]> wrote: http://www.php.net/money_format On Saturday 05 May 2007, Todd Cary wrote: > I have a MySQL DB that stores currency values as doubles. I want to > display the

Re: [PHP] Best way to format double as money?

2007-05-05 Thread Larry Garfield
http://www.php.net/money_format On Saturday 05 May 2007, Todd Cary wrote: > I have a MySQL DB that stores currency values as doubles. I want to > display the values in the #,##0.00 format. What is the best way to do > that? > > Todd > > -- > Ariste Software > 2200 D Street Ext > Petaluma, CA 949

[PHP] Best way to format double as money?

2007-05-05 Thread Todd Cary
I have a MySQL DB that stores currency values as doubles. I want to display the values in the #,##0.00 format. What is the best way to do that? Todd -- Ariste Software 2200 D Street Ext Petaluma, CA 94952 (707) 773-4523 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: cURL: multipart/form-data POST request with empty file part

2007-05-05 Thread Manuel Lemos
Hello, on 05/04/2007 09:44 AM Emmanuel Raulo-Kumagai said the following: > Hello > > I'm writting a client in PHP for some CMS. > I need to send an HTTP POST request with a multipart/form-data content. > One of the parts is a file which must look like the request was issued > after submitting a w

Re: [PHP] Feisty Fawn and apt-get

2007-05-05 Thread Mike Shanley
Davi wrote: First: use aptitude instead apt-get... =] Second: use an debian-list to debian's questions instead an php-list... =] Third: Go Feisty!!! -- ~Mike Shanley~ ~you are almost there~ ~no, wait. you are there!~ -- PHP General Mailing List (http://www.php.net/) To unsubsc

Re: [PHP] mail() only working with php-cli

2007-05-05 Thread Oliver Block
Hello Andy, did you take a look into the apache log files? Regards, Oliver Am Samstag, 5. Mai 2007 22:53 schrieb Andy B.: > Is there any way to debug the mail() function within PHP4 or PHP5? > > The following code is not working when called from a browser, but it does > work from the command l

Re: [PHP] Why create_element function always return false?

2007-05-05 Thread Tijnema !
On 5/5/07, Victor <[EMAIL PROTECTED]> wrote: create_element("para"); $newnode = $doc->append_child($node); $newnode->set_attribute("align", "left"); ?> I just run the example that is from php manual. But there is some error ---

RE: [PHP] mail() only working with php-cli

2007-05-05 Thread Andy B.
Yes, it's the same build. I am running php5 on a debian distribution that has been installed via apt-get. Details: -- CLI php.ini = /etc/php5/cli/php.ini PHP 5.2.0-8+etch3 (cli) (built: Apr 29 2007 10:42:07) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2006

Re: [PHP] mail() only working with php-cli

2007-05-05 Thread Tijnema !
On 5/5/07, Andy B. <[EMAIL PROTECTED]> wrote: Is there any way to debug the mail() function within PHP4 or PHP5? The following code is not working when called from a browser, but it does work from the command line: php and php-cli use the same php.ini file. Php via Apache is launched as a mo

Re: [PHP] Feisty Fawn and apt-get

2007-05-05 Thread Davi
Em Sábado 05 Maio 2007 18:01, Skip Evans escreveu: > Hey all, > > I've installed Feisty Fawn on the curmudgeon > barber's machine, but it won't get any of the > outside packages I've tried to get. I've tried an > > apt-get install {package} > > ...on digikam, kate, gftp, and others. All stuff I > h

Re: [PHP] Feisty Fawn and apt-get

2007-05-05 Thread Travis Doherty
Skip Evans wrote: > Hey all, > > I've installed Feisty Fawn on the curmudgeon barber's machine, but it > won't get any of the outside packages I've tried to get. I've tried an > > apt-get install {package} > > ...on digikam, kate, gftp, and others. All stuff I had no trouble > getting with Edgy. >

[PHP] Feisty Fawn and apt-get

2007-05-05 Thread Skip Evans
Hey all, I've installed Feisty Fawn on the curmudgeon barber's machine, but it won't get any of the outside packages I've tried to get. I've tried an apt-get install {package} ...on digikam, kate, gftp, and others. All stuff I had no trouble getting with Edgy. I checked the sources.list f

[PHP] mail() only working with php-cli

2007-05-05 Thread Andy B.
Is there any way to debug the mail() function within PHP4 or PHP5? The following code is not working when called from a browser, but it does work from the command line: php and php-cli use the same php.ini file. Php via Apache is launched as a module, NOT as CGI! sendmail_path is correctly se

[PHP] Re: Mailbox @php.net

2007-05-05 Thread M.Sokolewicz
Get a php.net CVS account and you get an @php.net email adress with it. It's an extra for the work you do, not just to be able to show off your new email. - tul Shadow wrote: Hi, All. Does anybody know how someone can get an email @php.net? Thanks. - Don

[PHP] Mailbox @php.net

2007-05-05 Thread Shadow
Hi, All. Does anybody know how someone can get an email @php.net? Thanks. - Don't pick lemons. See all the new 2007 cars at Yahoo! Autos.

Re: [PHP] Getting multitple select values on PHP side

2007-05-05 Thread itoctopus
Totally agree, generates a lot of support. -- itoctopus - http://www.itoctopus.com ""Richard Lynch"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, May 4, 2007 3:56 pm, Skip Evans wrote: >> I have a requirement for a select on a form that >> has to be able to get multiple

[PHP] Re: Newbie Question - Form To Email Needed

2007-05-05 Thread itoctopus
1st page: 2nd page: $str_body = $_POST['thebody']; mail('[EMAIL PROTECTED]', 'This is the subject', $str_body); Of course you can have the email and the subject fields come also from the 1st page. Hope that helps! -- itoctopus - http://www.itoctopus.com "revDAVE" <[EMAIL PROTECTED]>

[PHP] PEAR MIME Construct

2007-05-05 Thread Feris Thia C
Hi All, I've read my mail through php://stdin and then decode email message using MIME package. How can I change the "To" header field and then reconstruct and send it again through sendmail ? Regards, Feris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] Problem with timeout

2007-05-05 Thread Frank Arensmeier
4 maj 2007 kl. 23.48 skrev Richard Lynch: On Fri, May 4, 2007 3:42 pm, Frank Arensmeier wrote: I still think that the best way to go is to not involve Apache at all when running the script. Because the script already has functions for output logging etc. it is no big deal to change the code so