Re: [PHP] Google Calendar

2010-10-12 Thread Kranthi Krishna
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 -- PHP General Mailing List (http://w

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

2010-10-12 Thread Thijs Lensselink
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 including tags and links and stuff and thought, "wow, that's stupid

Re: [PHP] Google Calendar

2010-10-12 Thread Govinda
develop with error_reporting set to E_ALL & E_STRICT that will help you understand many trivial errors Krishna, allow me to jump in here and ask - is my understanding correct that some errors will never be reported... regardless of the setting for error_reporting? ...like when I put a tab b

Re: [PHP] Google Calendar

2010-10-12 Thread Kranthi Krishna
The exact error message will help understand your situation Most probable reason is Zend is not included in your include path develop with error_reporting set to E_ALL & E_STRICT that will help you understand many trivial errors -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Zend studio location Cross-Domain Scripting Vulnerability

2010-10-12 Thread Daevid Vincent
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 including tags and links and stuff and thought, "wow, that's stupid, that's just a XSS or injection waiting to happ

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

2010-10-12 Thread Daevid Vincent
That was my poll! :) Do you use a public framework or roll your own? I personally find most frameworks to be either too generic or too restricting. To do some tasks you have to jump through many hoops. I see the benefit and certainly for prototypes they may have use, but I tend to find that buildi

[PHP] Google Calendar

2010-10-12 Thread Floyd Resler
I am attempting to use the Zend Gdata framework to communicate with Google Calendars and am having a problem. If I start a new event like this: $event=$gcal->newEventEntry(), nothing happens. My code simply stops executing at that call. If I replace it with this: $event=new Zend_Gdata_Calendar

Re: [PHP] Scripts running twice

2010-10-12 Thread Alexander Schrijver
On Tue, Oct 12, 2010 at 07:52:46PM +0100, Ashley Sheridan wrote: > >On Tue, 2010-10-12 at 20:45 +0200, Alexander Schrijver wrote: > > On Tue, Oct 12, 2010 at 05:29:39PM +0100, [1]...@ashleysheridan.co.uk wrote: > > That's probably it then! Some browsers make multiple requests to speed up > >

Re: [PHP] Scripts running twice

2010-10-12 Thread Ashley Sheridan
On Tue, 2010-10-12 at 20:45 +0200, Alexander Schrijver wrote: > On Tue, Oct 12, 2010 at 05:29:39PM +0100, a...@ashleysheridan.co.uk wrote: > > That's probably it then! Some browsers make multiple requests to speed up > > rendering of a page. > > Do you have any examples of browsers which do this

Re: [PHP] Scripts running twice

2010-10-12 Thread a...@ashleysheridan.co.uk
That's probably it then! Some browsers make multiple requests to speed up rendering of a page. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "Alexis" Date: Tue, Oct 12, 2010 17:16 Subject: [PHP] Scripts running twice To: If you mean how am I triggering the script

Re: [PHP] Scripts running twice

2010-10-12 Thread Richard Quadling
On 12 October 2010 17:16, Alexis wrote: > If you mean how am I triggering the script, then I am simply opening it up > in my web browser... > > On 12/10/10 04:21, Richard Quadling wrote: >> >> On 11 October 2010 21:37, Alexis  wrote: >>> >>> Thanks for perservingnope just the two entries per s

Re: [PHP] Scripts running twice

2010-10-12 Thread Kranthi Krishna
apache log files will be of help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Scripts running twice

2010-10-12 Thread Alexis
If you mean how am I triggering the script, then I am simply opening it up in my web browser... On 12/10/10 04:21, Richard Quadling wrote: On 11 October 2010 21:37, Alexis wrote: Thanks for perservingnope just the two entries per script..one start and one stopalso checked the multi ta

Re: [PHP] class object vs array for db table model

2010-10-12 Thread chris h
hehe that's pretty funny; also funny oversight of mine in regards to isset()... so I guess we're both comedians today? ;-) Glad you got that worked out Tommy! Chris. On Tue, Oct 12, 2010 at 8:46 AM, Tommy Pham wrote: > On Tue, Oct 12, 2010 at 4:45 AM, chris h wrote: > > > > > > > > > > > W

Re: [PHP] class object vs array for db table model

2010-10-12 Thread Tommy Pham
On Tue, Oct 12, 2010 at 4:45 AM, chris h wrote: > > > > When you are adding a row as an object you are calling 4 user > functions: MyTable::__construct(), MyTable::setId(), MyTable::setName(), and > MyTable::setDescription().  This adds some overhead for sure, so you might > want to think about

Re: [PHP] class object vs array for db table model

2010-10-12 Thread chris h
On Tue, Oct 12, 2010 at 2:38 AM, Tommy Pham wrote: > Hi everyone, > > It's been a couple years since I've did a project in PHP. The current > project I'm working on is for PHP 5.3 and I noticed a performance issue. > Is > it just me or is there a BIG difference in performance between class obje

Re: [PHP] Problem with DATE 2010-10-31

2010-10-12 Thread Richard Quadling
On 12 October 2010 10:52, Rado Oršula wrote: > I do not know good English. > In the attached source code. > Here is erroneous statement: > > date: 2010-10-31 00:00:00 > date+0h: 2010-10-31 00:00:00 > date+1h: 2010-10-31 01:00:00 > date+2h: 2010-10-31 02:00:00  <<< > date+3h: 2010-10-31 02:00:00  <

Re: [PHP] Problem with DATE 2010-10-31

2010-10-12 Thread richard gray
On 12/10/2010 11:52, Rado Oršula wrote: I do not know good English. In the attached source code. Here is erroneous statement: date: 2010-10-31 00:00:00 date+*0*h: 2010-10-31 *00*:00:00 date+*1*h: 2010-10-31 *01*:00:00 *date+2h: 2010-10-31 02:00:00 <<< date+3h: 2010-10-31 02:00:00 <<<* date+*4*h

Re: [PHP] Scripts running twice

2010-10-12 Thread Richard Quadling
On 11 October 2010 21:37, Alexis wrote: > Thanks for perservingnope just the two entries per script..one start and > one stopalso checked the multi tab and that is set to just the once as > well. > One thing I forgot to say before is that even if I run the scripts manually, > then they sti

[PHP] Problem with DATE 2010-10-31

2010-10-12 Thread Rado Oršula
I do not know good English. In the attached source code. Here is erroneous statement: date: 2010-10-31 00:00:00 date+*0*h: 2010-10-31 *00*:00:00 date+*1*h: 2010-10-31 *01*:00:00 *date+2h: 2010-10-31 02:00:00 <<< date+3h: 2010-10-31 02:00:00 <<<* date+*4*h: 2010-10-31 *03*:00:00 date+5h: 2010-10-