Etiket: $_FILES

İnternet Programlama Dersi – 1 (Güz-2017) Hafta – 12 – 4

<?php if(count($_POST)>0) { if(isset($_FILES[“dosya”])) { if($_FILES[“dosya”][“type”]==”image/png”) { $link = $_FILES[“dosya”][“tmp_name”]; $size=getimagesize($link); $genisliky=(int)($size[0]/2); $yuksekliky=(int)($size[1]/2); $src= imagecreatefrompng($link); $renk = imagecolorallocate($src, 255, 0,

Share
Okumaya devam et