SV: [PHP] Round to a given value?

2008-12-24 Thread Anders Norrbring
> On Wed, 2008-12-24 at 20:38 +0100, Anders Norrbring wrote: > > Rounding an integer to the closest divisor by ten is easy with > round() and a > > negative precision, but I turn out to be lost if I want to round to a > given > > number.. > > > > Example, round to the closest 5000, or closest 400?

[PHP] Mail server that doesn't actually get installed

2008-12-24 Thread Michael S. Dunsavage
I downloaded server2go, and actually got it to work pretty well. However some of my forms send emails, and this project I'm working on is for a friend of mine, and I don't want to make him set up a mail server on his laptop. So is there anything like server2go for mailservers for windows that I can

Re: [PHP] Help with a Search Function

2008-12-24 Thread Jim Lucas
Terion Miller wrote: > Hey Everyone, been steaming right along for a couple days but now I'm stuck > on writing a search function, could you all take a look at it and see what > it could be, I will mark the line throwing the error in red, I did try just > commenting out that line and searching for

[PHP] Re: Zend framework

2008-12-24 Thread Colin Guthrie
'Twas brillig, and Al at 24/12/08 17:51 did gyre and gimble: Richard Heyes wrote: 2008/12/24 Al : I've not given it much thought, so far. But, am curious about what you folks think about it. Anyone with experience have a comment? On what? The Zend Framework? Sorry, I wasn't clear. Anyo

Re: [PHP] Round to a given value?

2008-12-24 Thread Ashley Sheridan
On Wed, 2008-12-24 at 20:38 +0100, Anders Norrbring wrote: > Rounding an integer to the closest divisor by ten is easy with round() and a > negative precision, but I turn out to be lost if I want to round to a given > number.. > > Example, round to the closest 5000, or closest 400? Any great ideas

Re: [PHP] Trying to prevent large file attachments in Squirrelmail, on U8.10S, is this a PHP issue?

2008-12-24 Thread Xn Nooby
On Wed, Dec 24, 2008 at 3:03 PM, Ashley Sheridan wrote: > On Wed, 2008-12-24 at 11:23 -0500, Xn Nooby wrote: >> I am using PHP5 on Ubuntu 8.10 Server, it is being used by Apache and >> Squirrelmail. I have tried setting the upload_max_filesize in the >> /etc/php5/apache2/php.ini file, but it only

Re: [PHP] Trying to prevent large file attachments in Squirrelmail, on U8.10S, is this a PHP issue?

2008-12-24 Thread Ashley Sheridan
On Wed, 2008-12-24 at 11:23 -0500, Xn Nooby wrote: > I am using PHP5 on Ubuntu 8.10 Server, it is being used by Apache and > Squirrelmail. I have tried setting the upload_max_filesize in the > /etc/php5/apache2/php.ini file, but it only seems to apply after I > upload the file. My goal is to preven

Re: [PHP] MERRY XMAS

2008-12-24 Thread Robert Cummings
On Wed, 2008-12-24 at 10:05 -0500, tedd wrote: > At 3:29 AM -0500 12/24/08, Robert Cummings wrote: > >On Wed, 2008-12-24 at 00:38 -0700, Nathan Nobbe wrote: > >> On Tue, Dec 23, 2008 at 8:59 PM, German Geek wrote: > >> > >> > Merry xmas to everyone! Thanks for the support and fun discussions. >

Re: [PHP] MERRY XMAS

2008-12-24 Thread Robert Cummings
On Wed, 2008-12-24 at 11:08 +, Richard Heyes wrote: > > word > > Which one? > > Happpy needless turkey murder day! To coin a phrase. We eat ham usually instead... we prefer to needlessly kill bigger animals >:) Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework f

[PHP] Round to a given value?

