Re: [fw-general] and tags in decorators

2008-06-12 Thread Amr Mostafa
I suggest you read this article: http://devzone.zend.com/article/3450-Decorators-with-Zend_Form On Thu, Jun 12, 2008 at 8:01 AM, Rohit83 <[EMAIL PROTECTED]> wrote: > > Hi , > For some specific reason i want default decorators should be disabled and i > should able to render form elements in htm

Re: [fw-general] Zend_Crypt_Rsa Proposed: Community comment welcome

2008-06-12 Thread Michael B Allen
On 6/12/08, Michael B Allen <[EMAIL PROTECTED]> wrote: > "Rsa" is just one implementation of a symmetric algorithm. Correction: RSA a an asymmetric algorithm. Mike -- Michael B Allen PHP Active Directory SPNEGO SSO http://www.ioplex.com/

Re: [fw-general] Zend_Crypt_Rsa Proposed: Community comment welcome

2008-06-12 Thread Michael B Allen
On 6/12/08, Pádraic Brady <[EMAIL PROTECTED]> wrote: > > Hi Michael, > > >The naming of this component is wrong. It should be > >Zend_Pki_Certificate or Zend_Pki_Key or some such. The word "Crypt" > >should be reserved for a generic crypto class and "Rsa" is just one > >implementation of a symmetri

[fw-general] REMINDER: Proposal discussions should be carried out in comments on the proposals themselves. . .

2008-06-12 Thread Wil Sinclair
The following is a great example of feedback that should be posted as a comment on the proposal itself. Please remember that proposal announcements to the list are only meant to get you over to the proposal itself so you can start commenting there. :) ,Wil > -Original Message- > From:

[fw-general] Zend_Config_Ini - section inheriting not working for arrays?

