回復 30# fhleung
fopen好似冇問題

TOP

完來
  1. echo '\n' ;
  2. echo "\n" ;
複製代碼
是有分別

TOP

用ajax request 返個html.php?
再用js 將成串既html tag 用innerhtml既方法 擺去唔同既div?

TOP

本帖最後由 fhleung 於 2015-6-10 10:24 編輯

http://www.w3schools.com/php/php_file_upload.asp
http://www.w3schools.com/jsref/t ... ef_fileupload_files
http://php.net/manual/en/imagick.thumbnailimage.php
  1. <?php
  2. /*   http://php.net/manual/en/imagick.examples-1.php   */
  3. header('Content-type: image/jpeg');
  4. $image = new Imagick('IMAGE FILE');
  5. $width = $image->getImageWidth();
  6. // If 0 is provided as a width or height parameter,     aspect ratio is maintained
  7. $image->thumbnailImage(($width/2), 0 );
  8. echo $image;
  9. ?>
複製代碼

TOP

javascript:agree:

TOP

fhleung 發表於 2015-6-1 11:47


推返2年前o既post為乜? 雖然呢度冇乜人氣.. 但唔需要咁囉...

TOP