zend

PHPUnit+ZendFramework ::How I can test multu users session in the same time?

Hi, I beginer programmer,and don't have any QA experience (only simple test that i write without PHPUnit or other tool) How I can create test for testing multi users sessions in the same time? (PHPUnit+ZendFramework) basic tests examples that I thinking to do (I am not QA - I soory if i wrong): users logins in the same time use...

how to implement ws-security 1.1 in php5

I'm trying to call a webservice with Soap in PHP5, for this, I need to use WS-Security 1.1. (In java and .NET this is all generated automatically.) Are there any frameworks available to generate the security headers easily in PHP? Or do I have to add the entire header myself ? Specifications of WS-Security 1.1: http://oasis-open.org...

PHP - Zend Soap Request to .NET SOAP Server

Hello! I'd like a little bit of assistance here. I am trying to send a request to a .NET SOAP server from PHP with Zend. I have the WSDL file but it does not contain any header information. Though I have tried to add a custom header this does not seem to work and the worst is that the WSDL file itself does not seem to be "right"..... ...

Zend Framework - Zend Tool - Module error: I have error after I create module with Zend Tool

Hi, I new in zend framework. I create zend project with zend tool and its works , but i create module and when i try access him with browser I get Error. I write my steps, please help me. Thanks, Yosef My steps: $ sudo zf create project mystore put Zend library inside library test: http://localhost/mystore/public/ (working) ...

Zend_Form setMultiFile()

Hello everyone, i got a question related to the setMultiFile method of zend_form. I already got a form like this: $foto->setLabel('Foto:'); $foto->addValidator('IsImage', true); $foto->addValidator('Count', true, 12); $foto->addValidator('Extension', true, 'gif,png,jpg'); $foto->setDestination(PUBLIC_PATH.'/uplo...

create tag block in zend

Hi How can I define and use in my phtml file custom tag block like this: '' '' for example this tag create the list of all entries and show the title of them? ...

custom .zfproject.xml file

Yall: I'm trying to squeeze the Zend Framework into my ISP securely. My ISP pretty much requires me to put much of the stack in a /private directory in my HTDOCS Home. So, it looks like this /index.php /private/application/configs /private/application/controllers /private/application/bootstrap.php ... I tried editing the .zfproje...

Generating a zend form with dynamic data?

I need to access my session and based on the session property I need to grab stuff from the database to use as options in my dropdown. $_SESSION is: [sess_name] => Array( [properties] => Array( 1=> Hotel A, 2=> Hotel B ), [selected] => 1 ) I need to grab Hotel A from selected, and then access all accounts under H...

Zend dubugger in eclipse - timeout everytime

I am running a virtual server in the US. I am trying to get my eclipse machine at home (outside the USA), to connect to the USA server. I have setup Zend on the server. When I run phpinfo() I get the following zend output. Note: 1.2.3.4 will be the external WAN IP address of my ADSL router at home. Directive Local...

zend tool is not working

Hi, I've installed ZendStudio 7.2 it creates project normally with no error but when i try to add action(s) in it, it says project profile does not exist. and the error log is as follow: executing zf create action showLatest index-action-included An Error Has Occurred A project p...

Calling a wsdl in php over https using Zend Soap Client

When I'm trying to connect to a webservice I always get the next fault SoapFault exception: [s:Sender] An error occurred when verifying security for the message I also have to use a security header, full soap request is send: <env:Envelope> <env:Header> <ns2:Action env:mustUnderstand="1"> http://ws.agiv.be/crabtools/ICRABTools/GetAddr...

Zend Routing:: How I can send all request that going to application-> IndexController to application->module->store->IndexController

Hi, How I can send all request in zend project to my default module controller (without use .access files). Now it going to application->IndexController, Instead I need that every request will go to application->module->store->IndexController. I try this: public function indexAction() { $this->_forward('index','index','store')...

Zend Form not in place labbels values, how to move them that they will be exactly above text box?

Hi, I have esthetic's problem. Zend Form not in place label value, how to move them that they will be exactly above text box, and not from left? (I didn't put filters and validation to make this code simpler here) My Code Login.php form: public function init() { $username = new Zend_Form_Element_Text('username'); $username->setLab...

create several blogs in zend framework

Hi I'm developing a CMS with zend now My problem is how can I have two or more blog in this CMS I can make module with separate layout but which code I must add to my layout two show blogname or else ... maybe is another way? ...

Where do DQL statements live in an application that is using Zend Framework and Doctrine

In an application that is using Zend Framework 1.10 and Doctrine 1.2, where should the DQL statements live if our application is built such that it has a Service Layer and a Gateway(aka Doctrine_Table) layer. It seems that our possibilities include: 1) Placing the DQL statements in the Service layer which seems to be a bit too high in ...

Zend Framework :: Is this code good for user login (Its begining- because that I want to know if its can be improve)

Hi, I new in Zend. Main Question: Is this code good for user login (Its beginning- because that I want to know if its can be improve)? Thanks view index.phtml <? echo $this->form controller IndexAction.php public function indexAction() { $form=new Application_Form_Login(); $this->view->form = $form; if ($th...

Zend_Search_Lucene vs SOLR

Hi, I have recenlty stumbled into Zend Lucene port of Lucene project. I have a little bit experience with SOLR so I would like to know what is the difference between two of them especially from performance and installation side. As much as I know SOLR requires Tomcat serverlet running in web hosting in order to work, what about Zend L...

How can be created new user in google Google Apps Standard Edition account with Zend Gdata/PHP ?

Hi, How can be created new user in google Google Apps Standard Edition account with Zend Gdata/PHP ? (Is it possible or google only give option to make it manually?) Thanks ...

can we use smarty with zend framework?

Any body know can we use smarty with zend framework. If yes what is the advantage of using like that? ...

Zend Framework Project - Calendar: Need web calendar with events (like google calendar) for every user separately

Hi, I doing multi users website (it should works for more than 100,000 users) with Zend Framework. I need to create event calendar like google calendar (If it was possible to use google calendar i will do it- please tell me). I have to do that from zero or exist some good Calendar that will work well with Zend? Thanks ...