2008-06-12 Thread Paul Simon
Hi all, It appears that section inheriting does not work using the array syntax feature [http://tinyurl.com/66fh8x]. In the example below, I expect that $allow would be a merge of staff and anonymous. Does that look like a reasonable expectation? ; config.php ;-- [anonymous] all

Fwd: [fw-general] Several questions while developing a project use ZF.

2008-06-12 Thread Neriodavid(Wei Dai)
Hi, thanks very much for you detailed response! 1. Um, ok. I think I need set the 'resetParams' to true even though I didn't set up a custom route. After pass the optional params with default route and reset params, it is ok now. Thanks. 2.Actually, I have carefully read the Matthew's article. It

Re: [fw-general] Zend_Crypt_Rsa Proposed: Community comment welcome

2008-06-12 Thread Pádraic Brady
Hi Michael, >The naming of this component is wrong. It should be >Zend_Pki_Certificate or Zend_Pki_Key or some such. The word "Crypt" >should be reserved for a generic crypto class and "Rsa" is just one >implementation of a symmetric algorithm. The naming is more categorical than specific - crypt

Re: [fw-general] Zend_Crypt_Rsa Proposed: Community comment welcome

2008-06-12 Thread Michael B Allen
On 6/12/08, Pádraic Brady <[EMAIL PROTECTED]> wrote: > > I have finished my proposal for a Zend_Crypt_Rsa component, which will come > in handy for a few uses, not least of which OAuth. > > http://framework.zend.com/wiki/pages/viewpage.action?pageId=3866770 > > Comments from the community is more t

Re: [fw-general] 301 redirect

2008-06-12 Thread Isaak Malik
You're welcome :) On Thu, Jun 12, 2008 at 7:19 PM, scottlively <[EMAIL PROTECTED]> wrote: > > Isaak, > > Beautiful! That's the one. Thanks so much for your help. > > Scott > > > Isaak Malik-3 wrote: > > > > Well.. Since more are against my method than for it tweaked your > .htaccess > > code a

[fw-general] Zend_Crypt_Rsa Proposed: Community comment welcome

2008-06-12 Thread Pádraic Brady
I have finished my proposal for a Zend_Crypt_Rsa component, which will come in handy for a few uses, not least of which OAuth. http://framework.zend.com/wiki/pages/viewpage.action?pageId=3866770 Comments from the community is more than welcome. As it stands the component is quite a neat OO wrap

[fw-general] Best Practice?

2008-06-12 Thread Jeffrey Sambells
Hi All, Just wondering about controller action helpers and methods on controllers. If an app has a custom controller class extended from Zend_Controller_Action, is there a preferred way of adding "helper" methods? For example, I could add a method directly to the class or add a helper via

Re: [fw-general] My thoughts on PHP

2008-06-12 Thread Matthew Ratzloff
I wrote a blog reply: http://www.builtfromsource.com/2008/06/12/the-future-of-php/ Warning: it's a bit down on PHP. But it's positive about Zend Framework, so that's something. :-) -Matt On Thu, Jun 12, 2008 at 12:26 AM, Jurriën Stutterheim < [EMAIL PROTECTED]> wrote: > Hi all, > > > A few we

Re: [fw-general] Response Object : Weird issue with setHeader()

2008-06-12 Thread Laurent Melmoux
Well did not realise that this happen when I forward to another action. Then if I modify the response in the forwarded action it seams to have no effect. I will do some digg in. Laurent Melmoux a écrit : Hi, I need some help. I can’t figure it out what’s going with my Response Object and I

Re: [fw-general] 301 redirect

2008-06-12 Thread scottlively
Isaak, Beautiful! That's the one. Thanks so much for your help. Scott Isaak Malik-3 wrote: > > Well.. Since more are against my method than for it tweaked your .htaccess > code a bit: > > RewriteEngine On > RewriteCond %{HTTP_HOST} ^example\.com > RewriteRule (.*) http://www.example.com/$1

[fw-general] Updating Documentation Zend_Filter_Input

2008-06-12 Thread SiCo007
How would I go about updating the docs for Zend_Filter_Unput, specifically the pbit on adding namespaces: 14.5.5. Adding Filter Class Namespaces As this seems to have been deprecated but the new methods haven't been added to the docs. Thanks Simon - Simon http://www.ajb007.co.uk/ -- View

Re: [fw-general] [Zend_Date] getting next sunday's date

2008-06-12 Thread Thomas Weidner
Just use simple math... see the following example. It should give you a feeling: $date = new Zend_Date(); $date->setTime('00:00:00'); $date->setDay(0); $date->addDay(7); Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From:

[fw-general] prefixPath in a config file?

2008-06-12 Thread Jonathan
How would I add the prefixPath to my custom form elements in a config file, it does not seem to pick it up and always gives me the error of not finding the plugin

Re: [fw-general] 301 redirect

2008-06-12 Thread Isaak Malik
Well.. Since more are against my method than for it tweaked your .htaccess code a bit: RewriteEngine On RewriteCond %{HTTP_HOST} ^example\.com RewriteRule (.*) http://www.example.com/$1 [R=301,L] On Thu, Jun 12, 2008 at 6:22 PM, Karol Grecki <[EMAIL PROTECTED]> wrote: > > This would send 302, n

Re: [fw-general] 301 redirect

2008-06-12 Thread Pádraic Brady
The ZF rewrite rules will prevent this - have you tried using a custom Router in the application which if used sets the 301 on the next outgoing response? scottlively wrote: > > How would you do a 301 redirect like the following? > > > > http://example.com to > > htt

Re: [fw-general] Zend_Ldap_Ext ready for community review

2008-06-12 Thread Michael B Allen
On 6/12/08, Stefan Gehrig <[EMAIL PROTECTED]> wrote: > >-Ursprüngliche Nachricht- > >Von: Michael B Allen [mailto:[EMAIL PROTECTED] > >Gesendet: Mittwoch, 11. Juni 2008 20:43 > >An: Stefan Gehrig > >Cc: Zend Framework General > >Betreff: Re: [fw-general] Zend_Ldap_Ext ready for communi

[fw-general] Case issue in URL for base directory

2008-06-12 Thread Robert Castley
Hi All, In my Apache 2.2 directory my application directory is called Magik (note the capital M). When I call the URL http://localhost/Magik all is fine and the application loads. However, if I call http://localhost/magik then I get the follo

Re: [fw-general] My thoughts on PHP

2008-06-12 Thread Tech
Hi Jurriën, The topic you wrote about on your blog is particularly interesting to me at this time and you make some very good points. While I'm not convinced that PHP 6 specifically is the make-or-break point for PHP as a whole, I think that there is a lot of anticipation from the OOP- cen

Re: [fw-general] 301 redirect

2008-06-12 Thread Karol Grecki
This would send 302, not 301 header Isaak Malik-3 wrote: > > Why not just simply use: > > > if ( !preg_match('/^www\./i', $_SERVER['HTTP_HOST']) ) >header('Location: http://www.example.com'); > > ?> > > On Thu, Jun 12, 2008 at 5:40 PM, Scott Lively <[EMAIL PRO

[fw-general] Response Object : Weird issue with setHeader()

2008-06-12 Thread Laurent Melmoux
Hi, I need some help. I can’t figure it out what’s going with my Response Object and I’m starting to bang my head on my keyboard. Here is my issue : I’m losing headers set in the Response Object. So if I do in some Action of an ActionController: $this->getResponse()->setHeader("Cache-Contro

Re: [fw-general] 301 redirect

2008-06-12 Thread Isaak Malik
Why not just simply use: http://www.example.com'); ?> On Thu, Jun 12, 2008 at 5:40 PM, Scott Lively <[EMAIL PROTECTED]> wrote: > How would you do a 301 redirect like the following? > > > > http://example.com to > > http://www.example.com > > > > I've tried adding the

[fw-general] 301 redirect

2008-06-12 Thread Scott Lively
How would you do a 301 redirect like the following? http://example.com to http://www.example.com I've tried adding the following to my .htaccess file: RewriteEngine on rewritecond %{http_host} ^example.com [nc] rewriterule ^(.*)$ htt

[fw-general] [Zend_Date] getting next sunday's date

2008-06-12 Thread Olivier Ricordeau
Hi list, Is there a way to get the date that corresponds to next sunday at midnight using Zend_Date? Cheers, Olivier -- - *Olivier RICORDEAU* - [EMAIL PROTECTED]

Re: [fw-general] Zend_Date::isDate issue

2008-06-12 Thread Juan Felipe Alvarez Saldarriaga
Hey Thomas! Thx for the reply, yea, yesterday I figure it out the same, I was talking with the guys at #zftalk and "DASPRiD" told me the same, isDate doesn't check the string thing, thx for your help ^^. - Original Message - From: "Thomas Weidner" <[EMAIL PROTECTED]> To: "fw-general" S

Re: [fw-general] and tags in decorators

2008-06-12 Thread Bart McLeod
$form->setElementDecorators(array('your own decorators')); Bart Rohit83 schreef: Hi , For some specific reason i want default decorators should be disabled and i should able to render form elements in html that i have written.I tried for that but getting the and tags so applying css will be d

Fwd: [fw-general] Several questions while developing a project use ZF.

2008-06-12 Thread Neriodavid(Wei Dai)
-- Forwarded message -- From: Neriodavid(Wei Dai) <[EMAIL PROTECTED]> Date: Thu, Jun 12, 2008 at 10:54 AM Subject: Re: [fw-general] Several questions while developing a project use ZF. To: Robin Skoglund <[EMAIL PROTECTED]> Hi, thanks very much for you detailed response! 1. Um, o

AW: [fw-general] Zend_Ldap_Ext ready for community review

2008-06-12 Thread Stefan Gehrig
>-Ursprüngliche Nachricht- >Von: Michael B Allen [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 11. Juni 2008 20:43 >An: Stefan Gehrig >Cc: Zend Framework General >Betreff: Re: [fw-general] Zend_Ldap_Ext ready for community review >On 6/11/08, Stefan Gehrig <[EMAIL PROTECTED]> wrote: >> H

Re: [fw-general] How to determine the 'content-type' of uploaded files? / How to up/download files of different types?

2008-06-12 Thread Pieter Kokx
Hi, The type given via $_FILES['file']['type'] is not safe. That is the type that comes from the headers, which are defined by the browser. But a hacker can make a custom request, which defines another type like image/png for a PHP file, which can be very unsafe. You should always check if th

[fw-general] Ann: Zend_Db_Table_Plugin ready in incubator

2008-06-12 Thread Simon Mundy
Hi there Ziffers After Wil's rousing call to arms this morning for release 1.6, Jack Sleight and I are happy to say that the newly accepted proposal for Zend_Db_Table_Plugin is now in the incubator, ready for those adventurous souls who like to mess with shiny new components. Please be aw

Re: [fw-general] Several questions while developing a project use ZF.

2008-06-12 Thread Robin Skoglund
You might want to send your reply to the list as well, so others can help you with the form stuff :) Robin On Thu, Jun 12, 2008 at 4:54 AM, Neriodavid(Wei Dai) <[EMAIL PROTECTED]> wrote: > Hi, thanks very much for you detailed response! > > 1. Um, ok. I think I need set the 'resetParams' to true

Re: [fw-general] How to determine the 'content-type' of uploaded files? / How to up/download files of different types?

2008-06-12 Thread Dietrich Bollmann
Hi, ...answering to my own question for the case anybody with a similar problem finds it some time later... On Thu, 2008-06-12 at 14:44 +0900, Dietrich Bollmann wrote: > When uploading a file via the tag the value > of $_FILES['file']['type'] is retrieved (application/octet-stream in > the case

Re: [fw-general] Default Decorators ----- disable

2008-06-12 Thread Vincent
On 6/12/08, Rohit83 <[EMAIL PROTECTED]> wrote: > > > Hi , > For some specific reason i want default decorators should be disabled and i > should able to render form elements in html that i have written.I tried for > that but getting the and tags so applying css will be difficult > for me,Any Help

Re: [fw-general] Zend_Translate in iso-8859-1

2008-06-12 Thread Spring Pierre
hi all, Thomas has fixed the bug in the current subversion trunk (if you're using that). http://framework.zend.com/issues/browse/ZF-3439 svn up and all works like a charm! thank you so much thomas and pádraic. yours. pierre. -- Liip AG // Rte de la Fonderie 7 // CH-1700 Fribourg Fon 026

Re: [fw-general] Zend_Translate in iso-8859-1

2008-06-12 Thread Pádraic Brady
Try it now Pierre, Thomas has fixed the bug in the current subversion trunk (if you're using that). Paddy Pádraic Brady http://blog.astrumfutura.com http://www.patternsforphp.com OpenID Europe Foundation - Original Message From: Spring Pierre <[EMAIL PROTECTED]> To: Pádraic Brady

[fw-general] My thoughts on PHP

2008-06-12 Thread Jurriën Stutterheim
Hi all, A few weeks back I posted an entry on my blog regarding my thought on PHP as a programming language. Even though it's not entirely related to Zend Framework, I thought I'd mail this list anyway ;) I'd be interested to know what your thoughts are about the things I mention in my pos