[fw-general] Zend_Form initial values

2009-11-26 Thread umpirsky
Hi zf gurus. I have one quick seach form (GET method) in the sidebar. On submit I fix url to be zend style /key/val/key2/val2/ with window.location = this.attr('action') + '/' + this.serialize().replace(//g, '/').replace(/=/g, '/'); After submit form use to set default value with values from

Re: [fw-general] Zend_Form initial values

2009-11-26 Thread Jigal sanders
Why don't you use post? This way a person can easy change the values you have set in the form by changing the url manualy. On Thu, Nov 26, 2009 at 9:16 AM, umpirsky umpir...@gmail.com wrote: Hi zf gurus. I have one quick seach form (GET method) in the sidebar. On submit I fix url to be

Re: [fw-general] Zend_Form initial values

2009-11-26 Thread Саша Стаменковић
Thats what I want. Reasons: - SEO - Pagination - Back button - ... Example http://www.mobile.de/ quick search. Regards, Saša Stamenković On Thu, Nov 26, 2009 at 9:23 AM, Jigal sanders jigalroe...@gmail.comwrote: Why don't you use post? This way a person can easy change the

Re: [fw-general] ZF Open Source Project: Example of Best Practices?

2009-11-26 Thread Ben Scholzen 'DASPRiD'
You could take a look at my blog's sourcecode. The new one I'm currently working in is not finished yet but should give you a good example. http://site.svn.dasprids.de/trunk swilhelm wrote on 25.11.2009 21:52: Prompted by Fozzyuw's latest post, I will approach the issue from a different tack.

Re: [fw-general] ZF Open Source Project: Example of Best Practices?

2009-11-26 Thread Jigal sanders
I agree that this would be a good idea! Maybe someone had time for it. SInce a lot op people complain about the bad documentation this would be a good addon. On Wed, Nov 25, 2009 at 9:52 PM, swilhelm st...@studio831.com wrote: Prompted by Fozzyuw's latest post, I will approach the issue from

Re: [fw-general] Autoloader doesn't work properly

2009-11-26 Thread Jigal sanders
Thanks for your reaction Dan. I alredy solved it yesterday with help of the zend IRC. But thanks anyways. This was indeed the solution. On Thu, Nov 26, 2009 at 10:09 AM, Dan Field d...@llgc.org.uk wrote: It's not due to the fact that you have used 2 underscore characters instead of just the

[fw-general] Zend_Queue streaming messages

2009-11-26 Thread rob_young
Hi, I would like to write a message consumer that can process a stream of messages, something like: foreach ($queue-recieve() as $message) { $this-processor-processMessage($message); } I could do something like this: for ($continue = true; $continue; ) { $continue = false; foreach

[fw-general] Zend_Controller_Action_Helper_Json content type problem

2009-11-26 Thread Juan Felipe Alvarez Saldarriaga
Hey! I was trying to upload a file ala ajax (via iframe) using jquery form plugin (http://malsup.com/jquery/form/#file-upload), this plugin use the iframe technique to upload files and then get the response printed in the iframe, what's the problem? by default the json action helper sets the

[fw-general] Re: Zend Tool in 1.9.6

2009-11-26 Thread Ladislav Prskavec
Ladislav Prskavec wrote: Hello, i have problem with zend tool in 1.9.6 (Zend Server 4.0.6, Ubuntu) i try: → zf create project An Error Has Occurred Action 'create' is not a valid action. Zend Framework Command Line Console Tool v1.9.6 Usage: zf [--global-opts] action-name [--action-opts]

Re: [fw-general] Modules and .htaccess

2009-11-26 Thread Daniel Latter
So you have 2 folders called admin? one for module and one off your web root? The problem your getting sound like a DirectoryIndex setting is being used, because you dont have index.html or index.php in your admin folder, furthermore and most importantly the htaccess rules you have checks if the

Re: [fw-general] Modules and .htaccess

2009-11-26 Thread Саша Стаменковић
Removing RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d and still same thing. To clear things out: Admin modules is used only by me - no users login required. So, one htaccess credentials will do the job. I am looking for a

[fw-general] Zend_pdf: send document to browser

2009-11-26 Thread kim . gabrielsen
Hi,   i'm trying to create a pdf document on the fly. i've created the following simple action:    public function previewfpAction() {   $response = $this-getResponse();   $pdf = new Zend_Pdf();   $page = $pdf-newPage(Zend_Pdf_Page::SIZE_A4);   $pdf-pages[]

Re: [fw-general] Re: Zend_Mail Outlook crash

2009-11-26 Thread keith Pope
Just to note I believe this was a sendmail issue on Windows, using the Smtp transport seems to fix this problem... 2009/11/25 Thorsten Suckow-Homberg t...@siteartwork.de: Are you sending an email generated by ZF or a you fetching an Email with ZF send from Outlook? keith Pope wrote: Any idea

Re: [fw-general] ZF - Where to begin?

2009-11-26 Thread Fozzyuw
Ah yes. It is in the reference guide but not the API docs. From looking through tutorials that started talking about this feature, I then turned to the API for exact details on the function. As you showed, it was in the reference guide, which I did not check on this occasion. And as it where,

[fw-general] Zent_Auth_Adappter_Digest advice

2009-11-26 Thread AJ McKee
Hi Everyone, I've a requirement to perform digest auth on a simple rest service I'm playing with (BTW nice work on Zend_Rest). Problem is that the user information is stored in a mysql db. So I've implemented my own resolver to fetch data from a database rather than a htdigest file. However,

[fw-general] Re: Zent_Auth_Adappter_Digest advice

2009-11-26 Thread AJ McKee
As usual, the second I post to a list I discover my issue. I was using the apache htdigest tool to generate a hash for a sample user in the db for testing. This hash appears different to the hash calculated by using a md5 of the user:realm:pass and then storing the resulting has in the db using

[fw-general] Zend_Mail_Message subject and content: best practice on conversion to utf-8

2009-11-26 Thread Frank Quosdorf
When retrieving emails via $storage = new Zend_Mail_Storage_Imap($params), Zend_Mail_Message objects are rendered according to the sender's charset and encoding settings which might call for converting email subjects and contents to be properly displayed and / or stored. There is a variety of

[fw-general] Zend_Filter_StripTags remove all the angle brackets

2009-11-26 Thread Chou Ken
Zend_Filter_StripTags remove all the angle brackets... Is this a bug or a feature? --- code --- $string = 'a b, a b, ab, ab'; $filter = new Zend_Filter_StripTags(); var_dump($filter-filter($string)); var_dump(strip_tags($string)); --- output --- string(12) a b, a b, a string(20) a b, a b,

Re: [fw-general] Zend_Http TCP Connection management

2009-11-26 Thread Rick1125
maybe you can look into /proc/net/tcp for some information Long_Horn wrote: I would very much appreciate any help on this matter. Thanks all. JBrumwell wrote: Hi, I have an application that is used to connect ot a service once a week for a 1 hour session. This session has