Determine Filesize of Email Attachment Before Downloading
I'm using Zend Mail library to access email and download email attachments. Is there a way to determine the attachment's filesize before downloading? ...
I'm using Zend Mail library to access email and download email attachments. Is there a way to determine the attachment's filesize before downloading? ...
I'm trying to learn the Zend Framework, my first framework, and I came across the View section. In order to out put stuff from the controller to the view, I have to use short tags. I don't want to do this because of XML. The only option, I've found so far, is $view->setUseStreamWrapper(true) which apparently kills performance. I was wond...
Hi guys I'm building a simple mail interface for my application but I've noticed that its really slow especially when the user has to list out a number of emails. I've traced the time taken for code to execute and found that just the $mail->getMessage function takes around 0.6 seconds to execute. My code is as below: $mail = new Zend_M...
Hi, Is there somewhere a repository/list of third party ZF plugins? I mean plugins like this one: http://code.google.com/p/zfdebug/ Thank you. :) ...
i have done a very simple setup with a test myopenid account require_once "Zend/OpenID/Consumer.php"; $openid_id = "http://testphp.myopenid.com/"; $consumer = new Zend_OpenId_Consumer(); if (!$consumer->login($openid_id, "http://localhost/php/openid/oid_return.php")) { die("failed"); } echo "OK"; when i try to use Google OpenID (...
I want to access Peachtree Database into Zend Framework. I have installed Zend Framework and Peachtree Premium Trial Version. Now I want to access the database of Peachtree into Zend Framework. Please provide some link or code to do the same. ...
Hello, I have a very strange problem with dojo not loading properly in one action in one of the controllers in my application (it seems to work just fine in the other actions). I've been trying to sort it out, and it appears that in the action that its not working it fails to generate the following code that's present in all the other a...
This has been working fine, not sure why it's stopped all of a sudden.. Basically I am getting the error: Notice: Duplicate dijit ID detected for id "email; temporarily generating uniqid" in ..\Zend\Dojo\Form\Decorator\DijitElement.php on line 171 If I look at the page source, my JS for dojo has been added twice: var zendDijits = [{"...
Hi folks, I am running a PHP Script on the CLI (logged in as root). It is actually building a Zend Lucene Search index. All output is logged to the command line. PHP directves like max_execution_time and memory_limit are set sufficient (0 resp. 1024M). The error reporting is set in the script as follows: error_reporting(E_ALL | E_STR...
I need to access a POP3 email account and obtain the the list of messages' unique id and its corresponding file size. I'm using CodeIgniter and have access to Zend libraries. Trying to do something similar to the LIST command. Ideas? ...
I have the following code to format dates: $date = new Zend_Date(); $date->set(strtotime($some_date); echo ($date->get(Zend_Date::DATE_FULL)); it wokrs fine on my localhost outputting the date as I need it to be outputted. However on my online server the dates are outputted in a weird numerical way. i.e the numeric value fo the Day a...
I use Zend Framework 1.10 with integration on Doctrine 1.2. in the application.ini file, i declare the 'dsn' to connect to database. in my application i need to connect to another db to run some queries. how can i do it ? i only need to run query , i don't want to generate all the Models for this DB. right now in the bootstrap.php...
Hi folks, I'm trying to use the Text_Password class of PEAR but am not sure how to include it. I have installed PEAR. And I'm guessing it has put the classes somewhere in the PHP directory. I have this in my .htaccess file php_value include_path .:/Library/WebServer/Documents/phpweb20/include Which is why I'm guessing it isn't pic...
I have a controller called Account and an action called logout. It's pretty simple: <?php class AccountController extends CustomControllerAction { public function logoutAction() { Zend_Auth::getInstance()->clearIdentity(); $this->_redirect('/account/login'); } But for some reason I'm getting a ...
Hi guys, I'm working with zend framework and recently had terrible issue swith my code. Actually I'm developing a webfront for emails and users enter their mail server details and are able to check on their email via my system. The issue is that whenever I would try to connect to a mailserver my system just dies out sometimes and instea...
hello ! I just want to know how does error controller work for different module ,say its admin and default,in zend framework... because its working fine in default module but not working in admin module ... is there any condition which I have to use? and how ? ...
how can i get started with Doctrine 2 + ZF? any tutorials or resources? on a side note, i hear ZF2 will use Doctrine as its models, true? ...
Hi, Why Zend_Form produce <dl> <dt id="label-id"> <dd id="elem-id"> </dl> ? (I understand that its produce by default decorators, but why and for what they used? ) Thanks ...
I wasn't sure if this question would go better here or at superuser, since it kinda crosses between the two. I have a Flex web app with a PHP service, using ZendFramework. The app works fine on Ubuntu 9.04 Server. No errors at all, behaves exactly as expected. If I install Ubuntu 10.04 Server, I suddenly start getting a "Channel discon...
Hi there! Does Zend Framework has native Couch DB support? I found only Zend_Couch by Matthew Weier O'Phinney. http://framework.zend.com/wiki/display/ZFPROP/Zend_Couch+-+Matthew+Weier+O'Phinney Thank you. ...