All pastes #384988 Raw Edit

Mine

public php v1 · immutable
·published 2007-03-07 14:45 UTC
rendered paste body
//ekle.php<?phpinclude_once('thumbnail.inc.php');$thumb = new Thumbnail('../galeri/1.png');//resize image to no wider than 250 pixels wide and 250 pixels high$thumb->resize(250,250);//reduce the image by 50%$thumb->resizePercent(50);//create a 100x100 pixel crop from the center of an image$thumb->cropFromCenter(100);$thumb->createReflection(40,40,80,true,'#a4a4a4');$thumb->show();?>###################################//goster.php resimlerin listelenecegi sayfa<?$link = mysql_connect("localhost","frekans_online","dalgamotor");		mysql_select_db("frekans_online",$link);		mysql_query("SET NAMES 'latin5'",$link);				$query = "select id from resimler";$oku  = mysql_query($query);$i=0;	while($goster = mysql_fetch_assoc($oku))	{$i++;	$x.= "<img src=\"ekle.php?page={$i}\"> ";								}	echo $x;	?>###################################