<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PHP - hknsoft</title>
	<atom:link href="https://hknsoft.com/kategori/php/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Android, Yazılım, Script</description>
	<lastBuildDate>Sat, 21 Oct 2023 09:08:48 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://hknsoft.com/wp-content/uploads/2020/05/cropped-icon-hknsoft-150x150.png</url>
	<title>PHP - hknsoft</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>PHP Log Tutmak</title>
		<link>https://hknsoft.com/php-log-tutmak/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sun, 19 Sep 2021 12:35:22 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php basit log sistemi]]></category>
		<category><![CDATA[php detaylı log sistemi]]></category>
		<category><![CDATA[php detaylı log tutmak]]></category>
		<category><![CDATA[php kullanıcı log tutmak]]></category>
		<category><![CDATA[php log sistemi]]></category>
		<category><![CDATA[php log sistemi yapmak]]></category>
		<category><![CDATA[php log tutmak]]></category>
		<category><![CDATA[php txt log tutmak]]></category>
		<guid isPermaLink="false">https://hknsoft.com/?p=1128</guid>

					<description><![CDATA[<p>Sitenize giren veya sitenizde işlem yapan kullanıcıların hareketlerini kaydetmek çok önemlidir. Bu yüzden log dosyaları tutarız. Bu yazıda log dosyalarını yerel olarak .log uzantılı dosya <a class="mh-excerpt-more" href="https://hknsoft.com/php-log-tutmak/" title="PHP Log Tutmak">[...]</a></p>
<p>The post <a href="https://hknsoft.com/php-log-tutmak/">PHP Log Tutmak</a> appeared first on <a href="https://hknsoft.com">hknsoft</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-black-color has-text-color">Sitenize giren veya sitenizde işlem yapan kullanıcıların hareketlerini kaydetmek çok önemlidir. Bu yüzden <a href="https://hknsoft.com/php-log-tutmak/"><strong>log dosyaları</strong></a> tutarız.</p>



<p>Bu yazıda log dosyalarını yerel olarak .<strong>log </strong>uzantılı dosya biçiminde tutacağız. Öncelikle log fonksiyonlarını yazacağımız <strong>class.log.php</strong> dosyasını oluşturuyoruz. Log tutacağımız zaman bu <strong>class&#8217;ı çağıracağız.</strong></p>



<div class="wp-block-urvanov-syntax-highlighter-code-block"><pre class="urvanov-syntax-highlighter-plain-tag">&lt;?php

date_default_timezone_set('Europe/Istanbul');

class Log
{
    public function add($text)
    {
        $data = date("d.m.Y") . " " . date("H:i:s") . "   " . $text . PHP_EOL;
        $folder = "log/";
        $logFileName = $folder . date("d-m-Y") . ".log";

        if (!file_exists($folder)) {
            mkdir($folder);
        }

        if (!file_exists($logFileName)) {
            file_put_contents($logFileName, "\xEF\xBB\xBF");
        }

        $ofile = fopen($logFileName, "a");

        fwrite($ofile, $data);
        fclose($ofile);
    }
}</pre></div>



<p>Kodu kısaca anlatayım. Kod öncelikle <strong>log klasörü</strong> oluşturuyor. Ve içerisine <strong>gün-ay-yıl.log</strong> şeklinde log dosyası oluşturuyor. Böylece <strong>her gün için farklı</strong> bir log dosyası oluşmuş olacak. O günkü logları o tarihli log dosyasına kaydediyor.</p>



<h2 class="wp-block-heading">Örnek Kullanım</h2>



<p>Öncelikle php dosyanıza <strong>require_once</strong> ile <strong>class.log.php</strong> dosyasını <strong>ekliyoruz.</strong> Ardından Log classından yeni bir obje oluşturuyoruz. Artık class içerisindeki <strong>add()</strong> fonksiyonunu kullanabiliriz.</p>



<div class="wp-block-urvanov-syntax-highlighter-code-block"><pre class="urvanov-syntax-highlighter-plain-tag">&lt;?php
require_once "class.log.php";

$log = new Log();
$log-&gt;add("deneme log bu sekilde");</pre></div>



<h2 class="wp-block-heading">Örnek Log Dosyası</h2>



<p>Log dosyalarınız şu şekilde görünecek:</p>



<div class="wp-block-urvanov-syntax-highlighter-code-block"><pre class="urvanov-syntax-highlighter-plain-tag">19.09.2021 13:24:15   deneme log bu sekilde
19.09.2021 13:24:16   deneme log
19.09.2021 13:24:16   id: xxxxx kullanıcı giris yapti
19.09.2021 13:24:16   user: hakan siteye kayıt oldu</pre></div>



<p>Kaynak kodlarını aşağıdaki <strong>GitHub</strong> linkinden <strong>indirebilirsiniz.</strong></p>



<h2 class="has-text-align-center wp-block-heading"><a href="https://gist.github.com/fovelas/62ce980ea401d3a5e06c9a9c39c75a65" target="_blank" rel="noreferrer noopener nofollow"><strong>PHP Log Tutmak – GitHub</strong></a></h2>
<p>The post <a href="https://hknsoft.com/php-log-tutmak/">PHP Log Tutmak</a> appeared first on <a href="https://hknsoft.com">hknsoft</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PHP YouTube Video Etiket Bulucu</title>
		<link>https://hknsoft.com/php-youtube-video-etiket-bulucu/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 24 Nov 2020 10:33:35 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[github php kaynak kod]]></category>
		<category><![CDATA[github php youtube video etiket bulucu]]></category>
		<category><![CDATA[github youtube video etiket bulucu]]></category>
		<category><![CDATA[php bot youtube video etiket bulucu]]></category>
		<category><![CDATA[php kaynak kod indir]]></category>
		<category><![CDATA[php youtube etiket bulucu]]></category>
		<category><![CDATA[php youtube video etiket bulucu]]></category>
		<category><![CDATA[php youtube video etiket bulucu github]]></category>
		<category><![CDATA[php youtube video etiket bulucu kaynak kod]]></category>
		<category><![CDATA[php youtube video thumbnail bulucu]]></category>
		<category><![CDATA[youtube thumbnail bot]]></category>
		<category><![CDATA[youtube video etiket bulucu bot]]></category>
		<guid isPermaLink="false">https://hknsoft.com/?p=959</guid>

					<description><![CDATA[<p>PHP ile yazılmış YouTube video etiket bulucu bu bot girilen YouTube linkinden videonun etiketlerini ve thumbnailini çekiyor. Çekilen thumbnail indir butonu ile en yüksek kalitede <a class="mh-excerpt-more" href="https://hknsoft.com/php-youtube-video-etiket-bulucu/" title="PHP YouTube Video Etiket Bulucu">[...]</a></p>
<p>The post <a href="https://hknsoft.com/php-youtube-video-etiket-bulucu/">PHP YouTube Video Etiket Bulucu</a> appeared first on <a href="https://hknsoft.com">hknsoft</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-black-color has-text-color"><a href="https://hknsoft.com/kategori/php/" target="_blank" rel="noreferrer noopener"><strong>PHP</strong></a> ile yazılmış YouTube video etiket bulucu bu bot girilen YouTube linkinden <strong>videonun etiketlerini ve thumbnailini çekiyor.</strong> Çekilen thumbnail <strong>indir butonu</strong> ile en yüksek kalitede indirilebilir. Ayrıca etiketler YouTube formatında <strong>(,) ile ayrılmış</strong> bir şekilde kopyalanabilir.</p>



<h2 class="wp-block-heading"><strong>Giriş Ekranı</strong></h2>



<div class="wp-block-image"><figure class="aligncenter size-large"><img fetchpriority="high" decoding="async" width="1024" height="549" src="https://hknsoft.com/wp-content/uploads/2020/11/youtube-video-etiket-bulucu-github-1024x549.png" alt="PHP YouTube Video Etiket Bulucu" class="wp-image-962" srcset="https://hknsoft.com/wp-content/uploads/2020/11/youtube-video-etiket-bulucu-github-1024x549.png 1024w, https://hknsoft.com/wp-content/uploads/2020/11/youtube-video-etiket-bulucu-github-300x161.png 300w, https://hknsoft.com/wp-content/uploads/2020/11/youtube-video-etiket-bulucu-github-150x80.png 150w, https://hknsoft.com/wp-content/uploads/2020/11/youtube-video-etiket-bulucu-github-768x412.png 768w, https://hknsoft.com/wp-content/uploads/2020/11/youtube-video-etiket-bulucu-github.png 1302w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<ul class="wp-block-list"><li>Sadece YouTube URL&#8217;lerini kabul ediyor. Eğer <strong>link hatalı</strong> veya YouTube linki değil ise <strong>işlem yapmaz.</strong></li></ul>



<h2 class="wp-block-heading"><strong>Sonuç Ekranı</strong></h2>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="649" height="1024" src="https://hknsoft.com/wp-content/uploads/2020/11/php-youtube-video-etiket-bulucu-649x1024.png" alt="PHP YouTube Video Etiket Bulucu" class="wp-image-961" srcset="https://hknsoft.com/wp-content/uploads/2020/11/php-youtube-video-etiket-bulucu-649x1024.png 649w, https://hknsoft.com/wp-content/uploads/2020/11/php-youtube-video-etiket-bulucu-190x300.png 190w, https://hknsoft.com/wp-content/uploads/2020/11/php-youtube-video-etiket-bulucu-95x150.png 95w, https://hknsoft.com/wp-content/uploads/2020/11/php-youtube-video-etiket-bulucu-768x1213.png 768w, https://hknsoft.com/wp-content/uploads/2020/11/php-youtube-video-etiket-bulucu-973x1536.png 973w, https://hknsoft.com/wp-content/uploads/2020/11/php-youtube-video-etiket-bulucu.png 1294w" sizes="(max-width: 649px) 100vw, 649px" /></figure></div>



<ul class="wp-block-list"><li><strong>Etiketler</strong> kısmı kaydırılabilir. İstenilen bir etiketin üzerine tıklayınca otomatik olarak kopyalanmış oluyor.</li><li>Videonun <strong>en yüksek kalitedeki thumbnaili</strong> gösteriliyor. <strong>İndir butonu</strong> ile indirilebilir.</li><li>En altta ise etiketlerin YouTube için özel olarak <strong>(,) ile ayrılmış</strong> halini gösteriyor. <strong>Kopyala butonu</strong> ile kopyalanıp kullanılabilir.</li></ul>



<p><strong>Uyarı:</strong> images klasörü <strong>silinmemelidir.</strong> Thumbnail indirme işlemi <strong>images</strong> klasörüne kaydedildikten sonra gerçekleşiyor.</p>



<p>Kaynak kodlarını aşağıdaki <strong>GitHub</strong> linkinden <strong>indirebilirsiniz.</strong> Kurulum gerektirmez direkt localhost&#8217;a atıp çalıştırabilirsiniz.</p>



<h2 class="has-text-align-center wp-block-heading"><a href="https://github.com/fovelas/youtube-video-etiket-bulucu" target="_blank" rel="noreferrer noopener nofollow"><strong>PHP YouTube Video Etiket Bulucu &#8211; GitHub</strong></a></h2>



<p></p>
<p>The post <a href="https://hknsoft.com/php-youtube-video-etiket-bulucu/">PHP YouTube Video Etiket Bulucu</a> appeared first on <a href="https://hknsoft.com">hknsoft</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PHP Basit Üyelik Sistemi</title>
		<link>https://hknsoft.com/php-basit-uyelik-sistemi/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sun, 01 Nov 2020 17:50:47 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[basit üyelik sistemi]]></category>
		<category><![CDATA[mysql üyelik sistemi]]></category>
		<category><![CDATA[php basit üyelik sistemi]]></category>
		<category><![CDATA[php mysql basit üyelik sistemi]]></category>
		<category><![CDATA[php mysql giriş yap sayfası yapmak]]></category>
		<category><![CDATA[php mysql kayıt ol sayfası yapmak]]></category>
		<category><![CDATA[php üye kayıt]]></category>
		<category><![CDATA[php üyelik sistemi]]></category>
		<category><![CDATA[php üyelik sistemi kaynak kodları]]></category>
		<category><![CDATA[php üyelik sistemi örnek kod]]></category>
		<category><![CDATA[php üyelik sistemi script]]></category>
		<guid isPermaLink="false">https://hknsoft.com/?p=911</guid>

					<description><![CDATA[<p>PHP ve MYSQL ile yazılmış basit bir üyelik sisteminin kodlarını sizinle paylaşacağım. Sistemde bulunan özellikler: Sistemden bazı görüntüler; Doğrulama maili; Kaynak kodlarını aşağıdaki GitHub linkinden <a class="mh-excerpt-more" href="https://hknsoft.com/php-basit-uyelik-sistemi/" title="PHP Basit Üyelik Sistemi">[...]</a></p>
<p>The post <a href="https://hknsoft.com/php-basit-uyelik-sistemi/">PHP Basit Üyelik Sistemi</a> appeared first on <a href="https://hknsoft.com">hknsoft</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-black-color has-text-color"><strong>PHP</strong> ve <strong>MYSQL</strong> ile yazılmış <a href="https://hknsoft.com/php-basit-uyelik-sistemi/"><strong>basit bir üyelik sisteminin</strong></a> kodlarını sizinle paylaşacağım.</p>



<p>Sistemde bulunan özellikler:</p>



<ul class="wp-block-list">
<li>Mail ile kullanıcı doğrulama</li>



<li>Giriş ve kayıt olma sayfaları</li>



<li>Şifre sıfırlama sayfası</li>
</ul>



<p>Sistemden bazı görüntüler;</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" width="1024" height="492" src="https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-giris-yap-1024x492.jpg" alt="PHP Basit Üyelik Sistemi" class="wp-image-1248" srcset="https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-giris-yap-1024x492.jpg 1024w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-giris-yap-300x144.jpg 300w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-giris-yap-150x72.jpg 150w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-giris-yap-768x369.jpg 768w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-giris-yap.jpg 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="492" src="https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-giris-yap-hatali-1024x492.jpg" alt="PHP Basit Üyelik Sistemi" class="wp-image-1243" srcset="https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-giris-yap-hatali-1024x492.jpg 1024w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-giris-yap-hatali-300x144.jpg 300w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-giris-yap-hatali-150x72.jpg 150w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-giris-yap-hatali-768x369.jpg 768w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-giris-yap-hatali.jpg 1365w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="492" src="https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-kayit-ol-1024x492.jpg" alt="PHP Basit Üyelik Sistemi" class="wp-image-1244" srcset="https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-kayit-ol-1024x492.jpg 1024w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-kayit-ol-300x144.jpg 300w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-kayit-ol-150x72.jpg 150w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-kayit-ol-768x369.jpg 768w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-kayit-ol.jpg 1365w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="492" src="https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-sifre-sifirla-1024x492.jpg" alt="PHP Basit Üyelik Sistemi" class="wp-image-1245" srcset="https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-sifre-sifirla-1024x492.jpg 1024w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-sifre-sifirla-300x144.jpg 300w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-sifre-sifirla-150x72.jpg 150w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-sifre-sifirla-768x369.jpg 768w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-sifre-sifirla.jpg 1365w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="492" src="https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-anasayfa-1024x492.jpg" alt="PHP Basit Üyelik Sistemi" class="wp-image-1246" srcset="https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-anasayfa-1024x492.jpg 1024w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-anasayfa-300x144.jpg 300w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-anasayfa-150x72.jpg 150w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-anasayfa-768x369.jpg 768w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-anasayfa.jpg 1365w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Doğrulama maili;</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="725" height="248" src="https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-dogrulama-maili.jpg" alt="PHP Basit Üyelik Sistemi" class="wp-image-1247" srcset="https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-dogrulama-maili.jpg 725w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-dogrulama-maili-300x103.jpg 300w, https://hknsoft.com/wp-content/uploads/2023/02/php-basit-uyelik-sistemi-dogrulama-maili-150x51.jpg 150w" sizes="auto, (max-width: 725px) 100vw, 725px" /></figure>
</div>


<p class="has-black-color has-text-color"><strong>Kaynak kodlarını</strong> aşağıdaki GitHub linkinden <strong>indirebilirsiniz.</strong> Ayrıca detaylı dokümantasyonu okumayı unutmayın.</p>



<h2 class="has-text-align-center wp-block-heading"><a href="https://github.com/fovelas/php-uyelik-sistemi" target="_blank" rel="noreferrer noopener nofollow"><strong>PHP Üyelik Sistemi &#8211; GitHub</strong></a></h2>
<p>The post <a href="https://hknsoft.com/php-basit-uyelik-sistemi/">PHP Basit Üyelik Sistemi</a> appeared first on <a href="https://hknsoft.com">hknsoft</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
