php-general Digest 17 Jun 2010 09:51:26 - Issue 6803
Topics (messages 306214 through 306218):
Re: Another parse problem
306214 by: Daniel P. Brown
306216 by: Robert Cummings
306217 by: Daniel Brown
Re: User's IP Validation
306215 by: Ashley Sheridan
Unit
php-general Digest 17 Jun 2010 23:52:35 - Issue 6804
Topics (messages 306219 through 306242):
Re: Unit testing in PHP
306219 by: Ken Guest
306232 by: Pavan Keshavamurthy
306233 by: Bob McConnell
306240 by: Adam Richardson
Date Conversion Problem
Hi,
What do you use for unit testing in PHP? phpUnit, SimpleTest or any other?
Thanks,
Vikash Kumar
--
http://vika.sh
On Thu, Jun 17, 2010 at 10:51 AM, vikash.i...@gmail.com wrote:
Hi,
What do you use for unit testing in PHP? phpUnit, SimpleTest or any other?
Ages ago, when it was new and shiny I did use SimpleTest. Now I mostly use
phpunit - though where necessary (for example if I'm patching a PEAR
PHP newbie here...
I have some PHP code writing the date/time into a MS SQL 2000 database
like this:
date('l jS \of F Y h:i:s A')
So the text it writes into the DB is like: Thursday 15th of April 2010
10:13:42 AM
The database field is defined as varchar, not datetime...so it's a
On Thu, 2010-06-17 at 08:35 -0400, David Stoltz wrote:
PHP newbie here...
I have some PHP code writing the date/time into a MS SQL 2000 database
like this:
date('l jS \of F Y h:i:s A')
So the text it writes into the DB is like: Thursday 15th of April 2010
10:13:42 AM
I would agree with you, but I have no control on inherited web apps.
I now need to concentrate on trying to fix this.
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Sent: Thursday, June 17, 2010 8:38 AM
To: David Stoltz
Cc: php-general@lists.php.net
Subject: Re: [PHP] Date
On 17 June 2010 13:35, David Stoltz dsto...@shh.org wrote:
PHP newbie here...
I have some PHP code writing the date/time into a MS SQL 2000 database
like this:
date('l jS \of F Y h:i:s A')
So the text it writes into the DB is like: Thursday 15th of April 2010
10:13:42 AM
The
On 17 June 2010 13:40, Richard Quadling rquadl...@gmail.com wrote:
On 17 June 2010 13:35, David Stoltz dsto...@shh.org wrote:
PHP newbie here...
I have some PHP code writing the date/time into a MS SQL 2000 database
like this:
date('l jS \of F Y h:i:s A')
So the text it writes into
On 17 June 2010 13:40, David Stoltz dsto...@shh.org wrote:
I would agree with you, but I have no control on inherited web apps.
I now need to concentrate on trying to fix this.
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Sent: Thursday, June 17, 2010 8:38 AM
To: David
Here's my approach to this problem, and how I am planning on fixing this - tell
me what you think if this will work...
I need the format in the database to be 1/14/2010 3:25:58 PM
There's not a ton of records that need to be updated, so I was going to:
1) Change the PHP function that is
I am trying to use register_shutdown_function. Previous to the script
shutting down I use curl to grab a website.
Basically I want to know if the user has hit the stop button or left the
page prematurely.
The only problem is that curl runs and finishes its call before the
shutdown function is
On Thu, 2010-06-17 at 09:05 -0400, Michael Alaimo wrote:
I am trying to use register_shutdown_function. Previous to the script
shutting down I use curl to grab a website.
Basically I want to know if the user has hit the stop button or left the
page prematurely.
The only problem is that
Thanks all - I've fixed the problem.
I fixed it by updating the php statement to write the date in a true SQL
date-ready format. Then I updated the invalid rows.
Thanks all!
-Original Message-
From: Richard Quadling [mailto:rquadl...@gmail.com]
Sent: Thursday, June 17, 2010 8:47 AM
On Thu, 2010-06-17 at 09:37 -0400, Michael Alaimo wrote:
On Thu, 2010-06-17 at 09:05 -0400, Michael Alaimo wrote:
I am trying to use register_shutdown_function. Previous to the script
shutting down I use curl to grab a website.
Basically I want to know if the user has hit the stop
On Thursday 17 Jun 2010 3:21:18 pm vikash.i...@gmail.com wrote:
Hi,
What do you use for unit testing in PHP? phpUnit, SimpleTest or any other?
I tend to prefer SimpleTest. Mock Objects and the Web UI are IMO, way better
than what they are with PHPUnit (the last I saw of it). Besides,
On Thu, Jun 17, 2010 at 9:05 AM, Michael Alaimo mala...@sesda2.com wrote:
I am trying to use register_shutdown_function. Previous to the script
shutting down I use curl to grab a website.
Basically I want to know if the user has hit the stop button or left the
page prematurely.
The only
From: vikash
What do you use for unit testing in PHP? phpUnit, SimpleTest or any
other?
I use Mike Lively's PHP TAP Test Harness with test-more.php from the
Apache Test Harness. This requires a CLI interpreter be installed. I
was already familiar with the equivalent packages in Perl, and this
2010/6/16 Ashley Sheridan a...@ashleysheridan.co.uk
On Wed, 2010-06-16 at 20:36 +0200, David Cesal wrote:
Please, don't forget IP address can be same for many users. I see only way
with cookies. When user deletes cookies, form pops up again. I don't know any
better way.
David
Sent
On Thu, 2010-06-17 at 12:07 -0300, Juan Rodriguez Monti wrote:
2010/6/16 Ashley Sheridan a...@ashleysheridan.co.uk
On Wed, 2010-06-16 at 20:36 +0200, David Cesal wrote:
Please, don't forget IP address can be same for many users. I see
only way
Hi All,
My client has a database (Sybase) in which a table column URL contains a
string like-
http://www.pjonline.com/cpd/nutrition_ _drugnutrient_interactions
The box like un-recognized character is emdash.
I need to display the data on the web lets say in a HTML page where box
should be
As it turns out curl_multi does not block. I was able to use that plus
connection tracking to solve my problem.
Thanks Ash and Andrew.
Mike
On Thu, Jun 17, 2010 at 9:05 AM, Michael Alaimo mala...@sesda2.com
wrote:
I am trying to use register_shutdown_function. Â Previous to the script
David,
I think it would help people like me (newbie) to know the exact statements.
Though I could envisage what you would have done with my current learning,
it would be good if I double check the statements that went there to fix
it.
Regards,
Shreyas
On Thu, Jun 17, 2010 at 7:07 PM, David
From: vikash
What do you use for unit testing in PHP? phpUnit, SimpleTest or any
other?
SimpleTest because of the flexibility.
Adam
--
Nephtali: PHP web framework that functions beautifully
http://nephtaliproject.com
Greetings,
I look for a developer team to participate theirs projects, and accept a
remote developer. To share knowledge, money, fun, time, beer, etc..
I' ve large experience(8 yr) with PHP OO, PHP structured, Zend Framework,
Drupal, Jquery, css, MySql, SQLServer, PostgreSQL, Oracle, PL/ PGSQL,
On Wed, 2010-06-16 at 15:56 +0200, Carlos Medina wrote:
Am 16.06.2010 15:50, schrieb Jan Reiter:
Richard, Carlos, Simcha and Nigel,
Thank you all for your answers on this matter. When I read Simcha's mail, it
hit me like a hammer!
That was what I was looking for! BUT: I have to see,
26 matches
Mail list logo