2008-12-24 Thread Anders Norrbring
Rounding an integer to the closest divisor by ten is easy with round() and a negative precision, but I turn out to be lost if I want to round to a given number.. Example, round to the closest 5000, or closest 400? Any great ideas? Thanks, and merry x-mas! Anders. -- PHP General Mailing List (

[PHP] Re: Segmentation fault in php5-imap

2008-12-24 Thread Dan Osipov
I just tried closing the message box and reopeining it, ie using imap_open & imap_close repeated, instead of imap_open, imap_reopen repeated, imap_close. Unfortunately, the server has a limit on the number of connections per minute, so I couldn't use that method... I am implementing some condi

Re: [PHP] Zend framework

2008-12-24 Thread Al
Richard Heyes wrote: 2008/12/24 Al : I've not given it much thought, so far. But, am curious about what you folks think about it. Anyone with experience have a comment? On what? The Zend Framework? Sorry, I wasn't clear. Anyone with experience using the Zend framework, in general or an

Re: [PHP] Zend framework

2008-12-24 Thread Richard Heyes
2008/12/24 Al : > I've not given it much thought, so far. > > But, am curious about what you folks think about it. > > Anyone with experience have a comment? On what? The Zend Framework? -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December 20

[PHP] Zend framework

2008-12-24 Thread Al
I've not given it much thought, so far. But, am curious about what you folks think about it. Anyone with experience have a comment? Al.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MERRY XMAS

2008-12-24 Thread Larry Garfield
On Tuesday 23 December 2008 9:59:40 pm German Geek wrote: > Merry xmas to everyone! Thanks for the support and fun discussions. > > Regards, > Tim foreach ($php_general->subscribers() as $subscriber) { foreach ($subscriber->holidaysCelebrated() as $holiday) { print 'Happy '. $holiday->name()

[PHP] Re: MERRY XMAS

2008-12-24 Thread Colin Guthrie
'Twas brillig, and Jay Blanchard at 24/12/08 12:07 did gyre and gimble: [snip] ...greetings from around the world [/snip] Merry Chrismakwanzica! Happy Festivus! Indeed. Happy Annual Gift Giving Day (when it comes!) to one and all. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://coli

[PHP] Re: ACL Framework / Library

2008-12-24 Thread Colin Guthrie
'Twas brillig, and Bastien Koert at 24/12/08 14:22 did gyre and gimble: On Wed, Dec 24, 2008 at 9:01 AM, Feris wrote: Hi All, Is there any references for a good ACL framework / library ? I want to develop one but if there is any available I didn't want to reinvent the wheel. Thanks, Feris

[PHP] Trying to prevent large file attachments in Squirrelmail, on U8.10S, is this a PHP issue?

2008-12-24 Thread Xn Nooby
I am using PHP5 on Ubuntu 8.10 Server, it is being used by Apache and Squirrelmail. I have tried setting the upload_max_filesize in the /etc/php5/apache2/php.ini file, but it only seems to apply after I upload the file. My goal is to prevent remote Squirrelmail users from attaching large files to t

Re: [PHP] Chrome 1.0 released

2008-12-24 Thread tedd
At 9:22 AM -0500 12/24/08, Bill Guion wrote: At 9:30 AM -0500 12/14/08, tedd wrote: At 3:08 PM -0800 12/13/08, Yeti wrote: I have to defend poor little IE a little now. It supports XHTML and CSS2 pretty well so far. And those standards came out a couple of months ago. Even a blind pig finds

Re: [PHP] Chrome 1.0 released

2008-12-24 Thread Ed Curtis
Bill Guion wrote: At 9:30 AM -0500 12/14/08, tedd wrote: At 3:08 PM -0800 12/13/08, Yeti wrote: I have to defend poor little IE a little now. It supports XHTML and CSS2 pretty well so far. And those standards came out a couple of months ago. Even a blind pig finds an acorn every once in a wh

[PHP] Re: Assignment (Was Re: [PHP] More microptimisation (Was Re: [PHP] Variable as an index)

2008-12-24 Thread tedd
At 11:06 AM +1100 12/24/08, Clancy wrote: On Tue, 23 Dec 2008 10:25:13 -0500, tedd.sperl...@gmail.com (tedd) wrote: >Two things: 1. One statement, one line. 2. The code between the two examples is different; produces different results; and thus is rather pointless in making a definitive >com

Re: [PHP] MERRY XMAS

2008-12-24 Thread tedd
At 3:29 AM -0500 12/24/08, Robert Cummings wrote: On Wed, 2008-12-24 at 00:38 -0700, Nathan Nobbe wrote: On Tue, Dec 23, 2008 at 8:59 PM, German Geek wrote: > Merry xmas to everyone! Thanks for the support and fun discussions. As they say in my son's kindergarten so as to be all inclusive:

Re: [PHP] Chrome 1.0 released

2008-12-24 Thread Bill Guion
At 9:30 AM -0500 12/14/08, tedd wrote: At 3:08 PM -0800 12/13/08, Yeti wrote: I have to defend poor little IE a little now. It supports XHTML and CSS2 pretty well so far. And those standards came out a couple of months ago. Even a blind pig finds an acorn every once in a while. Cheers, tedd

Re: [PHP] ACL Framework / Library

2008-12-24 Thread Bastien Koert
On Wed, Dec 24, 2008 at 9:01 AM, Feris wrote: > Hi All, > Is there any references for a good ACL framework / library ? I want to > develop one but if there is any available I didn't want to reinvent the > wheel. > > Thanks, > > Feris > Zend has their ACL as part of the framework http://framewor

[PHP] ACL Framework / Library

2008-12-24 Thread Feris
Hi All, Is there any references for a good ACL framework / library ? I want to develop one but if there is any available I didn't want to reinvent the wheel. Thanks, Feris

RE: [PHP] MERRY XMAS

2008-12-24 Thread Jay Blanchard
[snip] ...greetings from around the world [/snip] Merry Chrismakwanzica! Happy Festivus! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MERRY XMAS

2008-12-24 Thread Dotan Cohen
2008/12/24 Richard Heyes : >> word > > Which one? > Open Office 3.0, to be exact. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т

Re: [PHP] MERRY XMAS

2008-12-24 Thread Richard Heyes
> word Which one? Happpy needless turkey murder day! To coin a phrase. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December 20th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Create PHP form from MySQL table structure

2008-12-24 Thread Ronnie MacGregor
On Tue, 23 Dec 2008 06:38:29 -0600 Jay Blanchard said : > Here is a quick and dirty function that I have used for a couple of > years now, complete with comments; > > function formCreate($database, $table, $action, $excludeCols, $recordID){ Jay This function is very good for creating the conte

Re: [PHP] MERRY XMAS

2008-12-24 Thread Robert Cummings
On Wed, 2008-12-24 at 09:43 +0100, Kastner Mario wrote: > Merry XMas from Austria out to the world! > > Love to everyone > Mario > > http://unite-it.at > > function celebrateChristmas(array $people) > { > foreach ($people as $individuum) > { > printf("Wish you a merry

Re: [PHP] MERRY XMAS

2008-12-24 Thread Kastner Mario
Merry XMas from Austria out to the world! Love to everyone Mario http://unite-it.at -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MERRY XMAS

2008-12-24 Thread Dotan Cohen
2008/12/24 German Geek : > Merry xmas to everyone! Thanks for the support and fun discussions. > חג חנוכה שמח! Happy Hanuka to those who celebrate it! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-

Re: [PHP] MERRY XMAS

2008-12-24 Thread Robert Cummings
On Wed, 2008-12-24 at 00:38 -0700, Nathan Nobbe wrote: > On Tue, Dec 23, 2008 at 8:59 PM, German Geek wrote: > > > Merry xmas to everyone! Thanks for the support and fun discussions. As they say in my son's kindergarten so as to be all inclusive: We wish you a happy holiday! We wish you