php-general Digest 12 Sep 2009 08:23:23 -0000 Issue 6335

2009-09-12 Thread php-general-digest-help
php-general Digest 12 Sep 2009 08:23:23 - Issue 6335 Topics (messages 297925 through 297945): Re: APC - Upload progress problem. apc 297925 by: tedd 297926 by: Nathan Nobbe User Account Management 297927 by: Waynn Lue 297931 by: Paul M Foster 297935

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

2009-09-12 Thread kranthi
I dont think I understood you completely.. Javascript debugger: Something you use to debug javascript. but Formaldehyde dosent make any seance if xhr object is not used. PHP Debugger: We cant use Formaldehyde to debug errors in every single PHP script. I am talking about pages called directly via

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

2009-09-12 Thread kranthi
@Andera May be you should consider using application/json as the content type instead of text/plain. The Response text given by  Formaldehyde cannot be understood manually (for example if I use jQuery.load()). Had the content type been application/json firebug parses it by default my

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

2009-09-12 Thread Andrea Giammarchi
my english is not perfect, right ... but let me unsderline something. The subject: [Formaldehyde] The Most Basic Ajax -- - *PHP* *Error* *Debugger* It's a PHP Error Debugger specially suited for Ajax interactions. Secondly, The set_error_handler is not enough, write it even

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

2009-09-12 Thread Andrea Giammarchi
Ajax interactions usually produces different results, 'cause an Ajax interaction that returns an entire document does not make much sense. Formaldehyde is for Ajax interaction, which in my case I always catch via headers checks or special parameters. Formaldehyde is client agnostic, FireBUG or

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

2009-09-12 Thread Andrea Giammarchi
as margin note, the project page changed name, hopefully less ambiguous: Formandehyde - Zero Config Ajax Based PHP Error Debugger Regards _ Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

Re: [PHP] get an object property

2009-09-12 Thread Tom Worster
On 9/12/09 12:31 AM, Paul M Foster pa...@quillandmouse.com wrote: On Fri, Sep 11, 2009 at 07:31:01PM -0400, 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 properties, is there a

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

2009-09-12 Thread tedd
At 12:20 AM +0200 9/12/09, Andrea Giammarchi wrote: Date: Fri, 11 Sep 2009 12:37:30 -0400 To: an_...@hotmail.com; php-general@lists.php.net From: tedd.sperl...@gmail.com Subject: RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger The only things that may go wrong are

Re: [PHP] Creating alphanumeric id for a table

2009-09-12 Thread tedd
At 9:19 PM -0700 9/11/09, aveev wrote: The reason why I used incremental value from the db is that I need a sequence number generator that can be used as an argument to my function. If I can generate sequence number myself, I don't need this incremental value from db. What I want is that the

Re: [PHP] get an object property

2009-09-12 Thread Tom Worster
On 9/12/09 1:32 AM, Lars Torben Wilson tor...@php.net 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 properties, is there a tidy way to get it without setting another

Re: [PHP] Reading files in PHP 5.3.0

2009-09-12 Thread tedd
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 provided for free! The following is an experience I had with Hurricane Electric and support for my opinion

Re: [PHP] get an object property

2009-09-12 Thread Tom Worster
On 9/12/09 9:50 AM, Tom Worster f...@thefsb.org wrote: On 9/12/09 1:32 AM, Lars Torben Wilson tor...@php.net 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 properties, is

Re: [PHP] get an object property

2009-09-12 Thread Ralph Deffke
echo a()['q']; // isn't? because this is simply not valid syntax for the INTERPRETER PHP while this echo o()-q; can be interpreted because of the design of the interpreter. I can live with that. ralph_def...@yahoo.de Tom Worster f...@thefsb.org wrote in message

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

2009-09-12 Thread Jim Lucas
Andrea Giammarchi wrote: something I cannot find in any other library or framework. This should tell you something then... -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William

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

2009-09-12 Thread J DeBord
On Sat, Sep 12, 2009 at 8:47 PM, Jim Lucas li...@cmsws.com wrote: Andrea Giammarchi wrote: something I cannot find in any other library or framework. This should tell you something then... If something like Formandehyde isn't useful, then why is Charles so popular (note: popular from my

RE: [PHP] get an object property

2009-09-12 Thread Jan Reiter
I have to agree, your example works fine for me. For testing I used the latest stable Release of server2go with PHP 5.2.10. Or do you want to use something like that: class o { protected $arr = array('a'=0); function o($n){$this-arr['a'] = $n;} function getA(){return

[PHP] Mail Command Body Issue - Trying to use 'do while' loop

2009-09-12 Thread c...@hosting4days.com
I'm having a problem with mail body issue trying to use 'do while' loop in the $mail_body var. this line: do { echo $row_get1['name'] } while ($row_get1 = mysql_fetch_assoc ($get1)) will show ok when it's on the page elsewhere (not in the $mail_body var) but typed like: --- ok on web

Re: [PHP] Mail Command Body Issue - Trying to use 'do while' loop

2009-09-12 Thread c...@hosting4days.com
On Sep 12, 2009, at 3:47 PM, c...@hosting4days.com wrote: I'm having a problem with mail body issue trying to use 'do while' loop in the $mail_body var. this line: do { echo $row_get1['name'] } while ($row_get1 = mysql_fetch_assoc ($get1)) will show ok when it's on the page elsewhere

[PHP] PHP 5.3 PECL WINDOWS: Compile | VirtualPC | VirtualBox

2009-09-12 Thread steve
Since it has been about a year with no PECL extensions for windows, and I don't think theire ever will be, and I want to move to 5.3, there are tough choices. A: I can try downloading from source and compiling the pecl binaries on windows. No experience compiling on windows, but I guess I can go

[PHP] Odd Endless Loop with Explorer 8 (pc)

2009-09-12 Thread c...@hosting4days.com
I have many of these tags on a site... They work well with all browsers i've tested - except explorer 8 (pc) ?php echo 'meta http-equiv=refresh content=0;page2.php'; ? It just goes into an endless loop but stays on the original page - never going to page2.php Q: Any idea how to fix this?

Re: [PHP] Odd Endless Loop with Explorer 8 (pc)

2009-09-12 Thread kranthi
?php echo 'meta http-equiv=refresh content=0;page2.php'; ? may b u should have ?php echo 'meta http-equiv=refresh content=0;url=page2.php'; ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Odd Endless Loop with Explorer 8 (pc)

2009-09-12 Thread HallMarc Websites
are missing url=page2.php ?php echo 'meta HTTP-EQUIV=refresh CONTENT=0; url=page2.php'; ? __ Information from ESET Smart Security, version of virus signature database 4420 (20090912) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General

Re: [PHP] Odd Endless Loop with Explorer 8 (pc)

2009-09-12 Thread c...@hosting4days.com
On Sep 12, 2009, at 7:57 PM, kranthi wrote: ?php echo 'meta http-equiv=refresh content=0;page2.php'; ? may b u should have ?php echo 'meta http-equiv=refresh content=0;url=page2.php'; ? Thanks kranthi HallMarc Websites url= ... - that did the trick! Thanks, c...@hosting4days.com

Re: [PHP] Reading files in PHP 5.3.0

2009-09-12 Thread Paul M Foster
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 provided for free! The following is an experience