Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread J DeBord
On Mon, Sep 14, 2009 at 2:05 AM, tedd wrote: > At 10:49 PM +0200 9/13/09, Andrea Giammarchi wrote: > >> I was expecting somebody that develop massive Ajax application, not a link >> with 3 pages and zero point about the reply. >> > > You asked if anyone did any ajax? So, I replied and provided yo

Re: [PHP] get an object property

2009-09-13 Thread Lars Torben Wilson
Tom Worster wrote: On 9/13/09 3:21 AM, "Lars Torben Wilson" wrote: On 9/12/09 9:50 AM, "Tom Worster" wrote: but let me give you a more different example: $a and $b are normally both objects, each with various members including a prop q, but sometimes $a is false. i want the q of $a if $a

Re: [PHP] Question: Sorting through table headers?

2009-09-13 Thread Tommy Pham
--- On Sun, 9/13/09, Parham Doustdar wrote: > From: Parham Doustdar > Subject: [PHP] Question: Sorting through table headers? > To: php-general@lists.php.net > Date: Sunday, September 13, 2009, 6:55 AM > Hello there, > I've been asked to create something like the tables you > usually see, where

[PHP] Question: Sorting through table headers?

2009-09-13 Thread Parham Doustdar
Hello there, I've been asked to create something like the tables you usually see, where the headers are actually links and when you click the links, the table gets sorted based on the header. Are there any classes that you know of that would do the job? My current idea is to return an array of t

Re: [PHP] server name that the user agent used

2009-09-13 Thread Tommy Pham
--- On Sun, 9/13/09, Tom Worster wrote: > From: Tom Worster > Subject: [PHP] server name that the user agent used > To: "PHP General List" > Date: Sunday, September 13, 2009, 8:21 PM > when using apache with one vhost that > responds to a few different hostnames, > e.g. domain.org, y.domain.org

Re: [PHP] get an object property

2009-09-13 Thread Tom Worster
On 9/13/09 3:21 AM, "Lars Torben Wilson" wrote: >> On 9/12/09 9:50 AM, "Tom Worster" wrote: >> >> but let me give you a more different example: >> >> $a and $b are normally both objects, each with various members including a >> prop q, but sometimes $a is false. i want the q of $a if $a isn't f

[PHP] Apache's mod_dbd connection pool

2009-09-13 Thread Tommy Pham
Hi, Has anyone used Apache Httpd's mod_dbd connection pool in any of your PHP app/project? Do you notice a performance increase from the overhead of establishing/closing a connection? TIA, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

Re: [PHP] APC - Upload progress problem. apc

2009-09-13 Thread Eddie Drapkin
On Sun, Sep 13, 2009 at 9:38 PM, Phred White wrote: > > On Sep 13, 2009, at 7:34 PM, Eddie Drapkin wrote: > >> On Sun, Sep 13, 2009 at 8:29 PM, Phred White >> wrote: >>> >>> On Sep 11, 2009, at 1:17 PM, Eddie Drapkin wrote: >>> On Fri, Sep 11, 2009 at 1:02 PM, Phred White wrote: >

Re: [PHP] APC - Upload progress problem. apc

2009-09-13 Thread Phred White
On Sep 13, 2009, at 7:34 PM, Eddie Drapkin wrote: On Sun, Sep 13, 2009 at 8:29 PM, Phred White wrote: On Sep 11, 2009, at 1:17 PM, Eddie Drapkin wrote: On Fri, Sep 11, 2009 at 1:02 PM, Phred White > wrote: Hey folks.. Anybody ever use APC to show upload progress? It sounds really cool

[PHP] server name that the user agent used

2009-09-13 Thread Tom Worster
when using apache with one vhost that responds to a few different hostnames, e.g. domain.org, y.domain.org, x.domain.org, let's say the vhost's server name is y.domain.org and the other two are aliases, is there a way in php to know which of these was used by the user agent to address the server?

Re: [PHP] APC - Upload progress problem. apc

2009-09-13 Thread Phred White
On Sep 13, 2009, at 7:34 PM, Eddie Drapkin wrote: On Sun, Sep 13, 2009 at 8:29 PM, Phred White wrote: On Sep 11, 2009, at 1:17 PM, Eddie Drapkin wrote: On Fri, Sep 11, 2009 at 1:02 PM, Phred White > wrote: Hey folks.. Anybody ever use APC to show upload progress? It sounds really cool

Re: [PHP] APC - Upload progress problem. apc

2009-09-13 Thread Eddie Drapkin
On Sun, Sep 13, 2009 at 8:29 PM, Phred White wrote: > > On Sep 11, 2009, at 1:17 PM, Eddie Drapkin wrote: > >> On Fri, Sep 11, 2009 at 1:02 PM, Phred White >> wrote: >>> >>> Hey folks.. >>> >>> Anybody ever use APC to show upload progress? >>> >>> It sounds really cool, but apc_fetch always retur

Re: [PHP] APC - Upload progress problem. apc

2009-09-13 Thread Phred White
On Sep 11, 2009, at 4:01 PM, tedd wrote: At 2:17 PM -0400 9/11/09, Eddie Drapkin wrote: On Fri, Sep 11, 2009 at 1:02 PM, Phred White wrote: Hey folks.. > Anybody ever use APC to show upload progress? Nope, I choose not to complicate my life. :-) Instead, I give the user one of these:

Re: [PHP] APC - Upload progress problem. apc

