Re: [PHP] floored by floor()

2010-10-13 Thread Thijs Lensselink
On 10/14/2010 07:48 AM, Mattias Thorslund wrote: Hi List, I'm having a problem with the behavior of the floor() function: echo floor(327.03 * 100)."\n"; //prints "32702" and not "32703"!! Sanity check: var_dump(327.03 * 100); //prints "float(32703)" as expected Any ideas why this happens, an

RE: [PHP] poll of 'public framework or roll your own'

2010-10-13 Thread Tommy Pham
> -Original Message- > From: Steve Staples [mailto:sstap...@mnsi.net] > Sent: Wednesday, October 13, 2010 5:29 AM > To: php-general > Subject: RE: [PHP] poll of 'public framework or roll your own' > > I must have missed this poll but let me chime in (you've prolly already > stopped rea

[PHP] floored by floor()

2010-10-13 Thread Mattias Thorslund
Hi List, I'm having a problem with the behavior of the floor() function: echo floor(327.03 * 100)."\n"; //prints "32702" and not "32703"!! Sanity check: var_dump(327.03 * 100); //prints "float(32703)" as expected Any ideas why this happens, and how to work around it? Thanks, Mattias -- PHP

Re: [PHP] http://www.mytrash.mail.ua spam

2010-10-13 Thread Daniel P. Brown
2010/10/13 Ashley Sheridan > > I know this isn't PHP related, but every day I post to this list I get a > message back from "mytr...@mail.ua" which is an > auto-responder. > > It is rather annoying, and makes little sense for whoever is using this > service to sign up to a mailing list and not

RE: [PHP] Zend studio location Cross-Domain Scripting Vulnerability

2010-10-13 Thread Daevid Vincent
> -Original Message- > From: Thijs Lensselink [mailto:d...@lenss.nl] > Sent: Tuesday, October 12, 2010 9:26 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Zend studio location Cross-Domain > Scripting Vulnerability > > On 10/13/2010 12:19 AM, Daevid Vincent wrote: > > http:

Re: [PHP] http://www.mytrash.mail.ua spam

2010-10-13 Thread Joshua Kehn
I get the same thing but wrote it off as someone's autoresponder. I didn't check the email address. Regards, -Josh Joshua Kehn | josh.k...@gmail.com http://joshuakehn.com On Oct 13, 2010, at 2:52 PM, Ashley Sheridan wrote: > I know this isn't PHP related, b

[PHP] http://www.mytrash.mail.ua spam

2010-10-13 Thread Ashley Sheridan
I know this isn't PHP related, but every day I post to this list I get a message back from "mytr...@mail.ua" which is an auto-responder. It is rather annoying, and makes little sense for whoever is using this service to sign up to a mailing list and not make this service aware of the mailing list

Re: [PHP] Eclipse, Komodo, Netbeans, Zend Studio, PHP Storm, other?

2010-10-13 Thread Ashley Sheridan
On Wed, 2010-10-13 at 14:31 -0400, Floyd Resler wrote: > On Oct 13, 2010, at 2:20 PM, Ashley Sheridan wrote: > > > On Wed, 2010-10-13 at 14:09 -0400, Floyd Resler wrote: > > > >> On Oct 13, 2010, at 12:58 PM, Hansen, Mike wrote: > >> > >>> I'm about to do a lot of work on an existing code base

Re: [PHP] Eclipse, Komodo, Netbeans, Zend Studio, PHP Storm, other?

2010-10-13 Thread musicdev
I currently use Netbeans and definitely has been the tool I've adopted. I like the features and plugins which make the work less stressful. I like the integration of several tools as well, which make Netbeans a 1-stop shop, so to speak. I use x-debug for debbugging and mercurial for versionin

RE: [PHP] Google Calendar

2010-10-13 Thread Tommy Pham
> -Original Message- > From: Floyd Resler [mailto:fres...@adex-intl.com] > Sent: Wednesday, October 13, 2010 7:07 AM > To: PHP > Subject: Re: [PHP] Google Calendar > > I turned on E_ALL & E_STRICT and I still don't receive any type of error > message. My code simply stops. I'm not sure w

Re: [PHP] Eclipse, Komodo, Netbeans, Zend Studio, PHP Storm, other?

2010-10-13 Thread Floyd Resler
On Oct 13, 2010, at 2:20 PM, Ashley Sheridan wrote: > On Wed, 2010-10-13 at 14:09 -0400, Floyd Resler wrote: > >> On Oct 13, 2010, at 12:58 PM, Hansen, Mike wrote: >> >>> I'm about to do a lot of work on an existing code base and I think I'd like >>> to try an IDE. I currently use VIM for most

Re: [PHP] Eclipse, Komodo, Netbeans, Zend Studio, PHP Storm, other?

2010-10-13 Thread Ashley Sheridan
On Wed, 2010-10-13 at 14:09 -0400, Floyd Resler wrote: > On Oct 13, 2010, at 12:58 PM, Hansen, Mike wrote: > > > I'm about to do a lot of work on an existing code base and I think I'd like > > to try an IDE. I currently use VIM for most editing. > > > > What IDE are you using? > > > > What do

Re: [PHP] Eclipse, Komodo, Netbeans, Zend Studio, PHP Storm, other?

2010-10-13 Thread Matt Giddings
I've tried Eclipse and Netbeans and have found Netbeans to fit my needs well. On Wed, Oct 13, 2010 at 1:40 PM, James Diamond wrote: > Hey Mike, > > I use zend eclipse, love it. > > What I love about it is what I love about any IDE, code complete, project > configurations, customizable preference

Re: [PHP] Eclipse, Komodo, Netbeans, Zend Studio, PHP Storm, other?

2010-10-13 Thread Bastien Koert
On Wed, Oct 13, 2010 at 1:40 PM, James Diamond wrote: > Hey Mike, > > I use zend eclipse, love it. > > What I love about it is what I love about any IDE, code complete, project > configurations, customizable preferences of the editor, etc. > > I have used Eclipse (Pre-Zend), Zend Eclipse, Zend St

Re: [PHP] Eclipse, Komodo, Netbeans, Zend Studio, PHP Storm, other?

2010-10-13 Thread Floyd Resler
On Oct 13, 2010, at 12:58 PM, Hansen, Mike wrote: > I'm about to do a lot of work on an existing code base and I think I'd like > to try an IDE. I currently use VIM for most editing. > > What IDE are you using? > > What do you like about the one you are using? > > Which ones have you tried?

Re: [PHP] Eclipse, Komodo, Netbeans, Zend Studio, PHP Storm, other?

2010-10-13 Thread James Diamond
Hey Mike, I use zend eclipse, love it. What I love about it is what I love about any IDE, code complete, project configurations, customizable preferences of the editor, etc. I have used Eclipse (Pre-Zend), Zend Eclipse, Zend Studio, Komodo, and Easyclipse. James On Oct 13, 2010, at 12:58 PM

Re: [PHP] Eclipse, Komodo, Netbeans, Zend Studio, PHP Storm, other?

2010-10-13 Thread Shreyas Agasthya
Eclipse Ganymede or Galileo. The support for plug-ins is what I like. I have tried NetBeans and found it to be OK. --Shreyas On Wed, Oct 13, 2010 at 10:28 PM, Hansen, Mike wrote: > I'm about to do a lot of work on an existing code base and I think I'd like > to try an IDE. I currently use VIM

[PHP] Eclipse, Komodo, Netbeans, Zend Studio, PHP Storm, other?

2010-10-13 Thread Hansen, Mike
I'm about to do a lot of work on an existing code base and I think I'd like to try an IDE. I currently use VIM for most editing. What IDE are you using? What do you like about the one you are using? Which ones have you tried? Mike -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] Google Calendar

