[fw-general] Zend_Http_Client automatically detecting HTTP Authentication

2008-06-18 Thread Mathew Byrne
Good to see Zend_Http_Client uses the Zend_Uri component for handling urls and can also accept Zend_Uri objects in it's constructor/setUri method. I think however that it should probably automatically detect the presence of a username/password combination in the Zend_Uri object and automati

Re: [fw-general] Zend_Session Unit Testing

2008-06-18 Thread Jason Webster
Just a shot in the dark, but you may want to check (or preferably remove) all PHP closing tags at the end of your files. This is a highly recommended practice, and 90% of the time fixes these types of errors. Keith Pope wrote: Hi, How do you setup zend_session to run in PHPUnit Suite, I kee

Re: [fw-general] Zend_Form: adding error messages to elements

2008-06-18 Thread Simon Mundy
Hi Jens As an alternative, you could write your own validator and attach it to the username element - the benefit being that you can automatically return those error messages and also transparently login the user at the same time. Cheers Hello List (and Matthew) Just started working w

[fw-general] Zend_Form: adding error messages to elements

2008-06-18 Thread pakmannen
Hello List (and Matthew) Just started working with Zend_Form and I'm liking it so far. One thing I'm wondering about though, which came up when I was working with a login form using Zend_Auth. It would be great if there was a method for adding error messages to an element with a public method. Th

[fw-general] Zend_Http_Client encodes tilde unreserved character

2008-06-18 Thread Pádraic Brady
Just a minor tickle I noted when URI matching. Zend_Http_Client continues the long PHP tradition of url encoded tilde characters '~'. Generally speaking that's not a good idea since applications comparing URIs often forget that encoded and unencoded tildes are equivelant (i.e. they must always

[fw-general] Authorize.Net

2008-06-18 Thread gammamatrix
I will be needing to create an Authorize.Net Payment Service. There are currently a few items mentioned in the forums and proposals: http://framework.zend.com/wiki/display/ZFPROP/Zend_Service_Payment http://framework.zend.com/wiki/display/ZFPROP/Zend_Service_PayPal+-+Shahar+Evron Are there any

Re: [fw-general] Zend_Db -> last query with values

2008-06-18 Thread Isaak Malik
Thank you for your comments Bill, I've made a few modifications, however, to be honest currently there was no real need for it as the getQueryParams() does not report anything for any of my queries. On Wed, Jun 18, 2008 at 6:03 PM, Bill Karwin <[EMAIL PROTECTED]> wrote: > > > > Isaak Malik-3 wrot

Re: [fw-general] Zend_Db -> last query with values

2008-06-18 Thread Bill Karwin
Isaak Malik-3 wrote: > > Here's my debug template which uses the ZFW DB profiler: > > http://paste2.org/p/40615 > > Use it and/or copy anything you like. > Good, you have kept the query separate from the query parameters. Minor comment: implode(',', $QDetails->getQueryParams()) muddles th

Re: [fw-general] Zend_Db -> last query with values

2008-06-18 Thread Bill Karwin
dbowen wrote: > > $q = str_replace('?', '%s', $query->getQuery()); > > This gives me the actual queries with the replaced values highlighted. > Your str_replace() solution above doesn't support named parameters, and also fails if you have ques

[fw-general] Last Query without Profiler's help?

2008-06-18 Thread Philip G
Is there a way to get the last query processed without having to have the profiler enabled? There are many situations where some bad data may blow up an SQL query on a production site and we need to know what that query was. And enabling the profiler would be too much of an overhead. I just want th

Re: [fw-general] Zend_Db -> last query with values

2008-06-18 Thread Isaak Malik
Here's my debug template which uses the ZFW DB profiler: http://paste2.org/p/40615 Use it and/or copy anything you like. On Wed, Jun 18, 2008 at 4:28 PM, dbowen <[EMAIL PROTECTED]> wrote: > > > Mark Steudel-3 wrote: > > > > Hi All, > > > > > > > > I was wondering if it was possible to get back

Re: [fw-general] Zend_Db -> last query with values

2008-06-18 Thread dbowen
Mark Steudel-3 wrote: > > Hi All, > > > > I was wondering if it was possible to get back the last run query > including > the values that get swapped in place of the ? > > > > E.g. if I did: > > $id = 4; > > > > $sql = "SELECT id FROM table WHERE id = ?"; > >

[fw-general] Zend Mail (newlines becomes =0A)

2008-06-18 Thread debussy007
Hi, When a member register in my site, I send him a mail with activation link. This is the string I sent with via Zend_mail: $mailContent = "Thank you for your interest in XYZ !\n\n" . "In order to activate your account, please click the link below.\n\n" . "(If the link . I t

Re: [fw-general] Zend_Session Unit Testing

2008-06-18 Thread Matthew Weier O'Phinney
-- Keith Pope <[EMAIL PROTECTED]> wrote (on Wednesday, 18 June 2008, 09:46 AM +0100): > How do you setup zend_session to run in PHPUnit Suite, I keep getting > output before session start exceptions? > > Sorry if I have missed something obvious the docs are a bit unclear. Right now, you don't. Th

[fw-general] Creats Problem in Display

2008-06-18 Thread Rohit83
Hi all,I have created one Radio element through Zend_Form But at the time of displaying options one is added. How i can solve this? Regards Rohit -- View this message in context: http://www.nabble.com/%3Cbr--%3E-Creats-Problem-in-Display-tp17981070p17981070.html Sent from the Zend Framework ma

[fw-general] Zend_Session Unit Testing

2008-06-18 Thread Keith Pope
Hi, How do you setup zend_session to run in PHPUnit Suite, I keep getting output before session start exceptions? Sorry if I have missed something obvious the docs are a bit unclear. Thx Keith Pope Web Developer -- allpay.net Limited, Fortis et Fides, Whitestone Business Park, Whitestone,