2009-09-13 Thread Phred White
On Sep 11, 2009, at 1:17 PM, Eddie Drapkin wrote: On Fri, Sep 11, 2009 at 1:02 PM, Phred White wrote: Hey folks.. Anybody ever use APC to show upload progress? It sounds really cool, but apc_fetch always returns false a value for uploads. I can apc_add something and fetch it, but not for

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread tedd
At 10:49 PM +0200 9/13/09, Andrea Giammarchi wrote: I was expecting somebody that develop massive Ajax application, not a link with 3 pages and zero point about the reply. You asked if anyone did any ajax? So, I replied and provided you with an example. Who cares if my example only has three

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Andrea Giammarchi
> No, display_errors should be turned off (with log_errors turned on) > and error_reporting should be set to whatever standard you're coding > to (preferably, E_ALL | E_STRICT, but a lot of people like to ignore > E_NOTICE's). yep, it should be a production environment > So it's not zero confi

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Eddie Drapkin
> Right, errors should never be exposed, and error_reporting should be 0 in > production but log function and the fact you can move Formaldehyde with the > application means it does not require extra effort. No, display_errors should be turned off (with log_errors turned on) and error_reporting

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Andrea Giammarchi
Sorry, I meant environment > ... plus you'll have 1:1 production/development application _ More than messages–check out the rest of the Windows Live™. http://www.microsoft.com/windows/windowslive/

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Andrea Giammarchi
Right, errors should never be exposed, and error_reporting should be 0 in production but log function and the fact you can move Formaldehyde with the application means it does not require extra effort. In few words, if in production Formaldehyde constant is false, and it must be false, nothing

[PHP] looking through old posts/emails

2009-09-13 Thread Fred Silsbee
enclosed is a php for oracle that worked on Windows AND Fedora 9 Oracle User Name: Oracle Password: LOGIN HTML; $_SESSION['userx'] = $_POST[$user] ; $_SESSION['passwordx'] = $_POST[$password] ; } //..

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Eddie Drapkin
On Sun, Sep 13, 2009 at 5:01 PM, Andrea Giammarchi wrote: > > Hosting support, since it is 100% php with zero dependencies and zero config > effort plus the ability do debug directly via console, unit testing via > Selenium and/or others, and it does not require manual error catch after the > g

Re: [PHP] Fixing the path

2009-09-13 Thread Rico Secada
On Sat, 12 Sep 2009 00:43:50 -0400 Paul M Foster wrote: > (Or maybe I've completely misread what you're trying to do.) Yes you did, but never mind :) > Paul > > -- > Paul M. Foster > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Andrea Giammarchi
Hosting support, since it is 100% php with zero dependencies and zero config effort plus the ability do debug directly via console, unit testing via Selenium and/or others, and it does not require manual error catch after the generic problemi, since it will simply be showed on the client side.

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Andrea Giammarchi
> Hello Andrea, > > I am developing with PHP since now 12 years (did a couple stuff in > Zend Core), and was one of a few guy using and sharing about php when > it was only an THE Apache mode in the world C++ CGI, I am not Zend > Certified, I won't :), anyway those things make me smarter or giv

[PHP] PDO with text in BLOB's

2009-09-13 Thread Lester Caine
I'm having fun with a project that has moved exclusively to PDO, and I'm now trying to restore firebird as an alternative database. The problem I am having is with text fields in firebird which are BLOB SUB_TYPE TEXT. These are essentially TEXT in other databases, and I'm used to ADOdb simply l

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread mm w
Hello Andrea, I am developing with PHP since now 12 years (did a couple stuff in Zend Core), and was one of a few guy using and sharing about php when it was only an THE Apache mode in the world C++ CGI, I am not Zend Certified, I won't :), anyway those things make me smarter or give me the "trut

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Eddie Drapkin
What does this offer that a real debugger, like xdebug, doesn't? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Paul M Foster
On Sun, Sep 13, 2009 at 01:33:49PM +0200, Andrea Giammarchi wrote: > > This ML is a bit different from what I was expecting, > > P.S. I am certified Zend Engineer with 10 years of experience with PHP and > dunno how many innovation awards in phpclasses.org ... so it was not just to > wa

Re: [PHP] Reading files in PHP 5.3.0

2009-09-13 Thread tedd
At 12:32 AM -0400 9/13/09, Paul M Foster wrote: On Sat, Sep 12, 2009 at 10:22:10AM -0400, tedd wrote: At 6:02 PM -0400 9/11/09, Paul M Foster wrote: I typically use us2.php.net, which is hosted by Hurricane Electric. Paul Paul: I wouldn't use Hurricane Electric if their accounts were

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Andrea Giammarchi
I can only say if these are our prespective about innovation and technologies, we need to thanks silly people like me moving further than what is already there and common convention. This ML is a bit different from what I was expecting, fortunately who understood the project and gave it a try

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Andrea Giammarchi
That I created some fresh air or something new? Sure, thanks > Date: Sat, 12 Sep 2009 11:47:27 -0700 > From: li...@cmsws.com > To: an_...@hotmail.com > CC: pa...@quillandmouse.com; php-general@lists.php.net > Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger > > Andr

Re: [PHP] get an object property

2009-09-13 Thread Lars Torben Wilson
Tom Worster wrote: On 9/12/09 9:50 AM, "Tom Worster" wrote: On 9/12/09 1:32 AM, "Lars Torben Wilson" wrote: Tom Worster wrote: if i have an expression that evaluates to an object, the return value from a function, say, and i only want the value of one of the objects properti