| µ¥ÀÌÅÍ :: FormValidator :: ÇÊÅÍ :: À̹ÌÁö Data :: FormValidator :: Filters :: Image´Â µ¥ÀÌÅÍ :: FormValidator¸¦ »ç¿ëÇÏ¿© µé¾î¿À´Â À̹ÌÁö ¾÷·Îµå¸¦ Ãà¼Ò ÇÒ ¼öÀÖ´Â ÇÊÅÍÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
µ¥ÀÌÅÍ :: FormValidator :: ÇÊÅÍ :: À̹ÌÁö ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~ceeshek/CGI-Application-Plugin-TT-1.04/lib/CGI/Application/Plugin/TT.pm
µ¥ÀÌÅÍ :: FormValidator :: ÇÊÅÍ :: À̹ÌÁö ű×
µ¥ÀÌÅÍ :: FormValidator :: ÇÊÅÍ :: À̹ÌÁö ¼³¸í
µ¥ÀÌÅÍ :: FormValidator :: Filters :: Image´Â µ¥ÀÌÅÍ :: FormValidator¸¦ »ç¿ëÇÏ¿© µé¾î¿À´Â À̹ÌÁö ¾÷·Îµå¸¦ Ãà¼Ò ÇÒ ¼öÀÖ´Â ÇÊÅÍÀÔ´Ï´Ù. data :: formValidator :: ÇÊÅÍ :: À̹ÌÁö´Â µ¥ÀÌÅ͸¦ »ç¿ëÇÏ¿© µé¾î¿À´Â À̹ÌÁö ¾÷·Îµå¸¦ Ãà¼Ò ÇÒ ¼öÀÖ´Â ÇÊÅÍÀÔ´Ï´Ù. µ¥ÀÌÅÍ :: FormValidator.Synopsis µ¥ÀÌÅÍ :: FormValidator :: ÇÊÅÍ :: À̹ÌÁö QW (image_filter); # data :: formValidator ÇÁ·ÎÇÊ : my $ my_profile = {Çʼö => qw (uploaded_image), field_filters => {uploaded_image => image_filter (max_width => 800, max_height => 600),},}; #ÀÌ ÇÊÅ͸¦ »ç¿ëÇÒ ¶§ CGI.PM °´Ã¼¸¦ ¾ç½Ä ÀÔ·Â ¹øÈ£·Î »ç¿ëÇؾßÇÕ´Ï´Ù. MY $ Q = NEW CGI; MY $ DFV = DATA :: FORMVALIDATOR-> È®ÀÎ ($ Q, $ MY_PROFILE); À̹ÌÁö ÆÄÀÏÀ» ¾÷·Îµå ÇÒ ¶§ ¸¹Àº »ç¿ëÀÚ°¡ ÇÕ¸®ÀûÀÎ Å©±â·Î ÁÙ¾îµéÁö ¾Ê½À´Ï´Ù. ¾÷·Îµå°¡ ³Ê¹« Å®´Ï´Ù.ÀÌ ¸ðµâÀº À̹ÌÁö Å©±â Á¶Á¤ ÀÛ¾÷ÀÌ ½ÇÆÐÇÑ °æ¿ì À̹ÌÁö Å©±â Á¶ÀÛÀÌ ½ÇÆÐÇÑ °æ¿ì ¾÷·Îµå¸¦ ¶°³ª¸é À̹ÌÁö¸¦ Á¤»óÀûÀ¸·Î À̹ÌÁö Å©±â¸¦ Á¤»óÀûÀ¸·Î ¹«³Ê ¶ß¸®·Á°íÇÕ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
µ¥ÀÌÅÍ :: FormValidator :: ÇÊÅÍ :: À̹ÌÁö °ü·Ã ¼ÒÇÁÆ®¿þ¾î