2010-10-13 Thread Govinda
in this case when you put a tab before the closing heredoc it is not an error in itself. Its equivalent to removing the closing heredoc. so PHP treats the rest of the code as part of the string. A Parse error is reported when ?> OR end of the file is reached OK, to be sure I understand.. if I

Re: [PHP] Google Calendar

2010-10-13 Thread Floyd Resler
I turned on E_ALL & E_STRICT and I still don't receive any type of error message. My code simply stops. I'm not sure what the problem is but I found a Google Calendar wrapper that suits my needs and doesn't require Zend. Thanks! Floyd On Oct 12, 2010, at 10:22 PM, Kranthi Krishna wrote: > Th

RE: [PHP] poll of 'public framework or roll your own'

2010-10-13 Thread Steve Staples
I must have missed this poll but let me chime in (you've prolly already stopped reading now... :P ) to make a long story short, i use a custom variant that started life as cakephp. well, not even anywhere close. I started to comprehend how cakephp started/configured itself, and then wrote

Re: [PHP] Zend studio location Cross-Domain Scripting Vulnerability

2010-10-13 Thread Richard Quadling
On 13 October 2010 05:25, Thijs Lensselink wrote: >  On 10/13/2010 12:19 AM, Daevid Vincent wrote: >> >> http://80vul.com/Zend%20studio/Zend%20studio%20location%20Cross.htm >> >> Interesting. A co-worker and I were JUST noticing how our PHPDoc comments >> were being parsed pretty much verbatim inc