Motor Show F16 falcon เครื่องบิน F16 เครื่องบินรบ รูปเครื่องบิน เรื่อง เครื่องบิน

Upload images PDF Print E-mail
  
Wednesday, 30 April 2008 06:36

JRequest::get( 'FILES' );

        require_once('components/com_tds_news/helpers/class.upload.php');

        $data = JRequest::get( 'post' );
        $img = JRequest::get( 'FILES' );       
        $handle = new upload($img[Pic]);
         if ($handle->uploaded) {
         $handle->process('tds_pic/full/');
         $handle->file_new_name_body   = 'image_resized';
         $handle->image_resize         = true;
         $handle->image_x              = 100;
         $handle->image_ratio_y        = true;
         $handle->process('tds_pic/mini/');
         if ($handle->processed) {
                $handle->clean();
         } else {
              echo 'error : ' . $handle->error;
          }
          }
         $Pic = $handle->file_dst_name;

Last Updated ( Wednesday, 30 April 2008 07:02 )
 
Copyright © 2010 Motor Show F16 falcon เครื่องบิน F16 เครื่องบินรบ รูปเครื่องบิน เรื่อง เครื่องบิน. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.