I am working on a project using zend framework, php, mysql on ubuntu.
I have created hostname test.dev on my local machine and using zend authentication. When an user is authenticated using zend authentication, I set session variable for logged in user id. I use this session variable(userid) on different pages to sure authentication.
...
Hi friends,
When I decided to start using php framework, I have gone for CodeIgniter because of I didn't have much learning time, I had strict project dead-line. I actually wanted Zend Framework so much. I'm happy with CI so far... But I'm about to start a big hotels directory project like kayak.com . My project will not have so big db ...
Background, I'm running a Zend Framework application. Trying to squeeze the most performance out of it as possible. So I'm trying to move the rules out of .htaccess exactly to the letter per this blog post by the author of a Zend Framework book: http://www.armando.ws/2009/03/how-to-run-zend-framework-with-no-htaccess-file/
So basically,...
Hi
Is it possible to set default log level for entire applicaton? I would like to set it from application.ini. I would like to set loggers to log to database and firephp.
...
It seems like there's a few different ways to join two tables using the Zend Framework, but I've never done it before so I don't know which is the best way to do it.
This is what I'm trying to do...
I have 3 tables in my database:
users
( id , name )
groups
( id , name )
group_members
( id , group_id , user_id )
I'm tryi...
I can't seem to figure out what's going wrong, but I'm attempting to setup module routing based on sub domain. Otherwise the routing is standard. The following works until I add more than 3 parameters in the URL:
This is within a controller plugin
...
public function routeStartup() {
$router = Zend_Controller_Front::getInstance()->...
Ahh forgive my Zend newbness, I'm trying to access this form, stored in:
layouts/scripts/layout.phtml:
$this->layout()->userForm = $this->action('index', 'user');
within
class IndexController extends Zend_Controller_Action
{
public function init ()
{ /* Initialize action controller here */
}
public function indexA...
I am reading this page about Zend_Service_Flickr. However it does not say how to set up the number of photos showing.
The following code returns 10 images.
Zend_Loader::loadClass('Zend_Service_Flickr');
$flickr = new Zend_Service_Flickr($this->flickrapikey);
$results = $flickr->userSearch($this->flickemail);
Could anyone tell me how ...
Hello,
I have a signup form in my ZF application, that has a dropdown for "Time Zone". I have listed some of its options below for reference
option value="-12:00">International Date Line West /option
option value="-11:00">Midway Island, Samoa /option
option value="-10:00">Hawaii /option
option value="-09:00">Alaska /option
option v...
Hi,
Although I am using the Zend framework, MooTools JS library and my questions revolves around them, this is a more generic question.
I am working on a web app, in which I am using many elements which are sometimes useful on other pages (for example OpenLayers related MooTools classes).
Mootools already allows this "segmentation" by...
I've written several Web MVC apps but never before in PHP, and I'm trying to figure out the best way to work with Zend Framework v1.9.5.
I'm confused about the role of .htaccess in a Zend Framework 1.9.5 application. I have consulted many tutorials, books, and SO questions on Zend Framework (but most of them are for v1.8 at newest) and ...
I'm using Zend_Form with a ViewScript decorator. This form will be for managing two fairly simple types of objects but is a big form so I'd like to have a single form / processing function.
So I have this:
class GameManagementForm extends Zend_Form{
public function __construct($type='flash'){
parent::__construct();
//and later
...
hi
I am trying to post data from a website (non-zend) to my zend based website.
i use the php post method to post from the non-zend website which is
e.g.
$data=Array('testkey'=>'testvalue');
$query = http_build_query($data);
$host="localhost/index.php/default/proc/procnew";
$rr=post($host,$query);
function post($host,$query,$others='...
I'm updating my current framework's i18n method from a Localization class that stores language strings in arrays to gettext + Zend_Translate.
There's a certain situation which leaves me puzzled, single string outputting is simple but using my current method I'm grouping certain strings together, for collections such as cities, states, ...
I'm trying to grok gettext.
Here's how I think it works -
First you use some sort of po editor and tell it to scan a directory for your application, create these ".po" files, the application makes a po file for each file scanned which contains a string in a programming language, then compile them to binary mo files, to which gettext pa...
I know how to get the entire contacts list using Google Contacts API (I get a session token and use Google's Zend package for PHP).
But how can I get the person's name and email address? Currently, the Contacts API just seems to give all of the contacts. I'm not sure how to distinguish which email and name out of that list corresponds t...
Does Zend_Pdf already support automatic wrapping of text?
For example I want to create a textblock and fill it with text. This is a very important feature and unless Zend Pdf does not have it I am not able to switch from FPDF.
Also I think a Framework that says it has PDF support should be able to offer their developers this kind of fe...
So I've got this issue with forms generated by Zend Framework.
As we know Zend is using this format for ID of HTML elements, i.e: contactDetails[name],contactDetails[email] etc.
First of all, why Zend is using invalid HTML to generate forms? There should be no brackets [] inside ids, according to W3C:
ID and NAME tokens must begin ...
Hi All,
I've spent many hours trying to get this to work. And I'm getting quite desperate.
Would be great if someone out there could help me out :)
Currently using Zend Framework 1.9.5, though I have been struggling to get this to work for many versions now.
What I want to do is provide my own routes through an XML config, and make su...
I have been attempting to install the 'quickstart' tutorial application on my system. After a considerable amount of frustration - a) because I dont know how it all works andb) mine's a windows (wamp) set-up, I have got as far as setting up the guestbook database successfully and reaching the Checkpoint:
Now browse to http://localhost/gu...