Date: Mon, 23 Feb 2009 07:44:02 +
From: r...@akrabat.com
To: fw-general@lists.zend.com
CC: fire-eyed-...@hotmail.com
Subject: Re: [fw-general] Detect empty request params?
On 23/02/2009 07:16, fire-eyed-...@hotmail.com wrote:
Hi all,
Is there any way to tell if an url parameter
I have added the baseUrl() view helper to my layout +view scripts but still
having the issue. Any help out there still?
-
dee
--
View this message in context:
http://www.nabble.com/Some-widget-issues-tp21686243p22157586.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Hi!
I just installed Zend Server CE and there is a benchmark tool. I want to ask
- how big requests per second rate is considered good for applications
built on top of Zend Framework. I know - that depends on hardware,
application it self etc. But I'm more interested in comparison with plain
PHP
Endijs,
Benchmarking a plain-php hello world file against the same stuff
implemented in ZF just doesn't make any sense. If you only want to
display hello world, you don't need ZF. If you want to benchmark,
you always have to benchmark your use-case against a real-world
application that does
Hi all,
I'm trying to accomplish the following with a Zend_Db_Table_Select statement:
$table-select()-where( 'SHA1( CONCAT( ?, ip ) ) = ?', array( $salt, $data[
'ip' ] ) );
In other words, I am trying to get a where clause to accept multiple
placeholder values. Is something like this
-- fire-eyed-...@hotmail.com fire-eyed-...@hotmail.com wrote
(on Monday, 23 February 2009, 07:16 AM +):
Hi all,
Is there any way to tell if an url parameter is present, even when it has no
value? Something like paramExists()?
If you're within an action controller, yes, there's an easy way:
On Mon, Feb 23, 2009 at 8:59 PM, fire-eyed-...@hotmail.com wrote:
Hi all,
I'm trying to accomplish the following with a Zend_Db_Table_Select
statement:
$table-select()-where( 'SHA1( CONCAT( ?, ip ) ) = ?', array( $salt, $data[
'ip' ] ) );
In other words, I am trying to get a where clause
Pretty sure you can use named bindings:
$table-select()-where( 'SHA1( CONCAT( :salt, ip ) ) = :ip',
array('salt'=$salt, 'ip' = $data['ip' ] ) );
Deepak Shrestha wrote:
On Mon, Feb 23, 2009 at 8:59 PM, fire-eyed-...@hotmail.com wrote:
Hi all,
I'm trying to accomplish the following
Date: Mon, 23 Feb 2009 22:30:14 +0800
From: d88...@gmail.com
To: fw-general@lists.zend.com
Subject: Re: [fw-general] Multiple placeholders in select()-where() clause?
On Mon, Feb 23, 2009 at 8:59 PM, fire-eyed-...@hotmail.com wrote:
Hi all,
I'm trying to accomplish the following
Good point (to benchmark against phpBB, Wordpress etc. not against plain php
file)! I will do so.
Thanks for reply!
P.S. Yes - now I see how silly my question looks.
--
View this message in context:
On Mon, Feb 23, 2009 at 5:20 AM, Tobias Gies tobiasg...@googlemail.comwrote:
Endijs,
(a dedicated server is a must!)
Whether hardware or a VM.
--
A.J. Brown
web | http://ajbrown.org
phone | (937) 660-3969
Date: Mon, 23 Feb 2009 06:56:19 -0800
From: 1...@lightflowinterrupted.com
To: fw-general@lists.zend.com
Subject: Re: [fw-general] Multiple placeholders in select()-where() clause?
Pretty sure you can use named bindings:
$table-select()-where( 'SHA1( CONCAT( :salt, ip ) ) = :ip',
It looks like it ought to work, although not exactly as I've described it -
you need to bind the values in fetchAll. From the comments in
Zend/Db/Table/Select.php
* // alternatively, with named binding
* $select-where('id = :id');
* /code
*
* Note that it is more
Hi Paul,
I stand corrected, you pointed out a very valid reason for comparing
execution times of hello world in plain-php and ZF. Reading Endijs'
question again, I see that's exactly what he asked for.
It's just that I have also read mails on this ML from people who
compared plain ?php echo
I extended the Zend_Controller_Action to apply the Context helper to all my
actions dynamically.
init(){
$contextSwitch = $this-_helper-getHelper('contextSwitch');
$contextSwitch-addActionContext($this-getRequest()-getActionName(),
array('json', 'xml'));
$contextSwitch-initContext();
}
Hi,
Jon wrote:
[...]
I need support for vhosts for development since I
usually have at least 3-4 ZF projects that I'm doing
simultaneously. Is there an easy way to achieve this yet?
I also want to know, if there is an easy way and or if you plan to add VHost
support.
If you actual don't
Thanks for the reply.
I change it to UnIndexed field, however, the same error message is still
there
Jean
Serkys wrote:
I think, URL better stored in UnIndexed fields.
Jean L wrote:
Hi all,
I'm currently having problem with indexing html files using
Zend_Search_Lucene.
Show me full code of creating index, please
Jean L wrote:
Thanks for the reply.
I change it to UnIndexed field, however, the same error message is still
there
Jean
Serkys wrote:
I think, URL better stored in UnIndexed fields.
Jean L wrote:
Hi all,
I'm
On Mon, Feb 23, 2009 at 11:05 PM, fire-eyed-...@hotmail.com wrote:
Hey thanks for the response.
I'm afraid that is not entirely what I'm after. I need to quote the values
against possible SQL injection. I could do this with quoteInto() or
something similar, but I am hoping for a more sleek
19 matches
Mail list logo