1436 gün önce PHP ile yazım hatalarını düzeltme
sorusunu cevapladı.
benim fikrimce çeviri sistemleri kullanın. Önce türkçeden ingilizceye sonra tekrar türkçeye ozaman yazım yanlışları google çeviri ne anladıysa düzelid
1612 gün önce Üye ID'sine ait siparişleri panelde listeleme
sorusunu cevapladı.
Niye Bu Kadar Zorladınız Ki?
$uyeid = 1;
$sorgu = $db->prepare("SELECT * FROM siparis where uye_id='$uyeid'");
$sorgu->execute();
while ($cikti = $sorgu->fetch(PDO::FETCH_ASSOC)) {
echo $cikti['siparis_adi'];
}
1625 gün önce PHP ile otomatik sitemap
sorusunu cevapladı.
Öncelikle sitemap.php Dosyası Oluşturup .htaccess ten sitemap.xml gibi göstere bilirsin!
Örnek Vermem Gerekiyor Galiba
.htaccess İçeriği;
RewriteEngine On
RewriteRule ^sitemap.xml$ sitemap.php
sitemap.php İçeriği;
<?php
include("baglanti.php");
echo '<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">';
header('Content-Type: text/xml');
$sorgu = $db->prepare("SELECT * FROM konular");
$sorgu->execute();
while ($cikti = $sorgu->fetch(PDO::FETCH_ASSOC)) {
$url = "http://localhost/konu/".$cikti['konuid']."/".$cikti['seourl'].".html";//url yapın neyse yazarsın zaten
$tarihn = $cikti['tarih'];
$tarih = date("Y-m-d", strtotime($tarihn));
echo '<url>
<loc>'.$url.'</loc>
<lastmod>'.$tarih.'</lastmod>
</url>';
}
echo '</urlset>';
Not: Ne Kadar Güvenli Hiç Bir Fikrim Yok!
1626 gün önce php 404 sayfası nasıl yapılır
sorusunu cevapladı.
ErrorDocument 404 http://localhost/hata
1638 gün önce PHP Post Sorunu
sorusunu cevapladı.
1 şifreleme token Kullana Bilirsin Prototurk Kanalındada Buna Benzer İçerik Mevcut
2 Şunu footerine ekleyede bilirsin
<script>
if (window.history.replaceState) {
window.history.replaceState(null, null, window.location.href);
}
</script>
1752 gün önce Php Gizli Upload Problemi
sorusunu cevapladı.
ben diyorumki tum dosyalar inmiyor bozuk iniyor nasil düzeltirim