<?php
header("Content-type: text/html; charset=utf-8");
$ref=$_SERVER['HTTP_REFERER'];
if($_GET['sec']=='ok' and !empty($_GET['e'])){
setcookie('ekran', $_GET['e'], time()+99999);header("location: ".$_GET['r']); }
$ekranlar=array( '128x128','128x160','132x176','176x208','176x220', '208x208','240x320','240x400','320x240','320x480', '352x416','360x640','480x800');?>
Lütfen ekranınızı seçin<br/>
<form method="get" action="?sec=ok">
<select name="e">
<?foreach($ekranlar as $ekran){?><option value="<?=$ekran?>"><?=$ekran?></option><?}?></select><input type="hidden" name="r" value="<?=$ref?>"/><br/><input type="submit"/></form>

header location ile buraya yonlendiriyorum ama olmuyorr