Tutoriale PHP
  Comunitatea PHP Romania
 

 
Tutoriale PHP
Index » Noutati

Rob Allen's Blog: Simple Zend_Form File Upload Example Revisited


Postat:Luni 19 Mai 2008 14:33
Accesari:9
Comentarii:0
Favorite:0
Sursa: http://www.phpdeveloper.org

Del.icio.us
Digg
Technorati
Categorii: Noutati | alfahost_ro

Rob Allen has revisited a Zend_Form example he had created before, updating it with a fix for a common error people were seeing when the form tries to validate.

I've been thinking about the Simple Zend_Form File Upload Example that I discussed last month. To recap, if you haven't read the comments, if the form fails to validate for some reason then you get a nasty error.

He corrects the issue by creating an ArrayObject (thanks to the SPL) that can be used both as an array and can look like a string to htmlspecialchars and changing up the validation a little bit to work with the new object.

Comentarii


    Ultimele discutii in forum RSS Forum

    Ultimele articole Ultimele articole

    Top membri

    Pirahna Pirahna
    acasa , in pat
    carco carco
    Bucuresti
    Birkoff Birkoff
    Bucuresti
    Mascka Mascka
    Braila
    raul_ raul_
    whooper whooper
    Toronto ON
    mihaitha mihaitha
    Sibiu
    gabysolomon gabysolomon
    Bacau
    oriceon oriceon
    Constanta
    garlicinicolae garlicinicolae

    Newsletter


    Email:
     inscriere
     renuntare
     
     Arhiva newsletter

    Site-ul lunii

    blg
     Blgpunctro

    Propune un site

    Online

    156 utilizatori online

    Parteneriat



    Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Life Insurance | Credit Card | Hotels in Krakow | Adverse Credit Remortgage | Payday Advance
    Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
    Powered by Simplis