zend

Connect PHP to an AS/400

I've got an upcoming project wherein I will need to connect our website (PHP5/Apache 1.3/OpenBSD 4.1) to our back-end system running on a iSeries with OS400 V5R3 so that I can access some tables stored there. I've done some checking around but am running into some roadblocks. From what I've seen the DB2 extensions and DB2 software from ...

How do I configure eclipse (zend studio 6) to hint and code complete several languages?

My dream IDE does full code hints, explains and completes PHP, Javascript, HTML and CSS. I know it exists! so far, Zend studio 6, under the Eclipse IDE does a great job at hinting PHP, some Javascript and HTML, any way I can expand this? edit: a bit more information: right now, using zend-6 under eclipse, i type in <?phpp //(a single ...

Compiled PHP?

Does anybody have experience working with PHP accelerators such as MMCache or Zend Accelerator? I'd like to know if using either of these makes PHP comparable to faster web-technologies. Also, are there trade offs for using these? ...

php Zend / MVC without mod_rewrite

I've seen it mentioned in many blogs around the net, but I believe it shoud be discussed here. What can we do when we have an MVC framework (I am interested in ZEND) in PHP but our host does not provide mod_rewrite? Are there any "short-cuts"? Can we transfer control in any way (so that a mapping may occur between pages)? Any ideas? Than...

Remote Debugging PHP Command Line Scripts with Zend?

I'm using Zend Studio to do remote debugging of my php scripts on a dev server. It works great for web code, but can I make it work with command line scripts? I have several helper apps to make my application run. It would be really useful to fire up the remote debugger through command line instead of a web browser so I can test these o...

Using Zend Framework and setting a Zend_Form_Element form field to be required, how do I change the validator used to ensure that the element is not blank

Hi, When using a Zend_Form, the only way to validate that a input is not left blank is to do $element->setRequired(true); If this is not set and the element is blank, it appears to me that validation is not run on the element. If I do use setRequired(), the element is automatically given the standard NotEmpty validator. The thing is...

Should we stop using Zend WinEnabler?

Our system uses Zend WinEnabler. Do you use it? Is it obsolete? Should we stop using it? Is it known to cause handle/memory leaks? Here is an (old) introduction to it: "PHP Creators Unveil New Product that Makes PHP Truly Viable for Windows Environments" http://personalweb.about.com/b/2004/03/29/zend-announces-winenabler-enabling-php-fo...

Installing PDO-drivers for PostgreSQL on Mac (using Zend for eclipse)

How can I get PDO to work on my mac (os x 10.5)? I'm using the built in php and php in Zend/Eclipse. Can't seem to find useful drivers for it at all. ...

Placing a PDF inside another PDF document with Zend_PDF

I have a pdf file of a logo, about 1"x2" in dimension. Can anybody provide the code snippet to import that PDF logo into another PDF file using the Zend_PDF API's? Ideally, I'd like to be able to place it like the PNG, TIFF or JPG objects with the Zend_Pdf_Image object. In other words, I want to be able to place the little 1x2" pdf...

Zend_Pdf_Page::drawContentStream() Example?

Can somebody provide an example of how to use the Zend_Pdf_Page::drawContentStream() method from the Zend_Pdf API's? ...

Zend PHP debugger: How can I start debugging a page using a get argument?

I am trying out the debugger built into Zend studio. It seems great! One thing though, when I start a page using the debugger does anyone know how I can set a request get argument within the page? For example, I don't want to debug runtests.php I want to debug runtests.php?test=10 I assume its a simple configuration and I just can't...

What are some good study resources for the Zend PHP certification?

I'm preparing to take the Zend PHP exam and want to find some resources for study materials. I already have php|Architect's Zend PHP 5 study guide, and of course there is the documentation at the PHP site itself. I'd particularly be interested in FREE practice tests or first-hand advice from others who have taken the exam as to what to...

Route-problem regarding Url-encoded Umlauts (using the Zend-framework)

Hi @ll. Today I stumbled about a Problem which seems to be a bug in the Zend-Framework. Given the following route: <test> <route>citytest/:city</route> <defaults> <controller>result</controller> <action>test</action> </defaults> <reqs> <city>.+</city> </reqs> </test> and three Urls: mysite.local/c...

Generate getters and setters (Zend Studio for Eclipse)

Hi!, I'm using Zend Studio for Eclipse (Linux), and I'm trying to generate getter and setters methods in a PHP class. I try to do this: http://files.zend.com/help/Zend-Studio-Eclipse-Help/creating_getters_and_setters.htm but I haven't "Generate Getters and Setters" option in Source Menu, it's missed! Could u help me? Thanks! ...

Zend PHP5 Certification, does it matter?

The Zend PHP5-certification, is it really worth it? In the end for me it boils down to: Will it get me jobs I wouldn't without it? ...

Which PHP-based CMS or framework has the best documentation?

I'm part of a group that's considering a PHP-based system to serve a community for communications purposes, including collaboration, event calendars, and a photo gallery. We're also loking into social networking integration (particularly Facebook) and maybe payment processing for community events. The two main CMSs we're considering ar...

I'm confused about something in the Zend Framework.

How do you decide if something goes in the view or the controller? Here are some specific examples: Zend_Captcha: Does the controller generate the captcha and pass it to the view or does the view generate it? Zend_Alc: Does the view decide if a segment of the view should be displayed to the user or do you have multiple views dependin...

Using Xdebug & Zend Debugger Simultaneously?

Is it possible to run both debuggers within the same PHP installation simultaneously. They both use different ports so communication with the client IDEs/other apps wouldn't be an issue. I ask only because using the Zend Debugger with ZendStudio has proven to be much easier (fewer steps to start/stop debugging from the browser), but I r...

PHP Opt-Code Caching/Zend Acceleration and include_once vs. require_once

I have a colleague who is looking into Opt-Code Caching/Zend Acceleration (I've always assumed these are the same thing) for our PHP based application. His Benchmarks appear to indicate that we're NOT seeing a performance benefit if we include our (large) class libraries with require_once, but we DO see the performance benefit when usin...

Help with Magento Custom Module. Redirect to another module and return to checkout

Magento shopping cart is built on the Zend Framework in PHP. This is the first time I've dealt with the Zend framework and I'm having the following difficulty... I'm creating a custom module that will allow users to upload images whenever they purchase products. I can overload the addAction() method whenever a user attempts to add a p...