[fw-general] zend_date with milliseconds question

2008-11-24 Thread Tim Rupp
Hi list, I noticed in the documentation for Zend_Date ( http://framework.zend.com/manual/en/zend.date.constants.html ) that 3 constants are available for outputting a millisecond time; S, A, and Zend_Date::MILLISECOND. When I use the constants though, I get different values. S returns 0 and A retu

Re: [fw-general] zend_date with milliseconds question

2008-11-24 Thread Tim Rupp
et them with setMillisecond. > > S is the millisecond part of a date (as set with setMillisecond) > But A are the elapsed seconds of the actual day within the set timestamp. > > Greetings > Thomas Weidner, I18N Team Leader, Zend Framework > http://www.thomasweidner.com > > -

[fw-general] zend_date settime question

2009-01-06 Thread Tim Rupp
Hi list, I may be going about this the wrong way, so if that's the extent of the problem, then I'd appreciate some pointers. Btw, I'm using ZF 1.7.2. I create a zend_date object, use setdate and then try to use settime, but get an exception message of "parameter $date must be set, null is not all

Re: [fw-general] zend_date settime question

2009-01-06 Thread Tim Rupp
l'. > > Maybe you call this method twice in your code ? > > Greetings > Thomas Weidner, I18N Team Leader, Zend Framework > http://www.thomasweidner.com > > - Original Message - From: "Tim Rupp" > To: > Sent: Tuesday, January 06, 2009 8:27 PM

Re: [fw-general] zend_date settime question

2009-01-06 Thread Tim Rupp
add seconds then it works: > > $expireTime = "01:30:00 AM"; > $date->setTime($expireTime, 'hh:mm:ss'); > > > Tim Rupp wrote: >> >> Hi list, >> >> I may be going about this the wrong way, so if that's the extent of >> the p

[fw-general] zend acl use question

2009-03-10 Thread Tim Rupp
Hi list, I'm trying to use Zend Acl in an odd way, and I really don't know if this can even be done, but figured I'd ask. I have a resource like a subnet, 172.16.1.0/24 and I want to allow access to IPs in that subnet without having to specify each individual IP, so 172.16.1.12 would be allowed i

[fw-general] zf pdo oci questions

2009-06-10 Thread Tim Rupp
Hi list, I'm using the Zend_Db classes to connect to an Oracle server and had a couple questions. First, I have a tnsnames.ora file, which I put in /etc, but I can't get ZF to make use of it. I'd like to skip specifying the hostname of the server and just using the SID. Can this be done? I've gon

Re: [fw-general] zf pdo oci questions

2009-06-10 Thread Tim Rupp
a try though and see if that gives better results. Thanks for clarifying the table question I had; that was exactly the problem. -Tim till wrote: > On Wed, Jun 10, 2009 at 4:29 PM, Tim Rupp wrote: >> Hi list, >> >> I'm using the Zend_Db classes to connect to an Oracle ser

Re: [fw-general] Zend_Auth with LDAP adapter works in 1.8.4 but not in 1.9

2009-08-26 Thread Tim Rupp
I'm seeing the exact same behavior, but I'm seeing it happen between the 1.9.1 and 1.9.2 release. The error I'm receiving is #0 /var/www/html/lib/Zend/Ldap.php(627): Zend_Ldap->search('(objectclass=pe...', 'OU=Service...', 1, Array) #1 /var/www/html/lib/Zend/Ldap.php(499): Zend_Ldap->_getAccount(

Re: [fw-general] Zend_Auth with LDAP adapter works in 1.8.4 but not in 1.9

2009-08-26 Thread Tim Rupp
y if your code works with the most recent version from > trunk? > > Sorry for any problems this causes... > > Best regards > > Stefan > > -----Ursprüngliche Nachricht- > Von: Tim Rupp [mailto:caphrim...@gmail.com] > Gesendet: Mittwoch, 26. August 2009 15:52 &

Re: [fw-general] Zend_Auth with LDAP adapter works in 1.8.4 but not in 1.9

2009-08-26 Thread Tim Rupp
. > Are you able to try if your code works with the most recent version from > trunk? > > Sorry for any problems this causes... > > Best regards > > Stefan > > -Ursprüngliche Nachricht- > Von: Tim Rupp [mailto:caphrim...@gmail.com] > Gesendet: Mittwoch, 26. Au

Re: [fw-general] Zend_Auth with LDAP adapter works in 1.8.4 but not in 1.9

2009-08-26 Thread Tim Rupp
, Tim On Wed, Aug 26, 2009 at 10:27 AM, Tim Rupp wrote: > Still receiving the error, but on different lines. > > #0 /var/www/html/lib/Zend/Ldap.php(631): > Zend_Ldap->search('(objectclass=pe...', 'OU=Service...', 1, Array) > > #1 /var/www/html/lib/Zend/L

Re: [fw-general] Zend_Auth with LDAP adapter works in 1.8.4 but not in 1.9

2009-08-26 Thread Tim Rupp
No go with the adapter from 17833. -Tim On Wed, Aug 26, 2009 at 11:01 AM, Tim Rupp wrote: > If I remove the > > dn = $ldap->getCanonicalAccountName($username, Zend_Ldap::ACCTNAME_FORM_DN); > > line from Auth/Adapter/Ldap.php, it works like it did before in 1.9.1. > I&#x

Re: [fw-general] Zend_Auth with LDAP adapter works in 1.8.4 but not in 1.9

2009-08-26 Thread Tim Rupp
r Active Directory servers. > > Please give it a try! > > Best regards > > Stefan > > -Ursprüngliche Nachricht- > Von: Tim Rupp [mailto:caphrim...@gmail.com] > Gesendet: Mittwoch, 26. August 2009 18:13 > An: Stefan Gehrig > Cc: Christian Aarø Rasmussen; fw-gen

[fw-general] zendx stop inside of child process

2009-10-07 Thread Tim Rupp
Hi all, I'm extending the Console_Process_Unix class per the example in the documentation and wanted to call the stop() method inside of the _run() method. I was hoping this would trickle up to the code where I actually instantiate the class and call $process->start(), but it doesn't look like it d

[fw-general] mail attachments

2009-10-29 Thread Tim Rupp
Hi list, I'm using Zend_Mail and trying to send an attachment. When I attach something like so $mail = new Zend_Mail(); $options = $config->mail->smtp->params->toArray(); $transport = new Zend_Mail_Transport_Smtp($config->mail->smtp->server, $options); $body = 'Attached are the results'; $mail