[fw-general] Regex Route question

2014-06-16 Thread Antonio Caccese
Hi, i have a routing problem in ZF v1.* I'm creating an ecommerce site and i want the following routes for categories: /subcategory1 /subcategory1/subcategory2 /subcategory1/subcategory2/subcategory3 /subcategory1/subcategory2/subcategory3/../subcategoryN I removed the default routes from

[fw-general] How to share modules between svn projects

2013-10-15 Thread Antonio Caccese
Hi, i have two or more svn projects in zend studio. Every project is locally stored in the apache htdocs folder in order to run it on web browsers. One project is the main CMS and the others projects are extensions of it for different customers. I would to share main modules, like core, users of

[fw-general] Query Problem

2011-12-29 Thread Antonio Caccese
Hi, I have the following query: $sql = SELECT SUM(quantita - scarico) as giacenza FROM magazzino WHERE idArticolo = $idArticolo; $statement = $this-_db-query($sql); $row = $statement-fetch(); Finally, i get $row['giacenza'] On my database's client the result of the query is right but

Re: [fw-general] Query Problem

2011-12-29 Thread Antonio Caccese
Sorry friends, i found the problem. It's a problem of timing since i'am in a transaction. All right. Il 29/12/2011 16:24, Antonio Caccese ha scritto: Hi, I have the following query: $sql = SELECT SUM(quantita - scarico) as giacenza FROM magazzino WHERE idArticolo = $idArticolo

Re: [fw-general] Trouble with Zend_Http_Client_Exception

2011-08-02 Thread Antonio Caccese
Thanks for your answer. I checked the two php settings and i didn't find any relevant differences. I made the following test. I removed ZendServer installations from both two machines, downloaded the current version ZendServer 5.1.0 end reinstalled. So now the configuration is the same but the

Re: [fw-general] Trouble with Zend_Http_Client_Exception

2011-08-02 Thread Antonio Caccese
I solved the problem by formatting the laptop... :) Bye Il 02/08/2011 08:43, Antonio Caccese ha scritto: Thanks for your answer. I checked the two php settings and i didn't find any relevant differences. I made the following test. I removed ZendServer installations from both two machines

[fw-general] Trouble with Zend_Http_Client_Exception

2011-08-01 Thread Antonio Caccese
Hi, i get a Zend_Http_Client_Exception Unable to read response, or response is empty when putting objects on Amazon S3. On my desktop PC all works fine but the same application deployed on my laptop give me the above exception. I use ZendServer CE on both PCs with the same configuration and

Re: [fw-general] StringTrim filter problem

2011-06-20 Thread Antonio Caccese
I tested this issue on my linux production environment and fortunately there all works fine. I am sure that my development environment is well configured with all components, php, ide, mysql working in UTF-8. However, the important thing is that my production environment is ok! Il

Re: [fw-general] StringTrim filter problem

2011-06-19 Thread Antonio Caccese
//- Information Security eMail: asthral...@gmail.com http://www.markizano.net/ On 06/17/2011 05:37 AM, Antonio Caccese wrote: Why i have to use iconv if there is the StringTrim filter? I aspect that StringTrim's behavior is like the native PHP function trim. I'm italian and we use accented letters

Re: [fw-general] StringTrim filter problem

2011-06-17 Thread Antonio Caccese
Harris ha scritto: http://us3.php.net/iconv Hope this helps :) //- Information Security eMail: asthral...@gmail.com http://www.markizano.net/ On 06/16/2011 08:45 AM, Antonio Caccese wrote: Hi, i'have a problem with the StringTrim filter and accented letter 'à' at the end of words

[fw-general] StringTrim filter problem

2011-06-16 Thread Antonio Caccese
Hi, i'have a problem with the StringTrim filter and accented letter 'à' at the end of words. If character 'à' is at the end of the string the filter returns the bad character � and when save it in the DB it throws the following exception: SQLSTATE[HY000]: General error: 1366 Incorrect string

[fw-general] How to use Zend_Filter_Encrypt in Zend_Form

2011-02-17 Thread Antonio Caccese
Hi, i would to apply Zend_Filter_Encrypt to a password element in my form. I try this: $password = new Zend_Form_Element_Password('password'); $password-setLabel('Password') -addFilter('StringTrim') -addFilter(new Zend_Filter_Encrypt())

[fw-general] Zend_Validate_Hostname and accented character

2011-01-20 Thread Antonio Caccese
? Thanks Antonio Caccese

[fw-general] How to delete a folder on Amazon S3

2011-01-19 Thread Antonio Caccese
Hi, i have to delete a folder (not bucket) and all files and folders contained. I must list all objects in the folder and delete one object per time or exists a simpler method? Thanks

[fw-general] Zend_Mail enable/disable

2011-01-04 Thread Antonio Caccese
Hi, exist a way to enable/disable email sending, for example in application.ini? Thank you

[fw-general] Outlook calendar and PHP

2010-09-16 Thread Antonio Caccese
Hi, i'm working on an intranet application. Exist a way to synchronize the event in the Outlook calendar and my php based app? For example if i create an event in my remote calendar i would that i get it in my Outlook Client and viceversa. Thanks

Re: [fw-general] Amazon S3 fails putting objects

2010-08-27 Thread Antonio Caccese
Il 27/08/2010 17:53, Antonio Caccese ha scritto: Hi, i get error when send objects to Amazon S3. This is my code: $filename = name-of-the-file; $s3 = new Zend_Service_Amazon_S3(); try { $permissions = array(Zend_Service_Amazon_S3::S3_ACL_HEADER = Zend_Service_Amazon_S3