Help with PHP Function, Should be very quick $10

Discussion in 'Programming' started by adamjblakey, Nov 11, 2008.

  1. #1
    adamjblakey, Nov 11, 2008 IP
  2. luckymurari

    luckymurari Active Member

    Messages:
    629
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    90
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    instead of
    
            ftpupload($file_name, $file_tmp, "httpdocs/uploads/images/thumbs/");
            ftpupload($file_name, $file_tmp, "httpdocs/uploads/images/big/");
    Code (markup):
    you can just use
    
    imagepng($resized_img,"httpdocs/uploads/images/thumbs/".$file_tmp);
    imagepng($resized_img2,"httpdocs/uploads/images/big/".$file_tmp);
    
    Code (markup):
    You need not use any ftpupload function here :)
     
    luckymurari, Nov 11, 2008 IP
  3. luckymurari

    luckymurari Active Member

    Messages:
    629
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    90
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Why did not you respond to the above post of mine?
     
    luckymurari, Nov 21, 2008 IP