Schizophrenia adlı üyeden alıntı: mesajı görüntüle
.html olmasını sağlayan .htaccess düzenlemesi öncesi sayfanın URL'si nedir acaba?

kodlarda bunu adrese döndüren bir SELECT komutu olması gerekiyor. bu komutu rica edebilir miyim php dosyandan? (WHERE ID=bi şey) tarzı bi şey de geçebilir
RewriteRule ^t/(.*)\.(jpg|jpeg|png|gif|html)$ show.php?t=$1 [L]
domain.com/show.php?t=abc3

yerine

domain.com/t/abc3.html Oluyor .htaccess Sayesinde.



Birde Böyle Birşey Buldum. belki Bahsettiğiniz Budur.

function getImage($id,$where = 'id',$Select = '*'){
	$db		= loadDBGlobal();
	$where	= $db->escape_data($where);
	$id		= $db->escape_data($id);
	if ($item = $db->sql_query("SELECT $Select FROM images WHERE $where = '$id' LIMIT 1")){
		return $item[0];
	}
	return false;
}