Motor Aircraft Car

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 )
 

Autos Motor

Autos
Autos
Autos
Copyright © 2012 Motor Aircraft Car. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.