php-general Digest 12 Oct 2010 18:50:09 - Issue 6984
Topics (messages 308647 through 308659):
class object vs array for db table model
308647 by: Tommy Pham
308652 by: chris h
308653 by: Tommy Pham
308654 by: chris h
Problem with DATE 2010-10-31
-Original Message-
From: Kranthi Krishna [mailto:kranthi...@gmail.com]
Sent: Monday, October 11, 2010 5:40 PM
To: Gary
Cc: php-general@lists.php.net
Subject: Re: [PHP] Unknown Table i field list
echo $query;
before
$result = mysqli_query($dbc, $query);
might be of help to
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 object
vs array for PHP 5.3? Below is the sample:
class MyTable
{
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-31
On 11 October 2010 21:37, Alexis phplis...@antonakis.co.uk 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
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:
On 12 October 2010 10:52, Rado Oršula rado.ors...@gmail.com 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
On Tue, Oct 12, 2010 at 2:38 AM, Tommy Pham tommy...@gmail.com 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
On Tue, Oct 12, 2010 at 4:45 AM, chris h chris...@gmail.com wrote:
snip
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
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 tommy...@gmail.com wrote:
On Tue, Oct 12, 2010 at 4:45 AM, chris h
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, Alexisphplis...@antonakis.co.uk wrote:
Thanks for perservingnope just the two entries per script..one start and
one
apache log files will be of help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 12 October 2010 17:16, Alexis phplis...@antonakis.co.uk 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, Alexisphplis...@antonakis.co.uk wrote:
Thanks for
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 phplis...@antonakis.co.uk
Date: Tue, Oct 12, 2010 17:16
Subject: [PHP] Scripts running twice
To:
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?
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
rend
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
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
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 b tags and links and
stuff and thought, wow, that's stupid, that's just a XSS or injection
waiting to
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,
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
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 includingb tags and links and
stuff and thought, wow, that's
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
23 matches
Mail list logo