<?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>EvrenCe.Com &#187; Php</title>
	<atom:link href="http://www.evrence.com/konu/programlama/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.evrence.com</link>
	<description>Dünyaya bizim yanımızdan bakın ;)</description>
	<lastBuildDate>Wed, 21 Dec 2011 16:34:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PHP de DATETIME tipini değiştirme</title>
		<link>http://www.evrence.com/programlama/php/php-de-datetime-tipini-degistirme.html</link>
		<comments>http://www.evrence.com/programlama/php/php-de-datetime-tipini-degistirme.html#comments</comments>
		<pubDate>Sun, 13 Mar 2011 21:34:08 +0000</pubDate>
		<dc:creator>Evren Bayraktar</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[mysql2date fonksiyonu]]></category>
		<category><![CDATA[php date]]></category>
		<category><![CDATA[php date ay]]></category>
		<category><![CDATA[php date gun]]></category>
		<category><![CDATA[php date tipi]]></category>
		<category><![CDATA[php date tipini çevirme]]></category>
		<category><![CDATA[php date tipini değiştirme]]></category>
		<category><![CDATA[php date türkçe]]></category>

		<guid isPermaLink="false">http://www.evrence.com/?p=2361</guid>
		<description><![CDATA[Projelerimizde genelde MySql kulanıyoruz ve zaman biçimlerini DATETIME şeklinde kayıt ediyoruz. En<h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/wampserver-apache-port-degistirme.html" rel="bookmark" title="Wampserver Apache Port Değiştirme"><img src="http://www.evrence.com/wp-content/uploads/2011/03/wamp-server-small-150x150.png" width="70" height="50" alt="Wampserver Apache Port Değiştirme" />Wampserver Apache Port Değiştirme</a></strong>
WampServer, local bilgisayarlarımızda en çok kullandığımız hazır paketlerden birisi. Ayrıca, benimde vazgeçilmezlerimden..
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-rastgele-soz.html" rel="bookmark" title="PHP ile Rastgele Söz"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP ile Rastgele Söz" />PHP ile Rastgele Söz</a></strong>
Bazen projelerimizde rastgele sözler işimize yarayabilir. Tabiki bunu sadece söz ile kısıtlamamakta
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/turkce-php-kitabi.html" rel="bookmark" title="Türkçe PHP Kitabı"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Türkçe PHP Kitabı" />Türkçe PHP Kitabı</a></strong>
Gece dolanırken fark ettimki en çok rabet gören başlıklardan biriside bu. Türkçe
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/facebooka-ozel-icerik.html" rel="bookmark" title="Facebook&#8217;a özel içerik"><img src="http://www.evrence.com/wp-content/uploads/2010/08/2010-08-01_154518-150x39.png" width="70" height="50" alt="Facebook&#8217;a özel içerik" />Facebook&#8217;a özel içerik</a></strong>
Bazen projelerimizde sosyal medya paylaştırıcıları kullanırız. Hatta bu sıralar kullanmak zorundayız.. Şu&#8217;an
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/muzik/eurovision-2011-sarkisi-yuksek-sadakat-live-it-up.html" rel="bookmark" title="Eurovision 2011 Şarkısı: Yüksek Sadakat &#8211; Live It Up"><img src="http://www.evrence.com/wp-content/uploads/2011/02/Eurovision-2011-Yuksek-Sadakat-150x113.png" width="70" height="50" alt="Eurovision 2011 Şarkısı: Yüksek Sadakat &#8211; Live It Up" />Eurovision 2011 Şarkısı: Yüksek Sadakat &#8211; Live It Up</a></strong>
Eurovision 2011 şarkı yarışmasında ülkemizi Yüksek Sadakat&#8217;ın temsil edeceğini &#8220;Yüksek Sadakat Gidiyor&#8221;
</div>

	

]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-369" title="PHP-logo" src="http://www.evrence.com/wp-content/uploads/2009/06/800px-PHP-n_logo.svg-150x78.png" alt="" width="150" height="78" /></p>
<p>Projelerimizde genelde <strong>MySql</strong> kulanıyoruz ve zaman biçimlerini <strong>DATETIME</strong> şeklinde kayıt ediyoruz. En azından ben öyle yapıyorum.</p>
<p>Bu konuda birkaç sorunla karşılaşabiliyoruz. MySql, sütunumuz DATETIME tipine iken <strong>2011-03-12 22:32:25</strong> şeklinde verileri kayıt ediyor. Biz projelerimizde genelde bu uzun şekilde ekrana çıktı verdirmiyoruz. Bu çıktı tipini düzenlemek ise ilk başta düşündüğümüzde zormuş gibi görünüyor.</p>
<p>PHP nin yardımcı fonksiyonları olan date_format(); ve date_create(); fonksiyonları ile sorunumuzu basitce çözebiliyoruz.</p>
<pre class="brush: php">function TarihDuzenle($t) {

return date_format(date_create($t), &#039;H:i d/m/Y&#039;);

}</pre>
<p>şeklinde hazırladığım minik fonksiyon yardımınıza koşacaktır. Bu fonksiyonu</p>
<p>&nbsp;</p>
<pre class="brush: php">echo TarihDuzenle(&#039;2011-03-12 22:32:25&#039;);</pre>
<p>Şeklinde kullandığınızda ekrana gelecek olan çıktı;</p>
<pre class="brush: html">22:32 12/03/2011</pre>
<p>olacaktır.</p>
<blockquote><p><strong><em>İpucu:</em></strong></p>
<p><em>WordPress de ise bu işlemi mysql2date(); fonksiyonu ile kolayca yapabilirsiniz.</em></p></blockquote>
<img src="http://www.evrence.com/?ak_action=api_record_view&id=2361&type=feed" alt="" /><h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/wampserver-apache-port-degistirme.html" rel="bookmark" title="Wampserver Apache Port Değiştirme"><img src="http://www.evrence.com/wp-content/uploads/2011/03/wamp-server-small-150x150.png" width="70" height="50" alt="Wampserver Apache Port Değiştirme" />Wampserver Apache Port Değiştirme</a></strong><p>WampServer, local bilgisayarlarımızda en çok kullandığımız hazır paketlerden birisi. Ayrıca, benimde vazgeçilmezlerimden..</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-rastgele-soz.html" rel="bookmark" title="PHP ile Rastgele Söz"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP ile Rastgele Söz" />PHP ile Rastgele Söz</a></strong><p>Bazen projelerimizde rastgele sözler işimize yarayabilir. Tabiki bunu sadece söz ile kısıtlamamakta</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/turkce-php-kitabi.html" rel="bookmark" title="Türkçe PHP Kitabı"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Türkçe PHP Kitabı" />Türkçe PHP Kitabı</a></strong><p>Gece dolanırken fark ettimki en çok rabet gören başlıklardan biriside bu. Türkçe</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/facebooka-ozel-icerik.html" rel="bookmark" title="Facebook&#8217;a özel içerik"><img src="http://www.evrence.com/wp-content/uploads/2010/08/2010-08-01_154518-150x39.png" width="70" height="50" alt="Facebook&#8217;a özel içerik" />Facebook&#8217;a özel içerik</a></strong><p>Bazen projelerimizde sosyal medya paylaştırıcıları kullanırız. Hatta bu sıralar kullanmak zorundayız.. Şu&#8217;an</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/muzik/eurovision-2011-sarkisi-yuksek-sadakat-live-it-up.html" rel="bookmark" title="Eurovision 2011 Şarkısı: Yüksek Sadakat &#8211; Live It Up"><img src="http://www.evrence.com/wp-content/uploads/2011/02/Eurovision-2011-Yuksek-Sadakat-150x113.png" width="70" height="50" alt="Eurovision 2011 Şarkısı: Yüksek Sadakat &#8211; Live It Up" />Eurovision 2011 Şarkısı: Yüksek Sadakat &#8211; Live It Up</a></strong><p>Eurovision 2011 şarkı yarışmasında ülkemizi Yüksek Sadakat&#8217;ın temsil edeceğini &#8220;Yüksek Sadakat Gidiyor&#8221;</p>
</div>

	

]]></content:encoded>
			<wfw:commentRss>http://www.evrence.com/programlama/php/php-de-datetime-tipini-degistirme.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Php ile Dizin İçindeki Dosyaları Sayfalama</title>
		<link>http://www.evrence.com/programlama/php/php-ile-dizin-icindeki-dosyalari-sayfalama.html</link>
		<comments>http://www.evrence.com/programlama/php/php-ile-dizin-icindeki-dosyalari-sayfalama.html#comments</comments>
		<pubDate>Thu, 18 Nov 2010 13:01:51 +0000</pubDate>
		<dc:creator>Evren Bayraktar</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[dizin içindekileri sayfalama]]></category>
		<category><![CDATA[dosya sayfalama]]></category>
		<category><![CDATA[php dosya listeleme]]></category>
		<category><![CDATA[php dosya sayfalama]]></category>
		<category><![CDATA[php ile dizin içi sayfalama]]></category>

		<guid isPermaLink="false">http://www.evrence.com/?p=2126</guid>
		<description><![CDATA[Uzun zamandır php'de işinize yarayabilecek kodları paylaşamıyordum. Sağda solda birkaç kendini bilmez<h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-listeletme.html" rel="bookmark" title="Php ile Dizin Listeletme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin Listeletme" />Php ile Dizin Listeletme</a></strong>
Php ile dizin listeleme işlerini nasıl yapıcağımıza göz atıcaz. Hatta burada istek
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/tarayici-diline-gore-dil-secme-coklu-dil-destegi.html" rel="bookmark" title="Tarayıcı Diline Göre Dil Secme  &#8211; Çoklu Dil Desteği"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Tarayıcı Diline Göre Dil Secme  &#8211; Çoklu Dil Desteği" />Tarayıcı Diline Göre Dil Secme  &#8211; Çoklu Dil Desteği</a></strong>
Turk-php de konu geçince burada minik bi örnek hazırlayıp ekran cıktılarının nasıl
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dosya-cekme.html" rel="bookmark" title="PHP ile Dosya Çekme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP ile Dosya Çekme" />PHP ile Dosya Çekme</a></strong>
Turk-php de konusu geçince bu yazıyı hazırlamaya karar verdim. Örneğin bir sitedeki
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/qbasic/quick-basic-bolum-11.html" rel="bookmark" title="Quick Basic &#8211; Bölüm 11"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Quick Basic &#8211; Bölüm 11" />Quick Basic &#8211; Bölüm 11</a></strong>
Quick-Basic Kursu Bölüm 11: Dosya İşlemleri-2 Bu bölümde Random dosya oluşturma, dosyaya
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/qbasic/quick-basic-bolum-12.html" rel="bookmark" title="Quick Basic &#8211; Bölüm 12"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Quick Basic &#8211; Bölüm 12" />Quick Basic &#8211; Bölüm 12</a></strong>
Quick-Basic Kursu Bölüm 12: Dosya işlemleri-3 Yalnız metin içermeyen dosyalar vardır. Örneğin;
</div>

	

]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-369" title="PHP-logo" src="http://www.evrence.com/wp-content/uploads/2009/06/800px-PHP-n_logo.svg-150x78.png" alt="" width="150" height="78" /> Uzun zamandır php'de işinize yarayabilecek kodları paylaşamıyordum. Sağda solda birkaç kendini bilmez arkadaş, php-copy-paste üstadı oldukları için forumlarda paylaştığımız kodları derleyip kendileri hazırlamış gibi paylaşır oldular. Olsun, onlarda bir şekilde ekmek yiyecek.. Neyse. Biz gelelim esas konumuza;</p>
<p>Aşşağıda vereceğim kod ile, bir dizindeki dosyaları sayfalar halinde listeleyebileceksiniz. Atıyorum makalelerinizin olduğu bir klasör var, ve bu makaleleri 10'ar lı gruplar halinde sayfalamak istiyorsunuz. Bu noktada yardımınıza bu kod blogu koşuyor:</p>
<pre class="brush: php">&lt;?php
# EvrenWeb
# EvrenCe.Com 2009

$dizin = &quot;./makale&quot;;
$tutucu = opendir($dizin);

 while(($dosya = readdir($tutucu)))
  {
    if(is_file($dizin.&quot;/&quot;.$dosya))
   $makale[] = $dosya; }

closedir($tutucu);

$limit = 10;
$sf = $_GET[&quot;id&quot;];
if($sf &lt; 1) $sf = 1;
$toplam = count($makale);

$kactan = ($sf-1) * $limit;
$kaca = ($kactan+$limit);
if($kaca &gt; $toplam) $kaca = $toplam;

for($i=$kactan; $i &lt; $kaca; $i++){
echo &quot;&lt;p&gt;&quot;.($i+1).&quot;) &quot;.&quot;&lt;a href=&#039;&quot;.$dizin.&quot;/&quot;.$makale[$i].&quot;&#039; target=&#039;_blank&#039;&gt;&quot;.$makale[$i].&quot;&lt;/a&gt;&lt;/p&gt;&quot;;
}

echo &quot;&lt;p&gt;&quot;;
for($i=1; $i &lt;($toplam / $limit)+1; $i++){
if($sf == $i)
echo &quot;$i&quot;;
else
echo &quot;&lt;a href=&#039;index.php?page=makaleler&amp;id=$i&#039;&gt;\t$i&lt;/a&gt;\n&quot;;
}
echo &quot;&lt;/p&gt;\n&quot;;
?&gt;</pre>
<img src="http://www.evrence.com/?ak_action=api_record_view&id=2126&type=feed" alt="" /><h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-listeletme.html" rel="bookmark" title="Php ile Dizin Listeletme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin Listeletme" />Php ile Dizin Listeletme</a></strong><p>Php ile dizin listeleme işlerini nasıl yapıcağımıza göz atıcaz. Hatta burada istek</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/tarayici-diline-gore-dil-secme-coklu-dil-destegi.html" rel="bookmark" title="Tarayıcı Diline Göre Dil Secme  &#8211; Çoklu Dil Desteği"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Tarayıcı Diline Göre Dil Secme  &#8211; Çoklu Dil Desteği" />Tarayıcı Diline Göre Dil Secme  &#8211; Çoklu Dil Desteği</a></strong><p>Turk-php de konu geçince burada minik bi örnek hazırlayıp ekran cıktılarının nasıl</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dosya-cekme.html" rel="bookmark" title="PHP ile Dosya Çekme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP ile Dosya Çekme" />PHP ile Dosya Çekme</a></strong><p>Turk-php de konusu geçince bu yazıyı hazırlamaya karar verdim. Örneğin bir sitedeki</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/qbasic/quick-basic-bolum-11.html" rel="bookmark" title="Quick Basic &#8211; Bölüm 11"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Quick Basic &#8211; Bölüm 11" />Quick Basic &#8211; Bölüm 11</a></strong><p>Quick-Basic Kursu Bölüm 11: Dosya İşlemleri-2 Bu bölümde Random dosya oluşturma, dosyaya</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/qbasic/quick-basic-bolum-12.html" rel="bookmark" title="Quick Basic &#8211; Bölüm 12"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Quick Basic &#8211; Bölüm 12" />Quick Basic &#8211; Bölüm 12</a></strong><p>Quick-Basic Kursu Bölüm 12: Dosya işlemleri-3 Yalnız metin içermeyen dosyalar vardır. Örneğin;</p>
</div>

	

]]></content:encoded>
			<wfw:commentRss>http://www.evrence.com/programlama/php/php-ile-dizin-icindeki-dosyalari-sayfalama.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook&#8217;a özel içerik</title>
		<link>http://www.evrence.com/programlama/php/facebooka-ozel-icerik.html</link>
		<comments>http://www.evrence.com/programlama/php/facebooka-ozel-icerik.html#comments</comments>
		<pubDate>Sun, 01 Aug 2010 13:30:49 +0000</pubDate>
		<dc:creator>Evren Bayraktar</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[facebook external hit]]></category>
		<category><![CDATA[facebook özel php]]></category>
		<category><![CDATA[facebooka özel html]]></category>
		<category><![CDATA[facebooka özel kod]]></category>
		<category><![CDATA[özel içerik]]></category>
		<category><![CDATA[sitemi facebook'un ziyaret ettiğini nasıl anlarım]]></category>

		<guid isPermaLink="false">http://www.evrence.com/?p=2001</guid>
		<description><![CDATA[Bazen projelerimizde sosyal medya paylaştırıcıları kullanırız. Hatta bu sıralar kullanmak zorundayız.. Şu'an<h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/pascal/pascal-ozel-veri-tipleri.html" rel="bookmark" title="Pascal &#8211; Özel Veri Tipleri"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Pascal &#8211; Özel Veri Tipleri" />Pascal &#8211; Özel Veri Tipleri</a></strong>
- Veri Tipleri Pascal programlama dilinde tanımlı olamayan fakat programcı tarafından tanımlanıp
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-listeletme.html" rel="bookmark" title="Php ile Dizin Listeletme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin Listeletme" />Php ile Dizin Listeletme</a></strong>
Php ile dizin listeleme işlerini nasıl yapıcağımıza göz atıcaz. Hatta burada istek
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/facebook-sayfaniza-paylas-butonu-ekleyin.html" rel="bookmark" title="Facebook Sayfanıza Paylaş Butonu Ekleyin"><img src="http://www.evrence.com/wp-content/uploads/2010/02/2010-02-03_033558-124x150.png" width="70" height="50" alt="Facebook Sayfanıza Paylaş Butonu Ekleyin" />Facebook Sayfanıza Paylaş Butonu Ekleyin</a></strong>
Static FBML konusuna girmişken sıcağı sıcağına hemen bir örnek vereyim dedim. Static
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/site-tanitim/alamarka-ozel-alisveris-kulubu.html" rel="bookmark" title="AlaMarka &#8211; Özel Alışveriş Kulübü"><img src="http://www.evrence.com/wp-content/uploads/2011/02/AlaMarka.jpg" width="70" height="50 alt="AlaMarka &#8211; Özel Alışveriş Kulübü" />AlaMarka &#8211; Özel Alışveriş Kulübü</a></strong>
ModaKolik&#8217;in yazarı, EvrenCe&#8217;nin takım arkadaşı Betül den yeni bir site öğrendim. Günümüzde
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/facebook-sayfasina-sayac-ekleme.html" rel="bookmark" title="Facebook Sayfasına Sayaç Ekleme"><img src="http://www.evrence.com/wp-content/uploads/2010/02/2010-02-06_025206-150x13.png" width="70" height="50" alt="Facebook Sayfasına Sayaç Ekleme" />Facebook Sayfasına Sayaç Ekleme</a></strong>
Facebook sayfanıza nasıl müzik ekliyeceğinizi, paylaş butonunu nasıl yapıcağınızı anlatmıştım. Tabi kendi
</div>

	

]]></description>
			<content:encoded><![CDATA[<p>Bazen projelerimizde sosyal medya paylaştırıcıları kullanırız. Hatta bu sıralar kullanmak zorundayız.. Şu'an bu yazının altında da gördüğünüz facebook paylaşım aracına özel sayfa göstermek istiyorsanız bu yazı size göre !</p>
<p>İçeriğinizi facebook ile paylaşırken şu tarz bir link kullanıyorsunuz.</p>
<p><em>http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.evrence.com/programlama/fbml/facebooka-farkli-muzik-calar-ekleme.html&amp;t=Facebook’a Farklı Müzik Çalar Ekleme</em></p>
<p>Burada, facebook üzerinde bulunan share.php ye bilgi yolluyor, share.php de, sitenize gelip içeriği kontrol edip</p>
<p><a href="http://www.evrence.com/wp-content/uploads/2010/08/2010-08-01_154518.png"><img class="size-full wp-image-2002 aligncenter" title="2010-08-01_154518" src="http://www.evrence.com/wp-content/uploads/2010/08/2010-08-01_154518.png" alt="" width="451" height="119" /></a></p>
<p>yukarıda gördüğünüz gibi minik bir taslak çıkarıyor. Mevzu aslında bundan ibaret. Peki biz içeriğimizi facebook'a özel nasıl göstereceğiz bu yazıda ona değineceğim.</p>
<p><em>Bu işi facebook'da müzik paylaşırken yapma ihtiyacı duymuştum. Her ne kadar şuan yayında olan bir site olmasada müziklerinizi facebook music player üzerinden paylaşma imkanı sağlayan bir taslağım elimde mevcut. Bu işi nasıl yaptığımı kimse anlamasın diye içeriğimi facebook'a özel gösteriyordum. Yapacak olan adam dökümantasyondan arayıp bulabilir, dünyayı yeniden keşfetmiyoruz nede olsa. Gerçi nasıl yaptığım konusunda bir yazı yazmayıda düşünmüyor değilim neyse..</em></p>
<p>Share.php yi sunucuma davet ettiğimde, sordum kendisine sen kimsin neyin fesisin diye. Bana şöyle bir çıktı verdirtti,</p>
<p><em>HTTP_USER_AGENT: </em><em>facebookexternalhit/1.1 (+<a href="http://www.facebook.com/externalhit_uatext.php" target="_blank">http://www.facebook.com/externalhit_uatext.php</a>)<br />
</em></p>
<p>Facebook, kendisini böyle tanımlatıyordu. Muhtemelen biz geliştiriciler için hazırlanmış birşey <img src='http://www.evrence.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Bundan sonrası iki satır kod parçası..<span id="more-2001"></span></p>
<pre class="brush: php">&lt;?php

$al = explode(&quot;/&quot;, $_SERVER[&#039;HTTP_USER_AGENT&#039;]);

if($al[&quot;0&quot;] == &quot;facebookexternalhit&quot;) {

# Facebook&#039;a özel içerik kodlarınız bu arada yer almalı.

}

?&gt;</pre>
<p>Burada $al["0"], facebook'un ben geldim (facebookexternalhit) demesinin karşılığıdır. Basit bir mantık kontrolü ile yukarıdaki örnekteki gibi facebook'a özel içeriğinizi bastırabilirsiniz.</p>
<p><em>Bu yazı internet üzerinde bir ilk olup, <strong>çalıp - çırpmazsanız</strong>, emeğe saygı gösterirseniz sevinirim..</em></p>
<img src="http://www.evrence.com/?ak_action=api_record_view&id=2001&type=feed" alt="" /><h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/pascal/pascal-ozel-veri-tipleri.html" rel="bookmark" title="Pascal &#8211; Özel Veri Tipleri"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Pascal &#8211; Özel Veri Tipleri" />Pascal &#8211; Özel Veri Tipleri</a></strong><p>- Veri Tipleri Pascal programlama dilinde tanımlı olamayan fakat programcı tarafından tanımlanıp</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-listeletme.html" rel="bookmark" title="Php ile Dizin Listeletme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin Listeletme" />Php ile Dizin Listeletme</a></strong><p>Php ile dizin listeleme işlerini nasıl yapıcağımıza göz atıcaz. Hatta burada istek</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/facebook-sayfaniza-paylas-butonu-ekleyin.html" rel="bookmark" title="Facebook Sayfanıza Paylaş Butonu Ekleyin"><img src="http://www.evrence.com/wp-content/uploads/2010/02/2010-02-03_033558-124x150.png" width="70" height="50" alt="Facebook Sayfanıza Paylaş Butonu Ekleyin" />Facebook Sayfanıza Paylaş Butonu Ekleyin</a></strong><p>Static FBML konusuna girmişken sıcağı sıcağına hemen bir örnek vereyim dedim. Static</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/site-tanitim/alamarka-ozel-alisveris-kulubu.html" rel="bookmark" title="AlaMarka &#8211; Özel Alışveriş Kulübü"><img src="http://www.evrence.com/wp-content/uploads/2011/02/AlaMarka.jpg" width="70" height="50 alt="AlaMarka &#8211; Özel Alışveriş Kulübü" />AlaMarka &#8211; Özel Alışveriş Kulübü</a></strong><p>ModaKolik&#8217;in yazarı, EvrenCe&#8217;nin takım arkadaşı Betül den yeni bir site öğrendim. Günümüzde</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/facebook-sayfasina-sayac-ekleme.html" rel="bookmark" title="Facebook Sayfasına Sayaç Ekleme"><img src="http://www.evrence.com/wp-content/uploads/2010/02/2010-02-06_025206-150x13.png" width="70" height="50" alt="Facebook Sayfasına Sayaç Ekleme" />Facebook Sayfasına Sayaç Ekleme</a></strong><p>Facebook sayfanıza nasıl müzik ekliyeceğinizi, paylaş butonunu nasıl yapıcağınızı anlatmıştım. Tabi kendi</p>
</div>

	

]]></content:encoded>
			<wfw:commentRss>http://www.evrence.com/programlama/php/facebooka-ozel-icerik.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>PHP&#8217;de Session Zamanını Belirlemek</title>
		<link>http://www.evrence.com/programlama/php/phpde-session-zamanini-belirlemek.html</link>
		<comments>http://www.evrence.com/programlama/php/phpde-session-zamanini-belirlemek.html#comments</comments>
		<pubDate>Sat, 23 Jan 2010 02:06:53 +0000</pubDate>
		<dc:creator>Evren Bayraktar</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[php de session]]></category>
		<category><![CDATA[session silinme süresi]]></category>
		<category><![CDATA[Session süresi nasıl belirlenir]]></category>
		<category><![CDATA[session zaman aşımı]]></category>

		<guid isPermaLink="false">http://www.evrence.com/?p=1228</guid>
		<description><![CDATA[PHP de oturum işlemleri gibi önemli işlerde genelde $_SESSION değişkeni kullanılır. Mesela<h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/tarayici-diline-gore-dil-secme-coklu-dil-destegi.html" rel="bookmark" title="Tarayıcı Diline Göre Dil Secme  &#8211; Çoklu Dil Desteği"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Tarayıcı Diline Göre Dil Secme  &#8211; Çoklu Dil Desteği" />Tarayıcı Diline Göre Dil Secme  &#8211; Çoklu Dil Desteği</a></strong>
Turk-php de konu geçince burada minik bi örnek hazırlayıp ekran cıktılarının nasıl
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dosya-cekme.html" rel="bookmark" title="PHP ile Dosya Çekme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP ile Dosya Çekme" />PHP ile Dosya Çekme</a></strong>
Turk-php de konusu geçince bu yazıyı hazırlamaya karar verdim. Örneğin bir sitedeki
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-icindeki-dosyalari-sayfalama.html" rel="bookmark" title="Php ile Dizin İçindeki Dosyaları Sayfalama"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin İçindeki Dosyaları Sayfalama" />Php ile Dizin İçindeki Dosyaları Sayfalama</a></strong>
Uzun zamandır php&#8217;de işinize yarayabilecek kodları paylaşamıyordum. Sağda solda birkaç kendini bilmez
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/qbasic/quick-basic-bolum-6.html" rel="bookmark" title="Quick Basic &#8211; Bölüm 6"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Quick Basic &#8211; Bölüm 6" />Quick Basic &#8211; Bölüm 6</a></strong>
Quick-Basic Kursu Bölüm 6: Diziler Dizilere neden ihtiyaç duyulur? Çünkü binlerce değişkeni
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ve-flash-ile-geri-sayim-islemi.html" rel="bookmark" title="Php ve Flash ile Geri Sayım İşlemi"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ve Flash ile Geri Sayım İşlemi" />Php ve Flash ile Geri Sayım İşlemi</a></strong>
Azda olsa işimize gerekebiliyor bu tarz uygulamalar. Bilgisayarımı karıştırırken karşıma çıkan bu
</div>

	

]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-369" title="PHP-logo" src="http://www.evrence.com/wp-content/uploads/2009/06/800px-PHP-n_logo.svg-150x78.png" alt="" width="150" height="78" />PHP de oturum işlemleri gibi önemli işlerde genelde $_SESSION değişkeni kullanılır. Mesela üyenizin sitenizde oturum açıp açmadığını session yardımı ile kontrol eder, gerekli bilgiler sisteminize bu session değişkeni üzerinden aktarırsınız. Olmazsa olmazlardan birisidir yani.</p>
<p>Session konusunda karşımıza çıkabilecek bir problem olan session zamanını ayarlamaktır. Mesela üye, 10 dakika boyunca herhangi bir işlem yapmadı ise o oturumu sonlandırmak, üyeniz için faydalı bir özellik olabilir. İnternet cafeden sitenize erişmiştir ve çıkış yapmadan kalktı ise ondan sonra gelen, sitenizi sanki oymuş gibi kullanabilir, istenmeyen şeylerin olmasına sebep olabilir. Sizde programcı olarak bu gibi durumları göz önünde bulundurmalısınız. Peki bu kontrolü nasıl sağlarsınız. Pekçok yöntemi var fakat programlama mantığınızın gelişmesi açısından aşşağıda vereceğim örnek, en iyi örnek olsa gerek..</p>
<pre class="brush: php">session_start();
// timeout periyodu, sn olarak
$inactive = 600;

if(isset($_SESSION[&#039;timeout&#039;]) ) {
$session_life = time() - $_SESSION[&#039;timeout&#039;];
if($session_life &gt; $inactive)
{ session_destroy(); header(&quot;Location: cikis.php&quot;); }
}

$_SESSION[&#039;timeout&#039;] = time();</pre>
<p>Yukarıdaki kodu yorumlayamadıysanız php.ini dosyanıza dalıp gerekli ayarlamayı yapabilirsiniz. php.ini de bulunan <strong>session.gc_maxlifetime</strong> değişkeni ile session un zamanını ayarlayabilirsiniz. Bu değer ön tanımlı olarak 1440 saniyedir. Fakat pek çok hosting sağlayıcısı bunun üzerinde sizlere oynama imkanı vermeyecektir o yüzden başka bir yol olan .htaccess üzerinden işimizi halledeceğiz.</p>
<p>php_value session.gc_maxlifetime 300</p>
<p>kodunu .htaccess dosyamıza ekleyerek session ömrünü 300 <strong>saniye</strong> yapabiliriz. Kontrol etmek için ise .htacess in bulunduğu klasörde bir sayfa oluşturup phpinfo() fonksiyonunun çıktısına bakmaktır.</p>
<p>Unix sistemlerde sessionlarımız /tmp klasöründe saklanır. Bu klasör sistem tarafından belirli araklıklarla temizlendiği için istemediğimiz durumlar ortaya çıkabilir. Bunu değiştirmek istersek, yukarıdakine benzer şekilde php.ini den yada .htaccess dosyasından yapabiliriz. php.ini ye erişimimizin olmayacağını varsayarak direk .htaccess için bilgi vereceğim,</p>
<p>php_value session_save_path /klasörün_yeri</p>
<p>yukarıdaki parametreyi ekleyerek /tmp klasörünü değiştirebiliriz.</p>
<p>Sessionlar ile ilgili daha detaylı bilgiler edinmek isterseniz <a href="http://www.php.net/manual/tr/ref.session.php">burayı</a> inceleyebilirisiniz.</p>
<img src="http://www.evrence.com/?ak_action=api_record_view&id=1228&type=feed" alt="" /><h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/tarayici-diline-gore-dil-secme-coklu-dil-destegi.html" rel="bookmark" title="Tarayıcı Diline Göre Dil Secme  &#8211; Çoklu Dil Desteği"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Tarayıcı Diline Göre Dil Secme  &#8211; Çoklu Dil Desteği" />Tarayıcı Diline Göre Dil Secme  &#8211; Çoklu Dil Desteği</a></strong><p>Turk-php de konu geçince burada minik bi örnek hazırlayıp ekran cıktılarının nasıl</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dosya-cekme.html" rel="bookmark" title="PHP ile Dosya Çekme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP ile Dosya Çekme" />PHP ile Dosya Çekme</a></strong><p>Turk-php de konusu geçince bu yazıyı hazırlamaya karar verdim. Örneğin bir sitedeki</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-icindeki-dosyalari-sayfalama.html" rel="bookmark" title="Php ile Dizin İçindeki Dosyaları Sayfalama"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin İçindeki Dosyaları Sayfalama" />Php ile Dizin İçindeki Dosyaları Sayfalama</a></strong><p>Uzun zamandır php&#8217;de işinize yarayabilecek kodları paylaşamıyordum. Sağda solda birkaç kendini bilmez</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/qbasic/quick-basic-bolum-6.html" rel="bookmark" title="Quick Basic &#8211; Bölüm 6"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Quick Basic &#8211; Bölüm 6" />Quick Basic &#8211; Bölüm 6</a></strong><p>Quick-Basic Kursu Bölüm 6: Diziler Dizilere neden ihtiyaç duyulur? Çünkü binlerce değişkeni</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ve-flash-ile-geri-sayim-islemi.html" rel="bookmark" title="Php ve Flash ile Geri Sayım İşlemi"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ve Flash ile Geri Sayım İşlemi" />Php ve Flash ile Geri Sayım İşlemi</a></strong><p>Azda olsa işimize gerekebiliyor bu tarz uygulamalar. Bilgisayarımı karıştırırken karşıma çıkan bu</p>
</div>

	

]]></content:encoded>
			<wfw:commentRss>http://www.evrence.com/programlama/php/phpde-session-zamanini-belirlemek.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PHP ile Rastgele Söz</title>
		<link>http://www.evrence.com/programlama/php/php-ile-rastgele-soz.html</link>
		<comments>http://www.evrence.com/programlama/php/php-ile-rastgele-soz.html#comments</comments>
		<pubDate>Wed, 02 Sep 2009 22:16:53 +0000</pubDate>
		<dc:creator>Evren Bayraktar</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[PHP ile Rastgele Söz]]></category>
		<category><![CDATA[PHP ve Rastgele İşlemleri]]></category>

		<guid isPermaLink="false">http://www.evrence.com/?p=601</guid>
		<description><![CDATA[Bazen projelerimizde rastgele sözler işimize yarayabilir. Tabiki bunu sadece söz ile kısıtlamamakta<h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/jquery/jquery-ve-lightbox.html" rel="bookmark" title="jQuery ve LightBox"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="jQuery ve LightBox" />jQuery ve LightBox</a></strong>
Turk-php de bir arkadaşımızın isteği üzerine lightbox hakkında bir örnek yaptım. Aslına
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/jquery/jquery-vs-mootools.html" rel="bookmark" title="jQuery vs Mootools"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="jQuery vs Mootools" />jQuery vs Mootools</a></strong>
For the past few years javascript libraries have dominated the market. Very
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/genel/dizi-oyunculari-paralari-goturuyor.html" rel="bookmark" title="Dizi Oyuncuları Paraları Götürüyor !"><img src="http://www.evrence.com/wp-content/uploads/2009/10/dizi-oyunculari-150x112.jpg" width="70" height="50" alt="Dizi Oyuncuları Paraları Götürüyor !" />Dizi Oyuncuları Paraları Götürüyor !</a></strong>
Artık diziler çok moda oldu. Televizyonlarımızda 70 tane dizi yayınlanıyormuş. Bu kadar
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-de-datetime-tipini-degistirme.html" rel="bookmark" title="PHP de DATETIME tipini değiştirme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP de DATETIME tipini değiştirme" />PHP de DATETIME tipini değiştirme</a></strong>
Projelerimizde genelde MySql kulanıyoruz ve zaman biçimlerini DATETIME şeklinde kayıt ediyoruz. En
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/google-page-rank-checker.html" rel="bookmark" title="Google Page Rank Checker"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Google Page Rank Checker" />Google Page Rank Checker</a></strong>
Geçenlerde bay egonomik karşma bununla çıktı. Bu işte anlayın google page rank
</div>

	

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.evrence.com/wp-content/uploads/2009/06/800px-PHP-n_logo.svg.png"><img class="alignleft size-thumbnail wp-image-369" title="PHP-logo" src="http://www.evrence.com/wp-content/uploads/2009/06/800px-PHP-n_logo.svg-150x78.png" alt="PHP-logo" width="150" height="78" /></a>Bazen projelerimizde rastgele sözler işimize yarayabilir. Tabiki bunu sadece söz ile kısıtlamamakta lazım. Mesela yayınlamış olduğum <a href="http://www.evrence.com/programlama/proje/wordpress-icin-yazi-ici-reklam-eklentisi.html">in-post advertisment</a> isimli wordpress eklentimde de bu yol izlenerek rastgele reklam gösterme işlemini yapmıştım.</p>
<p>Şimdi ise sizlere bu php de rastgele işlemlerinin yolunu göstermek amacıyla blog'umda <strong><a href="http://www.evrence.com/etiket/albert-einstein">Albert Einstein</a>'ın</strong> sözlerinin olduğu kısımın altyapısını anlatacağım.</p>
<p>Burada sözlerimizi bir dizi altında topladım. Bu dizi içerisinden de herhangi bir elemanı php nin <a href="http://us2.php.net/manual/tr/function.array-rand.php">array_rand</a> fonksiyonu sayesinde seçtim.</p>
<p>Kalabalık etmemesi için birkaç tane sözü yazacağım buraya.<span id="more-601"></span></p>
<pre class="brush: php">&lt;?php

$soz[]=&quot;3. Dünya savaşında hangi silahların kullanılacağını bilmiyorum ama 4. Dünya savaşında taş ve sopalar olacağını biliyorum.&quot;;
$soz[]=&quot;A&#039;yı hayatta başarı olarak tanımlayalım, o zaman A = X + Y + Z&#039; dir; X çalışmaktır, Y oyundur Z ise çenesini tutmayı bilmektir.&quot;;
$soz[]=&quot;Açlıktan karnı guruldayandan dürüst politikacı olmaz.&quot;;
srand((float) microtime() * 10000000);
echo $soz[array_rand($soz)];

?&gt;</pre>
<p>Rastgele söz seçmek için gerekli olan kısım bundan ibaret. Fakat ben temanın içerisinde bu oluşturulan sözü jQuery ile ekliyorum.</p>
<pre class="brush: javascript">

&lt;script type=&quot;text/javascript&quot;&gt;

$(document).ready(function(){

$(&#039;#h_right&#039;).html(&#039;&lt;p&gt;Güzel bir yazı gelecek..&lt;/p&gt;&#039;);

$(&#039;.h_right&#039;).load(&#039;http://www.evrence.com/soz.php&#039;);

});

&lt;/script&gt;
</pre>
<p>jQuery nin load() fonksiyonu ile oluşturduğum sözü sizlerle paylaşıyorum <img src='http://www.evrence.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://www.evrence.com/?ak_action=api_record_view&id=601&type=feed" alt="" /><h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/jquery/jquery-ve-lightbox.html" rel="bookmark" title="jQuery ve LightBox"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="jQuery ve LightBox" />jQuery ve LightBox</a></strong><p>Turk-php de bir arkadaşımızın isteği üzerine lightbox hakkında bir örnek yaptım. Aslına</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/jquery/jquery-vs-mootools.html" rel="bookmark" title="jQuery vs Mootools"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="jQuery vs Mootools" />jQuery vs Mootools</a></strong><p>For the past few years javascript libraries have dominated the market. Very</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/genel/dizi-oyunculari-paralari-goturuyor.html" rel="bookmark" title="Dizi Oyuncuları Paraları Götürüyor !"><img src="http://www.evrence.com/wp-content/uploads/2009/10/dizi-oyunculari-150x112.jpg" width="70" height="50" alt="Dizi Oyuncuları Paraları Götürüyor !" />Dizi Oyuncuları Paraları Götürüyor !</a></strong><p>Artık diziler çok moda oldu. Televizyonlarımızda 70 tane dizi yayınlanıyormuş. Bu kadar</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-de-datetime-tipini-degistirme.html" rel="bookmark" title="PHP de DATETIME tipini değiştirme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP de DATETIME tipini değiştirme" />PHP de DATETIME tipini değiştirme</a></strong><p>Projelerimizde genelde MySql kulanıyoruz ve zaman biçimlerini DATETIME şeklinde kayıt ediyoruz. En</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/google-page-rank-checker.html" rel="bookmark" title="Google Page Rank Checker"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Google Page Rank Checker" />Google Page Rank Checker</a></strong><p>Geçenlerde bay egonomik karşma bununla çıktı. Bu işte anlayın google page rank</p>
</div>

	

]]></content:encoded>
			<wfw:commentRss>http://www.evrence.com/programlama/php/php-ile-rastgele-soz.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Php ve Flash ile Geri Sayım İşlemi</title>
		<link>http://www.evrence.com/programlama/php/php-ve-flash-ile-geri-sayim-islemi.html</link>
		<comments>http://www.evrence.com/programlama/php/php-ve-flash-ile-geri-sayim-islemi.html#comments</comments>
		<pubDate>Tue, 01 Sep 2009 21:04:07 +0000</pubDate>
		<dc:creator>Evren Bayraktar</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[flash ile geri sayım]]></category>
		<category><![CDATA[php ile geri sayım]]></category>

		<guid isPermaLink="false">http://www.evrence.com/?p=584</guid>
		<description><![CDATA[Azda olsa işimize gerekebiliyor bu tarz uygulamalar. Bilgisayarımı karıştırırken karşıma çıkan bu<h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/flash/piecemaker-flash-xml-resim-galerisi.html" rel="bookmark" title="Piecemaker Flash XML Resim Galerisi"><img src="http://www.evrence.com/wp-content/uploads/2010/04/2-150x75.jpg" width="70" height="50" alt="Piecemaker Flash XML Resim Galerisi" />Piecemaker Flash XML Resim Galerisi</a></strong>
Flash ile yapılmış gerçekten güzel bir 3D resim galerisi. XML desteği ile
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/video/helal-elemana.html" rel="bookmark" title="Hehe Kıyamam :P"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Hehe Kıyamam :P" />Hehe Kıyamam :P</a></strong>
İzlerken koptum walla Kıyamam onaa
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/video/ufakligin-carpim-tablosu.html" rel="bookmark" title="Ufaklığın Çarpım Tablosu"><img src="http://www.evrence.com/wp-content/uploads/2009/05/carpim-tablosu-150x106.jpg" width="70" height="50" alt="Ufaklığın Çarpım Tablosu" />Ufaklığın Çarpım Tablosu</a></strong>
Bir önceki yazımda geri zekalının çarpım tablosunu ararken diye bahsetmiştim. İşte bu
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/video/google-hacks-google-arama-hileleri.html" rel="bookmark" title="Google Hacks &#8211; Google Arama Hileleri"><img src="http://www.evrence.com/wp-content/uploads/2009/05/google-logo-150x73.jpg" width="70" height="50" alt="Google Hacks &#8211; Google Arama Hileleri" />Google Hacks &#8211; Google Arama Hileleri</a></strong>
Arama motoru olarak pek çoğumuz google&#8217;ı kullanıyoruz. Ama tam olarak istediğimiz sonuca
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/video/idareee-edemem-annee.html" rel="bookmark" title="İdareee edemem annee :)"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="İdareee edemem annee :)" />İdareee edemem annee :)</a></strong>
Bu videoyu sanal alemde izlemeyen kalmamıştır heralde
</div>

	

]]></description>
			<content:encoded><![CDATA[<p>Azda olsa işimize gerekebiliyor bu tarz uygulamalar. Bilgisayarımı karıştırırken karşıma çıkan bu uygulamayı sizlerle paylaşayım istedim.</p>
<p><object type="application/x-shockwave-flash" data="http://www.evrenweb.net/ornek/php/geri-sayim/fl_countdown_v3_3.swf?mo=9&da=02&snd=off" width="250" height="60"><param name="movie" value="http://www.evrenweb.net/ornek/php/geri-sayim/fl_countdown_v3_3.swf?mo=9&da=02&snd=off" /></object></p>
<p>Görünümünde bir geri sayım uygulaması. HTML kodundaki birkaç parametre ile işinizi kolayca halledebilirsiniz. Şimdi gerekli kodumuzu ve parametlerimizi tanıyalım.</p>
<pre class="brush: html">&lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;fl_countdown_v3_3.swf?mo=9&amp;amp;amp;amp;da=02&amp;amp;amp;amp;snd=on&quot; width=&quot;250&quot; height=&quot;60&quot;&gt;
&lt;param name=&quot;movie&quot; value=&quot;fl_countdown_v3_3.swf?mo=9&amp;amp;amp;amp;da=02&amp;amp;amp;amp;snd=on&quot; /&gt;
	&lt;/object&gt;
</pre>
<p>Buradaki <strong>mo</strong>, <strong>da</strong> ve <strong>snd</strong> bizim ilgili parametrelerimiz. Bu değerler ile oynayarak geri sayılacak tarihi belirleyebiliriz. Ben burada dokuzuncu ayın ikinci gününe (Doğum günüme) geri saydırma işlemi yaptırdım <img src='http://www.evrence.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ul>
<li>mo = ay</li>
<li>da = gün</li>
<li>snd = ses</li>
</ul>
<p>ilgili parametrelerimiz ve anlamlarıda bunlar. Bu geri sayım uygulamasının örneğini <a href="http://www.evrenweb.net/ornek/php/geri-sayim/fl_countdown_v3_3.zip">buradan</a> indirebilirsiniz.</p>
<img src="http://www.evrence.com/?ak_action=api_record_view&id=584&type=feed" alt="" /><h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/flash/piecemaker-flash-xml-resim-galerisi.html" rel="bookmark" title="Piecemaker Flash XML Resim Galerisi"><img src="http://www.evrence.com/wp-content/uploads/2010/04/2-150x75.jpg" width="70" height="50" alt="Piecemaker Flash XML Resim Galerisi" />Piecemaker Flash XML Resim Galerisi</a></strong><p>Flash ile yapılmış gerçekten güzel bir 3D resim galerisi. XML desteği ile</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/video/helal-elemana.html" rel="bookmark" title="Hehe Kıyamam :P"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Hehe Kıyamam :P" />Hehe Kıyamam :P</a></strong><p>İzlerken koptum walla Kıyamam onaa</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/video/ufakligin-carpim-tablosu.html" rel="bookmark" title="Ufaklığın Çarpım Tablosu"><img src="http://www.evrence.com/wp-content/uploads/2009/05/carpim-tablosu-150x106.jpg" width="70" height="50" alt="Ufaklığın Çarpım Tablosu" />Ufaklığın Çarpım Tablosu</a></strong><p>Bir önceki yazımda geri zekalının çarpım tablosunu ararken diye bahsetmiştim. İşte bu</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/video/google-hacks-google-arama-hileleri.html" rel="bookmark" title="Google Hacks &#8211; Google Arama Hileleri"><img src="http://www.evrence.com/wp-content/uploads/2009/05/google-logo-150x73.jpg" width="70" height="50" alt="Google Hacks &#8211; Google Arama Hileleri" />Google Hacks &#8211; Google Arama Hileleri</a></strong><p>Arama motoru olarak pek çoğumuz google&#8217;ı kullanıyoruz. Ama tam olarak istediğimiz sonuca</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/video/idareee-edemem-annee.html" rel="bookmark" title="İdareee edemem annee :)"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="İdareee edemem annee :)" />İdareee edemem annee :)</a></strong><p>Bu videoyu sanal alemde izlemeyen kalmamıştır heralde</p>
</div>

	

]]></content:encoded>
			<wfw:commentRss>http://www.evrence.com/programlama/php/php-ve-flash-ile-geri-sayim-islemi.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Timthumb ile resim büyütme</title>
		<link>http://www.evrence.com/programlama/php/timthumb-ile-resim-buyultme.html</link>
		<comments>http://www.evrence.com/programlama/php/timthumb-ile-resim-buyultme.html#comments</comments>
		<pubDate>Thu, 27 Aug 2009 21:29:12 +0000</pubDate>
		<dc:creator>Evren Bayraktar</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[php ile resim büyütme]]></category>
		<category><![CDATA[php ile resim işlemleri]]></category>
		<category><![CDATA[php ile resim kırpma]]></category>
		<category><![CDATA[php ile resim küçültme]]></category>
		<category><![CDATA[timthumb]]></category>

		<guid isPermaLink="false">http://www.evrence.com/?p=571</guid>
		<description><![CDATA[Birçok wordpress temasında timthumb aktif olarak kullanılıyor. Bilmeyenler için kısaca açıklayayım timthumb'un<h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/jquery/jquery-vs-mootools.html" rel="bookmark" title="jQuery vs Mootools"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="jQuery vs Mootools" />jQuery vs Mootools</a></strong>
For the past few years javascript libraries have dominated the market. Very
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-resim-uzerine-yazi-yazma-scripti.html" rel="bookmark" title="PHP İle Resim Üzerine Yazı Yazma Scripti"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP İle Resim Üzerine Yazı Yazma Scripti" />PHP İle Resim Üzerine Yazı Yazma Scripti</a></strong>
Sahile, köprüye istediğimiz yazıyı yazdırdığımız birçok site mevcuttu bunları hepimiz biliyoruzdur. Fakat
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/flash/piecemaker-flash-xml-resim-galerisi.html" rel="bookmark" title="Piecemaker Flash XML Resim Galerisi"><img src="http://www.evrence.com/wp-content/uploads/2010/04/2-150x75.jpg" width="70" height="50" alt="Piecemaker Flash XML Resim Galerisi" />Piecemaker Flash XML Resim Galerisi</a></strong>
Flash ile yapılmış gerçekten güzel bir 3D resim galerisi. XML desteği ile
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-de-datetime-tipini-degistirme.html" rel="bookmark" title="PHP de DATETIME tipini değiştirme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP de DATETIME tipini değiştirme" />PHP de DATETIME tipini değiştirme</a></strong>
Projelerimizde genelde MySql kulanıyoruz ve zaman biçimlerini DATETIME şeklinde kayıt ediyoruz. En
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-rastgele-soz.html" rel="bookmark" title="PHP ile Rastgele Söz"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP ile Rastgele Söz" />PHP ile Rastgele Söz</a></strong>
Bazen projelerimizde rastgele sözler işimize yarayabilir. Tabiki bunu sadece söz ile kısıtlamamakta
</div>

	

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.evrence.com/wp-content/uploads/2009/06/800px-PHP-n_logo.svg.png"><img src="http://www.evrence.com/wp-content/uploads/2009/06/800px-PHP-n_logo.svg-150x78.png" alt="PHP-logo" title="PHP-logo" width="150" height="78" class="alignleft size-thumbnail wp-image-369" /></a>Birçok wordpress temasında timthumb aktif olarak kullanılıyor. Bilmeyenler için kısaca açıklayayım timthumb'un ne olduğunu. timthumb resimlerin ön izlemelerini (thumbnail) oluşturmanıza yarayan, cache destekli kod parçacığıdır.</p>
<p>Evet dediğim gibi ön izlemelerini oluştırmaya yarayan. Fakat her zaman ön izlemlerini oluşturmak istemeyiz. Resim kalitesinden ödün versek bile mecbur olduğumuz durumlarda gerekli resimi büyültmemiz gerekebilir. En azından benim bu sıralar üzerinde çalıştığım bir temada bu gerekti.<span id="more-571"></span></p>
<pre class="brush: php">&lt;?php
/*
	TimThumb script created by Tim McDaniels and Darren Hoyt with tweaks by Ben Gillbanks

http://code.google.com/p/timthumb/

	MIT License: http://www.opensource.org/licenses/mit-license.php

	Paramters
	---------
	w: width
	h: height
	zc: zoom crop (0 or 1)
	q: quality (default is 75 and max is 100)

	HTML example: &lt;img src=&quot;/scripts/timthumb.php?src=/images/whatever.jpg&amp;amp;w=150&amp;amp;h=200&amp;amp;zc=1&quot; alt=&quot;&quot; /&gt;
*/

/*
$sizeLimits = array(
	&quot;100x100&quot;,
	&quot;150x150&quot;,
);
*/

define (&#039;CACHE_SIZE&#039;, 250);		// number of files to store before clearing cache
define (&#039;CACHE_CLEAR&#039;, 5);		// maximum number of files to delete on each cache clear
define (&#039;VERSION&#039;, &#039;1.09&#039;);		// version number (to force a cache refresh

$imageFilters = array(
	&quot;1&quot; =&gt; array(IMG_FILTER_NEGATE, 0),
	&quot;2&quot; =&gt; array(IMG_FILTER_GRAYSCALE, 0),
	&quot;3&quot; =&gt; array(IMG_FILTER_BRIGHTNESS, 1),
	&quot;4&quot; =&gt; array(IMG_FILTER_CONTRAST, 1),
	&quot;5&quot; =&gt; array(IMG_FILTER_COLORIZE, 4),
	&quot;6&quot; =&gt; array(IMG_FILTER_EDGEDETECT, 0),
	&quot;7&quot; =&gt; array(IMG_FILTER_EMBOSS, 0),
	&quot;8&quot; =&gt; array(IMG_FILTER_GAUSSIAN_BLUR, 0),
	&quot;9&quot; =&gt; array(IMG_FILTER_SELECTIVE_BLUR, 0),
	&quot;10&quot; =&gt; array(IMG_FILTER_MEAN_REMOVAL, 0),
	&quot;11&quot; =&gt; array(IMG_FILTER_SMOOTH, 0),
);

// sort out image source
$src = get_request(&quot;src&quot;, &quot;&quot;);
if($src == &quot;&quot; || strlen($src) &lt;= 3) {
	displayError(&quot;no image specified&quot;);
}

// clean params before use
$src = cleanSource($src);
// last modified time (for caching)
$lastModified = filemtime($src);

// get properties
$new_width 		= preg_replace(&quot;/[^0-9]+/&quot;, &quot;&quot;, get_request(&quot;w&quot;, 0));
$new_height 	= preg_replace(&quot;/[^0-9]+/&quot;, &quot;&quot;, get_request(&quot;h&quot;, 0));
$zoom_crop 		= preg_replace(&quot;/[^0-9]+/&quot;, &quot;&quot;, get_request(&quot;zc&quot;, 1));
$quality 		= preg_replace(&quot;/[^0-9]+/&quot;, &quot;&quot;, get_request(&quot;q&quot;, 80));
$filters		= get_request(&quot;f&quot;, &quot;&quot;);

if ($new_width == 0 &amp;amp;&amp;amp; $new_height == 0) {
	$new_width = 100;
	$new_height = 100;
}

// set path to cache directory (default is ./cache)
// this can be changed to a different location
$cache_dir = &#039;./cache&#039;;

// get mime type of src
$mime_type = mime_type($src);

// check to see if this image is in the cache already
check_cache( $cache_dir, $mime_type );

// if not in cache then clear some space and generate a new file
cleanCache();

ini_set(&#039;memory_limit&#039;, &quot;30M&quot;);

// make sure that the src is gif/jpg/png
if(!valid_src_mime_type($mime_type)) {
	displayError(&quot;Invalid src mime type: &quot; .$mime_type);
}

// check to see if GD function exist
if(!function_exists(&#039;imagecreatetruecolor&#039;)) {
	displayError(&quot;GD Library Error: imagecreatetruecolor does not exist&quot;);
}

if(strlen($src) &amp;amp;&amp;amp; file_exists($src)) {

	// open the existing image
	$image = open_image($mime_type, $src);
	if($image === false) {
		displayError(&#039;Unable to open image : &#039; . $src);
	}

	// Get original width and height
	$width = imagesx($image);
	$height = imagesy($image);
	/*
	Ben kaldırdım.. Buradan başlar
	// don&#039;t allow new width or height to be greater than the original
	if( $new_width &gt; $width ) {
		$new_width = $width;
	}
	if( $new_height &gt; $height ) {
		$new_height = $height;
	}

	// generate new w/h if not provided
	if( $new_width &amp;amp;&amp;amp; !$new_height ) {

		$new_height = $height * ( $new_width / $width );

	} elseif($new_height &amp;amp;&amp;amp; !$new_width) {

		$new_width = $width * ( $new_height / $height );

	} elseif(!$new_width &amp;amp;&amp;amp; !$new_height) {

		$new_width = $width;
		$new_height = $height;

	}
	Burada biter
	*/

	// create a new true color image
	$canvas = imagecreatetruecolor( $new_width, $new_height );
	imagealphablending($canvas, false);
	// Create a new transparent color for image
	$color = imagecolorallocatealpha($canvas, 0, 0, 0, 127);
	// Completely fill the background of the new image with allocated color.
	imagefill($canvas, 0, 0, $color);
	// Restore transparency blending
	imagesavealpha($canvas, true);

	/* Başlar
	if( $zoom_crop ) {

		$src_x = $src_y = 0;
		$src_w = $width;
		$src_h = $height;

		$cmp_x = $width  / $new_width;
		$cmp_y = $height / $new_height;

		// calculate x or y coordinate and width or height of source

		if ( $cmp_x &gt; $cmp_y ) {

			$src_w = round( ( $width / $cmp_x * $cmp_y ) );
			$src_x = round( ( $width - ( $width / $cmp_x * $cmp_y ) ) / 2 );

		} elseif ( $cmp_y &gt; $cmp_x ) {

			$src_h = round( ( $height / $cmp_y * $cmp_x ) );
			$src_y = round( ( $height - ( $height / $cmp_y * $cmp_x ) ) / 2 );

		}

		imagecopyresampled( $canvas, $image, 0, 0, $src_x, $src_y, $new_width, $new_height, $src_w, $src_h );

	 } else {

		// copy and resize part of an image with resampling
		imagecopyresampled( $canvas, $image, 0, 0, 0, 0, $new_width, $new_height, $width, $height );

	} 

	Biter*/
	# Alttaki Satırı ben ekledim.
	imagecopyresampled( $canvas, $image, 0, 0, 0, 0, $new_width, $new_height, $width, $height );

	if ($filters != &quot;&quot;) {
		// apply filters to image
		$filterList = explode(&quot;|&quot;, $filters);
		foreach($filterList as $fl) {
			$filterSettings = explode(&quot;,&quot;, $fl);
			if(isset($imageFilters[$filterSettings[0]])) {

				for($i = 0; $i &lt; 4; $i ++) {
					if(!isset($filterSettings[$i])) {
						$filterSettings[$i] = null;
					}
				}

				switch($imageFilters[$filterSettings[0]][1]) {

					case 1:

						imagefilter($canvas, $imageFilters[$filterSettings[0]][0], $filterSettings[1]);
						break;

					case 2:

						imagefilter($canvas, $imageFilters[$filterSettings[0]][0], $filterSettings[1], $filterSettings[2]);
						break;

					case 3:

						imagefilter($canvas, $imageFilters[$filterSettings[0]][0], $filterSettings[1], $filterSettings[2], $filterSettings[3]);
						break;

					default:

						imagefilter($canvas, $imageFilters[$filterSettings[0]][0]);
						break;

				}
			}
		}
	}

	// output image to browser based on mime type
	show_image($mime_type, $canvas, $cache_dir);

	// remove image from memory
	imagedestroy($canvas);

} else {

	if(strlen($src)) {
		displayError(&quot;image &quot; . $src . &quot; not found&quot;);
	} else {
		displayError(&quot;no source specified&quot;);
	}

}

/**
 *
 */
function show_image($mime_type, $image_resized, $cache_dir) {

	global $quality;

	// check to see if we can write to the cache directory
	$is_writable = 0;
	$cache_file_name = $cache_dir . &#039;/&#039; . get_cache_file();

	if(touch($cache_file_name)) {

		// give 666 permissions so that the developer
		// can overwrite web server user
		chmod($cache_file_name, 0666);
		$is_writable = 1;

	} else {

		$cache_file_name = NULL;
		header(&#039;Content-type: &#039; . $mime_type);

	}

	$quality = floor($quality * 0.09);

	imagepng($image_resized, $cache_file_name, $quality);

	if($is_writable) {
		show_cache_file($cache_dir, $mime_type);
	}

	imagedestroy($image_resized);

	displayError(&quot;error showing image&quot;);

}

/**
 *
 */
function get_request( $property, $default = 0 ) {

	if( isset($_REQUEST[$property]) ) {

		return $_REQUEST[$property];

	} else {

		return $default;

	}

}

/**
 *
 */
function open_image($mime_type, $src) {

	if(stristr($mime_type, &#039;gif&#039;)) {

		$image = imagecreatefromgif($src);

	} elseif(stristr($mime_type, &#039;jpeg&#039;)) {

		@ini_set(&#039;gd.jpeg_ignore_warning&#039;, 1);
		$image = imagecreatefromjpeg($src);

	} elseif( stristr($mime_type, &#039;png&#039;)) {

		$image = imagecreatefrompng($src);

	}

	return $image;

}

/**
 * clean out old files from the cache
 * you can change the number of files to store and to delete per loop in the defines at the top of the code
 */
function cleanCache() {

	$files = glob(&quot;cache/*&quot;, GLOB_BRACE);

	$yesterday = time() - (24 * 60 * 60);

	if (count($files) &gt; 0) {

		usort($files, &quot;filemtime_compare&quot;);
		$i = 0;

		if (count($files) &gt; CACHE_SIZE) {

			foreach ($files as $file) {

				$i ++;

				if ($i &gt;= CACHE_CLEAR) {
					return;
				}

				if (filemtime($file) &gt; $yesterday) {
					return;
				}

				unlink($file);

			}

		}

	}

}

/**
 * compare the file time of two files
 */
function filemtime_compare($a, $b) {

	return filemtime($a) - filemtime($b);

}

/**
 * determine the file mime type
 */
function mime_type($file) {

	if (stristr(PHP_OS, &#039;WIN&#039;)) {
		$os = &#039;WIN&#039;;
	} else {
		$os = PHP_OS;
	}

	$mime_type = &#039;&#039;;

	if (function_exists(&#039;mime_content_type&#039;)) {
		$mime_type = mime_content_type($file);
	}

	// use PECL fileinfo to determine mime type
	if (!valid_src_mime_type($mime_type)) {
		if (function_exists(&#039;finfo_open&#039;)) {
			$finfo = finfo_open(FILEINFO_MIME);
			$mime_type = finfo_file($finfo, $file);
			finfo_close($finfo);
		}
	}

	// try to determine mime type by using unix file command
	// this should not be executed on windows
    if (!valid_src_mime_type($mime_type) &amp;amp;&amp;amp; $os != &quot;WIN&quot;) {
		if (preg_match(&quot;/FREEBSD|LINUX/&quot;, $os)) {
			$mime_type = trim(@shell_exec(&#039;file -bi &quot;&#039; . $file . &#039;&quot;&#039;));
		}
	}

	// use file&#039;s extension to determine mime type
	if (!valid_src_mime_type($mime_type)) {

		// set defaults
		$mime_type = &#039;image/png&#039;;
		// file details
		$fileDetails = pathinfo($file);
		$ext = strtolower($fileDetails[&quot;extension&quot;]);
		// mime types
		$types = array(
 			&#039;jpg&#039;  =&gt; &#039;image/jpeg&#039;,
 			&#039;jpeg&#039; =&gt; &#039;image/jpeg&#039;,
 			&#039;png&#039;  =&gt; &#039;image/png&#039;,
 			&#039;gif&#039;  =&gt; &#039;image/gif&#039;
 		);

		if (strlen($ext) &amp;amp;&amp;amp; strlen($types[$ext])) {
			$mime_type = $types[$ext];
		}

	}

	return $mime_type;

}

/**
 *
 */
function valid_src_mime_type($mime_type) {

	if (preg_match(&quot;/jpg|jpeg|gif|png/i&quot;, $mime_type)) {
		return true;
	}

	return false;

}

/**
 *
 */
function check_cache($cache_dir, $mime_type) {

	// make sure cache dir exists
	if (!file_exists($cache_dir)) {
		// give 777 permissions so that developer can overwrite
		// files created by web server user
		mkdir($cache_dir);
		chmod($cache_dir, 0777);
	}

	show_cache_file($cache_dir, $mime_type);

}

/**
 *
 */
function show_cache_file($cache_dir) {

	$cache_file = $cache_dir . &#039;/&#039; . get_cache_file();

	if (file_exists($cache_file)) {

		$gmdate_mod = gmdate(&quot;D, d M Y H:i:s&quot;, filemtime($cache_file));

		if(! strstr($gmdate_mod, &quot;GMT&quot;)) {
			$gmdate_mod .= &quot; GMT&quot;;
		}

		if (isset($_SERVER[&quot;HTTP_IF_MODIFIED_SINCE&quot;])) {

			// check for updates
			$if_modified_since = preg_replace(&quot;/;.*$/&quot;, &quot;&quot;, $_SERVER[&quot;HTTP_IF_MODIFIED_SINCE&quot;]);

			if ($if_modified_since == $gmdate_mod) {
				header(&quot;HTTP/1.1 304 Not Modified&quot;);
				exit;
			}

		}

		$fileSize = filesize($cache_file);

		// send headers then display image
		header(&quot;Content-Type: image/png&quot;);
		header(&quot;Accept-Ranges: bytes&quot;);
		header(&quot;Last-Modified: &quot; . $gmdate_mod);
		header(&quot;Content-Length: &quot; . $fileSize);
		header(&quot;Cache-Control: max-age=9999, must-revalidate&quot;);
		header(&quot;Expires: &quot; . $gmdate_mod);

		readfile($cache_file);

		exit;

	}

}

/**
 *
 */
function get_cache_file() {

	global $lastModified;
	static $cache_file;

	if(!$cache_file) {
		$cachename = $_SERVER[&#039;QUERY_STRING&#039;] . VERSION . $lastModified;
		$cache_file = md5($cachename) . &#039;.png&#039;;
	}

	return $cache_file;

}

/**
 * check to if the url is valid or not
 */
function valid_extension ($ext) {

	if (preg_match(&quot;/jpg|jpeg|png|gif/i&quot;, $ext)) {
		return TRUE;
	} else {
		return FALSE;
	}

}

/**
 * tidy up the image source url
 */
function cleanSource($src) {

	// remove slash from start of string
	if(strpos($src, &quot;/&quot;) == 0) {
		$src = substr($src, -(strlen($src) - 1));
	}

	// remove http/ https/ ftp
	$src = preg_replace(&quot;/^((ht|f)tp(s|):\/\/)/i&quot;, &quot;&quot;, $src);
	// remove domain name from the source url
	$host = $_SERVER[&quot;HTTP_HOST&quot;];
	$src = str_replace($host, &quot;&quot;, $src);
	$host = str_replace(&quot;www.&quot;, &quot;&quot;, $host);
	$src = str_replace($host, &quot;&quot;, $src);

	// don&#039;t allow users the ability to use &#039;../&#039;
	// in order to gain access to files below document root

	// src should be specified relative to document root like:
	// src=images/img.jpg or src=/images/img.jpg
	// not like:
	// src=../images/img.jpg
	$src = preg_replace(&quot;/\.\.+\//&quot;, &quot;&quot;, $src);

	// get path to image on file system
	$src = get_document_root($src) . &#039;/&#039; . $src;	

	return $src;

}

/**
 *
 */

function get_document_root ($src) {

	// check for unix servers
	if(@file_exists($_SERVER[&#039;DOCUMENT_ROOT&#039;] . &#039;/&#039; . $src)) {
		return $_SERVER[&#039;DOCUMENT_ROOT&#039;];
	}

	// check from script filename (to get all directories to timthumb location)
	$parts = array_diff(explode(&#039;/&#039;, $_SERVER[&#039;SCRIPT_FILENAME&#039;]), explode(&#039;/&#039;, $_SERVER[&#039;DOCUMENT_ROOT&#039;]));
	$path = $_SERVER[&#039;DOCUMENT_ROOT&#039;] . &#039;/&#039;;
	foreach ($parts as $part) {
		$path .= $part . &#039;/&#039;;
		if (file_exists($path . $src)) {
			return $path;
		}
	}	

	// the relative paths below are useful if timthumb is moved outside of document root
	// specifically if installed in wordpress themes like mimbo pro:
	// /wp-content/themes/mimbopro/scripts/timthumb.php
	$paths = array(
		&quot;.&quot;,
		&quot;..&quot;,
		&quot;../..&quot;,
		&quot;../../..&quot;,
		&quot;../../../..&quot;,
		&quot;../../../../..&quot;
	);

	foreach($paths as $path) {
		if(@file_exists($path . &#039;/&#039; . $src)) {
			return $path;
		}
	}

	// special check for microsoft servers
	if(!isset($_SERVER[&#039;DOCUMENT_ROOT&#039;])) {
    	$path = str_replace(&quot;/&quot;, &quot;\\&quot;, $_SERVER[&#039;ORIG_PATH_INFO&#039;]);
    	$path = str_replace($path, &quot;&quot;, $_SERVER[&#039;SCRIPT_FILENAME&#039;]);

    	if( @file_exists( $path . &#039;/&#039; . $src ) ) {
    		return $path;
    	}
	}	

	displayError(&#039;file not found &#039; . $src);

}

/**
 * generic error message
 */
function displayError($errorString = &#039;&#039;) {

	header(&#039;HTTP/1.1 400 Bad Request&#039;);
	die($errorString);

}
?&gt;</pre>
<p>Bu bizim timthumb.php miz. Bu isimde kayıt edelim elimizin altında bulunsun.</p>
<p>Resim kırpma işlemlerinde kalite azalmasınveya başka sebeplerden dolayı oranlara göre kırpma işlemi yapılır. Ben burada onun aktifliğini kaldırdım. Kod betiği içerisinde de açıklamalar mevcut, nereden nereye kadar kaldırıldığı konusunda. Bu özelliği kaldırdığım için siz ne yükseklik ve genişlik değeri verirseniz, timthumb o değeri uygulayacaktır. Gelelim kullanımına,</p>
<p><a href="http://www.darrenhoyt.com/2008/04/02/timthumb-php-script-released/">Bu adresde</a> ingilizce olarak anlatılmış.</p>
<p>Timthumb eğer izinleri yeterse otomatik olarak bulunduğu dizinde bir cache klasörü yaratacaktır. Eğer yaratamamışsa, siz yaratıp chmod ayarınıda 777 yapınız.</p>
<p>Timthumb'ın paremetreleri</p>
<ul>
<li>w = genişlik</li>
<li>h = yükseklik</li>
<li>zc = zoom crop (orantılı kırpma) (0 yada 1)</li>
<li>q= kalite (Varsayılan 75, maksimum 100)</li>
</ul>
<p>Örnek kullanım şekli</p>
<pre class="brush: html">&lt;img src=&quot;/scripts/timthumb.php?src=/images/whatever.jpg&amp;amp;h=150&amp;amp;w=150&amp;amp;zc=1&amp;amp;q=85&quot; alt=&quot;&quot;&gt;</pre>
<p>Benim yukarıda verdğim, editlenmiş hali. zoom crop özelliği devre dışı bıraklımıştır. Örnek kullanımda verdiğiniz yükseklik ve genişlik değerleri aynen resminize uygulanır. Eğer gerçek timthumb ile çalışmak istiyorsanız <a href="http://www.darrenhoyt.com/2008/04/02/timthumb-php-script-released/">timthumb</a> sayfasına göz gezdirebilirsiniz.</p>
<img src="http://www.evrence.com/?ak_action=api_record_view&id=571&type=feed" alt="" /><h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/jquery/jquery-vs-mootools.html" rel="bookmark" title="jQuery vs Mootools"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="jQuery vs Mootools" />jQuery vs Mootools</a></strong><p>For the past few years javascript libraries have dominated the market. Very</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-resim-uzerine-yazi-yazma-scripti.html" rel="bookmark" title="PHP İle Resim Üzerine Yazı Yazma Scripti"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP İle Resim Üzerine Yazı Yazma Scripti" />PHP İle Resim Üzerine Yazı Yazma Scripti</a></strong><p>Sahile, köprüye istediğimiz yazıyı yazdırdığımız birçok site mevcuttu bunları hepimiz biliyoruzdur. Fakat</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/flash/piecemaker-flash-xml-resim-galerisi.html" rel="bookmark" title="Piecemaker Flash XML Resim Galerisi"><img src="http://www.evrence.com/wp-content/uploads/2010/04/2-150x75.jpg" width="70" height="50" alt="Piecemaker Flash XML Resim Galerisi" />Piecemaker Flash XML Resim Galerisi</a></strong><p>Flash ile yapılmış gerçekten güzel bir 3D resim galerisi. XML desteği ile</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-de-datetime-tipini-degistirme.html" rel="bookmark" title="PHP de DATETIME tipini değiştirme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP de DATETIME tipini değiştirme" />PHP de DATETIME tipini değiştirme</a></strong><p>Projelerimizde genelde MySql kulanıyoruz ve zaman biçimlerini DATETIME şeklinde kayıt ediyoruz. En</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-rastgele-soz.html" rel="bookmark" title="PHP ile Rastgele Söz"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP ile Rastgele Söz" />PHP ile Rastgele Söz</a></strong><p>Bazen projelerimizde rastgele sözler işimize yarayabilir. Tabiki bunu sadece söz ile kısıtlamamakta</p>
</div>

	

]]></content:encoded>
			<wfw:commentRss>http://www.evrence.com/programlama/php/timthumb-ile-resim-buyultme.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Sitenizin WordPress Tabanlı Olduğunu Gizlemek</title>
		<link>http://www.evrence.com/programlama/php/sitenizin-wordpress-tabanli-oldugunu-gizlemek.html</link>
		<comments>http://www.evrence.com/programlama/php/sitenizin-wordpress-tabanli-oldugunu-gizlemek.html#comments</comments>
		<pubDate>Fri, 21 Aug 2009 16:36:01 +0000</pubDate>
		<dc:creator>Evren Bayraktar</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Teknoloji]]></category>
		<category><![CDATA[Sitenin wordpress olduğunu gizlemek]]></category>
		<category><![CDATA[Wordpress Sürümü Gizlemek]]></category>
		<category><![CDATA[wp-content gizlemek]]></category>

		<guid isPermaLink="false">http://www.evrence.com/?p=519</guid>
		<description><![CDATA[Bu sıralar worpress sistemine takmış durumdayım. Tatilde iken worpress bileşenlerini, çalışma sistemini<h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/proje/wordpress-icin-yazi-ici-reklam-eklentisi.html" rel="bookmark" title="WordPress için yazı içi reklam eklentisi"><img src="http://www.evrence.com/wp-content/uploads/2009/08/wordpress-150x100.jpg" width="70" height="50" alt="WordPress için yazı içi reklam eklentisi" />WordPress için yazı içi reklam eklentisi</a></strong>
In Post Advertisment &#8211; Yazı İçi Reklam Eklentisi Ben bu eklentiye ingilizce
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/eklentilerimizi-wordpress-eklenti-dizinine-eklemek.html" rel="bookmark" title="Eklentilerimizi WordPress Eklenti Dizinine Eklemek"><img src="http://www.evrence.com/wp-content/uploads/2009/08/wordpress-logo-shine-150x140.jpg" width="70" height="50" alt="Eklentilerimizi WordPress Eklenti Dizinine Eklemek" />Eklentilerimizi WordPress Eklenti Dizinine Eklemek</a></strong>
Yazmış olduğum yazı içi reklam eklentisini wordpress eklenti dizinine de eklemiştim. Eğer
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-rastgele-soz.html" rel="bookmark" title="PHP ile Rastgele Söz"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP ile Rastgele Söz" />PHP ile Rastgele Söz</a></strong>
Bazen projelerimizde rastgele sözler işimize yarayabilir. Tabiki bunu sadece söz ile kısıtlamamakta
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/timthumb-ile-resim-buyultme.html" rel="bookmark" title="Timthumb ile resim büyütme"><img src="http://www.evrence.com/wp-content/uploads/2009/06/800px-PHP-n_logo.svg-150x78.png" width="70" height="50" alt="Timthumb ile resim büyütme" />Timthumb ile resim büyütme</a></strong>
Birçok wordpress temasında timthumb aktif olarak kullanılıyor. Bilmeyenler için kısaca açıklayayım timthumb&#8217;un
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/phpde-session-zamanini-belirlemek.html" rel="bookmark" title="PHP&#8217;de Session Zamanını Belirlemek"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP&#8217;de Session Zamanını Belirlemek" />PHP&#8217;de Session Zamanını Belirlemek</a></strong>
PHP de oturum işlemleri gibi önemli işlerde genelde $_SESSION değişkeni kullanılır. Mesela
</div>

	

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.evrence.com/wp-content/uploads/2009/08/wordpress-logo-shine.jpg"><img class="imgleft size-medium wp-image-520" title="wordpress-logo-shine" src="http://www.evrence.com/wp-content/uploads/2009/08/wordpress-logo-shine-300x281.jpg" alt="wordpress-logo-shine" width="161" height="152" /></a> Bu sıralar worpress sistemine takmış durumdayım. Tatilde iken worpress bileşenlerini, çalışma sistemini baya incelemiştim. Olay nereden başlıyor nerede bitiyor..</p>
<p>Hep kafama takılmıştır wp-content klasörü. İncelemem sırasında wordpress'de bunu değiştirebileceğimizin farkına vardım. Bunu yapmak çok kolay aslında. Ana dizindeki wp-settings.php yi editlememiz gerekiyor.</p>
<p>Satır 113 deki,</p>
<p>
<pre class="brush: php">113 define( &#039;WP_CONTENT_DIR&#039;, ABSPATH . &#039;wp-content&#039; );</pre>
</p>
<p>Buradaki wp-content yazısını istediğiniz dizin ismi ile değiştirin. Ondan sonra 356. satırdaki</p>
<p>
<pre class="brush: php">356 define( &#039;WP_CONTENT_URL&#039;, get_option(&#039;siteurl&#039;) . &#039;/wp-content&#039;);</pre>
</p>
<p>wp-content yazısını aynı şekilde değiştirin. İşlem budur <img src='http://www.evrence.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Yukarıdaki işlemi yapmanız yeterlidir. Fakat, size tavisiyem wp-settings.php içindeki bütün wp-content yazılarını istediğiniz isim ile değiştirmenizdir. </p>
<p>İşlem budur dedik ama üzerine de bir cila çeksek iyi olur.<span id="more-519"></span></p>
<p>WordPress otomatik olarak sürüm bilgisini meta olarak kaynak koduna eklemekte. </p>
<blockquote><p>&lt;meta name="generator" content="WordPress 2.8.4" /&gt;</p>
</blockquote>
<p>Bu da gizleme işlemimize engel oluyor. Bunu kaldırmak da çok kolay. Kullandığımız temanın functions.php dosyasına (yoksa oluşturabilirsiniz. Oluşturdu isteniz başına <strong><code>&lt;? </code></strong> , sonuna <strong><code>?&gt;</code></strong> koyun)</p>
<pre class="brush: php">remove_action(&#039;wp_head&#039;, &#039;wp_generator&#039;);</pre>
<p>eklemeniz yeterli olucaktır.</p>
<p>Yanlız burada bir lisans da söz konusu. Bu dediğim işlemi sitenizi kötü niyetli kişilerden korumak için kullanınız. Aksi halde worpress ile aranızdaki durum beni bağlamaz.</p>
<blockquote><p>Not: <strong>Bu yazıyı deneyip yazdım!</strong> Eklentilerinizde sorun çıkabilir, bütün eklentileri kontrol altına almak mümkün olmayacaktır.</p></blockquote>
<img src="http://www.evrence.com/?ak_action=api_record_view&id=519&type=feed" alt="" /><h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/proje/wordpress-icin-yazi-ici-reklam-eklentisi.html" rel="bookmark" title="WordPress için yazı içi reklam eklentisi"><img src="http://www.evrence.com/wp-content/uploads/2009/08/wordpress-150x100.jpg" width="70" height="50" alt="WordPress için yazı içi reklam eklentisi" />WordPress için yazı içi reklam eklentisi</a></strong><p>In Post Advertisment &#8211; Yazı İçi Reklam Eklentisi Ben bu eklentiye ingilizce</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/eklentilerimizi-wordpress-eklenti-dizinine-eklemek.html" rel="bookmark" title="Eklentilerimizi WordPress Eklenti Dizinine Eklemek"><img src="http://www.evrence.com/wp-content/uploads/2009/08/wordpress-logo-shine-150x140.jpg" width="70" height="50" alt="Eklentilerimizi WordPress Eklenti Dizinine Eklemek" />Eklentilerimizi WordPress Eklenti Dizinine Eklemek</a></strong><p>Yazmış olduğum yazı içi reklam eklentisini wordpress eklenti dizinine de eklemiştim. Eğer</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-rastgele-soz.html" rel="bookmark" title="PHP ile Rastgele Söz"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP ile Rastgele Söz" />PHP ile Rastgele Söz</a></strong><p>Bazen projelerimizde rastgele sözler işimize yarayabilir. Tabiki bunu sadece söz ile kısıtlamamakta</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/timthumb-ile-resim-buyultme.html" rel="bookmark" title="Timthumb ile resim büyütme"><img src="http://www.evrence.com/wp-content/uploads/2009/06/800px-PHP-n_logo.svg-150x78.png" width="70" height="50" alt="Timthumb ile resim büyütme" />Timthumb ile resim büyütme</a></strong><p>Birçok wordpress temasında timthumb aktif olarak kullanılıyor. Bilmeyenler için kısaca açıklayayım timthumb&#8217;un</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/phpde-session-zamanini-belirlemek.html" rel="bookmark" title="PHP&#8217;de Session Zamanını Belirlemek"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP&#8217;de Session Zamanını Belirlemek" />PHP&#8217;de Session Zamanını Belirlemek</a></strong><p>PHP de oturum işlemleri gibi önemli işlerde genelde $_SESSION değişkeni kullanılır. Mesela</p>
</div>

	

]]></content:encoded>
			<wfw:commentRss>http://www.evrence.com/programlama/php/sitenizin-wordpress-tabanli-oldugunu-gizlemek.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP ile Dosya Çekme</title>
		<link>http://www.evrence.com/programlama/php/php-ile-dosya-cekme.html</link>
		<comments>http://www.evrence.com/programlama/php/php-ile-dosya-cekme.html#comments</comments>
		<pubDate>Fri, 15 May 2009 00:22:27 +0000</pubDate>
		<dc:creator>Evren Bayraktar</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[dosya indirme]]></category>
		<category><![CDATA[php dosya indirme]]></category>
		<category><![CDATA[php ile dosya]]></category>
		<category><![CDATA[php ile dosya çekme]]></category>

		<guid isPermaLink="false">http://www.evrence.com/?p=314</guid>
		<description><![CDATA[Turk-php de konusu geçince bu yazıyı hazırlamaya karar verdim. Örneğin bir sitedeki<h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-listeletme.html" rel="bookmark" title="Php ile Dizin Listeletme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin Listeletme" />Php ile Dizin Listeletme</a></strong>
Php ile dizin listeleme işlerini nasıl yapıcağımıza göz atıcaz. Hatta burada istek
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/jquery/jquery-ve-lightbox.html" rel="bookmark" title="jQuery ve LightBox"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="jQuery ve LightBox" />jQuery ve LightBox</a></strong>
Turk-php de bir arkadaşımızın isteği üzerine lightbox hakkında bir örnek yaptım. Aslına
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-resim-uzerine-yazi-yazma-scripti.html" rel="bookmark" title="PHP İle Resim Üzerine Yazı Yazma Scripti"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP İle Resim Üzerine Yazı Yazma Scripti" />PHP İle Resim Üzerine Yazı Yazma Scripti</a></strong>
Sahile, köprüye istediğimiz yazıyı yazdırdığımız birçok site mevcuttu bunları hepimiz biliyoruzdur. Fakat
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ve-flash-ile-geri-sayim-islemi.html" rel="bookmark" title="Php ve Flash ile Geri Sayım İşlemi"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ve Flash ile Geri Sayım İşlemi" />Php ve Flash ile Geri Sayım İşlemi</a></strong>
Azda olsa işimize gerekebiliyor bu tarz uygulamalar. Bilgisayarımı karıştırırken karşıma çıkan bu
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-icindeki-dosyalari-sayfalama.html" rel="bookmark" title="Php ile Dizin İçindeki Dosyaları Sayfalama"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin İçindeki Dosyaları Sayfalama" />Php ile Dizin İçindeki Dosyaları Sayfalama</a></strong>
Uzun zamandır php&#8217;de işinize yarayabilecek kodları paylaşamıyordum. Sağda solda birkaç kendini bilmez
</div>

	

]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="PHP" src="http://www.evrence.com/wp-content/img/php.gif" alt="" width="120" height="67" /><a href="http://www.turk-php.com/smf/index.php?topic=10013.msg45854" target="_blank">Turk-php</a> de konusu geçince bu yazıyı hazırlamaya karar verdim. Örneğin bir sitedeki dosyanın linkini kendi sitemizde vermek istiyoruz ama adamlar dışarıdan erişimi yasaklamış. Öyle ise böyle diyerek bizde onlara böyle bir kod yardımı ile cevap vermiş oluruz <img src='http://www.evrence.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Tabiki her durum için işimizi görmeyebilir fakat onlar işin kolayına kaçıp minik bir htaccess dosyası oluşturmuşlardır ve başka sitelerden tıklanan linkleri engelliyorlardır. Bizde kodumuz yardımıyla sanki onların sitesindeymişiz gibi şaka yapıp, dosyamızı indirmenin keyfini süreriz. Lafı fazla uzatmadan kod kısmına gelelim,</p>
<pre class="php"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/**
 * @author EvrenWeb
 * @copyright 2009
 */</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> dosya_indir<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$link</span>,<span style="color: #0000ff;">$name</span>=<span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
&nbsp;
<span style="color: #0000ff;">$link_info</span> = <a href="http://www.php.net/pathinfo"><span style="color: #000066;">pathinfo</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$link</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0000ff;">$uzanti</span> = <a href="http://www.php.net/strtolower"><span style="color: #000066;">strtolower</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$link_info</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'extension'</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0000ff;">$file</span> = <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$name</span><span style="color: #66cc66;">&#41;</span> ? <span style="color: #0000ff;">$name</span>.<span style="color: #ff0000;">'.'</span>.<span style="color: #0000ff;">$uzanti</span> : <span style="color: #0000ff;">$link_info</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'basename'</span><span style="color: #66cc66;">&#93;</span>; 
&nbsp;
<span style="color: #0000ff;">$curl</span> = curl_init<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$link</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0000ff;">$fopen</span> = <a href="http://www.php.net/fopen"><span style="color: #000066;">fopen</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$file</span>,<span style="color: #ff0000;">'w'</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
curl_setopt<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$curl</span>, CURLOPT_HEADER,<span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>;
curl_setopt<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$curl</span>, CURLOPT_RETURNTRANSFER,<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;
curl_setopt<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$curl</span>, CURLOPT_REFERER, <span style="color: #ff0000;">&quot;http://www.evrenweb.net/&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;"># Yukarıda dosyayı başka siteden çektirmeye izin vermeyebilir</span>
<span style="color: #808080; font-style: italic;"># Bu yüzden kimliğimizi gizleyip, kendi sitesindeymişiz gibi izlenim</span>
<span style="color: #808080; font-style: italic;"># Yaratıyoruz. Hangi siteden çekiceksek o sitenin adresini yazaviliriz.</span>
curl_setopt<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$curl</span>, CURLOPT_HTTP_VERSION,CURL_HTTP_VERSION_1_0<span style="color: #66cc66;">&#41;</span>;
curl_setopt<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$curl</span>, CURLOPT_FILE, <span style="color: #0000ff;">$fopen</span><span style="color: #66cc66;">&#41;</span>;
curl_exec<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$curl</span><span style="color: #66cc66;">&#41;</span>;
curl_close<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$curl</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<a href="http://www.php.net/fclose"><span style="color: #000066;">fclose</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$fopen</span><span style="color: #66cc66;">&#41;</span>;
<a href="http://www.php.net/header"><span style="color: #000066;">header</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Content-Description: File Transfer'</span><span style="color: #66cc66;">&#41;</span>;
<a href="http://www.php.net/header"><span style="color: #000066;">header</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Content-Type: application/download'</span><span style="color: #66cc66;">&#41;</span>;
<a href="http://www.php.net/header"><span style="color: #000066;">header</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Content-Disposition: attachment; filename=&quot;</span><span style="color: #ff0000;">&quot;.basename($file).&quot;</span><span style="color: #ff0000;">&quot;;&quot;</span><span style="color: #66cc66;">&#41;</span>;
<a href="http://www.php.net/header"><span style="color: #000066;">header</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Content-Length: '</span> . <a href="http://www.php.net/filesize"><span style="color: #000066;">filesize</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$file</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
@<a href="http://www.php.net/readfile"><span style="color: #000066;">readfile</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$file</span><span style="color: #66cc66;">&#41;</span> OR <a href="http://www.php.net/die"><span style="color: #000066;">die</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;"># dosya_indir($_POST['cek']);</span>
&nbsp;
dosya_indir<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$_GET</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'cek'</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;"># dosya_indir($_GET['cek'], &quot;yeni_ad&quot;) şeklinde dosya ismini değiştirebiliriz</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre>
<p>Yukarıdaki kodumuzu dosya.php olarak kayıt edelim. Şimdi çekme işlemini nasıl yapacağımıza geldi sıra. Çook basit ! http://www.siteniz.com/dosya.php?cek=<strong>CEKİLECEK-DOSYANIN-ADRESİ</strong> şeklinde linkizimizi tarayıcımıza yazıcaz ve olup biticek <img src='http://www.evrence.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Ben örnek olarak burada form kullanıcam, isterseniz sizde $_GET yerine $_POST yazıp hazırladığınız form ile dosyayı çektirebilirsiniz. Form örneğide burada,</p>
<pre>&nbsp;
&lt;form action=&quot;http://evrenweb.net/ornek/php/php-ile-dosya-cekme/dosya.php&quot; enctype=&quot;application/x-www-form-urlencoded&quot; method=&quot;post&quot;&gt;
&lt;input name=&quot;cek&quot; size=&quot;25&quot; style=&quot;border: 1px solid rgb(102, 102, 102);&quot; value=&quot;http://www.egonomik.com/script/zip/resimyaz.zip&quot; type=&quot;text&quot;&gt;
&lt;input value=&quot;İndir !&quot; type=&quot;submit&quot;&gt;
&lt;/form&gt;
&nbsp;</pre>
<p>Bir önceki yazımda konusu geçen kodun hazır halini Egonomik'in sitesinden çekelim <img src='http://www.evrence.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<span id="more-314"></span><br />
Kodun Çalışan Hali:</p>
<form action="http://evrenweb.net/ornek/php/php-ile-dosya-cekme/dosya.php" enctype="application/x-www-form-urlencoded" method="post">
<input name="cek" size="25" style="border: 1px solid rgb(102, 102, 102);" value="http://www.egonomik.com/script/zip/resimyaz.zip" type="text">
<input value="İndir !" type="submit">
</form>
<p><a href="http://www.evrenweb.net/ornek/php/php-ile-dosya-cekme/php-ile-dosya-cekme.rar">Buraya</a> tıklayarakda gerekli dosyaları çekebilirsiniz.</p>
<img src="http://www.evrence.com/?ak_action=api_record_view&id=314&type=feed" alt="" /><h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-listeletme.html" rel="bookmark" title="Php ile Dizin Listeletme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin Listeletme" />Php ile Dizin Listeletme</a></strong><p>Php ile dizin listeleme işlerini nasıl yapıcağımıza göz atıcaz. Hatta burada istek</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/jquery/jquery-ve-lightbox.html" rel="bookmark" title="jQuery ve LightBox"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="jQuery ve LightBox" />jQuery ve LightBox</a></strong><p>Turk-php de bir arkadaşımızın isteği üzerine lightbox hakkında bir örnek yaptım. Aslına</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-resim-uzerine-yazi-yazma-scripti.html" rel="bookmark" title="PHP İle Resim Üzerine Yazı Yazma Scripti"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP İle Resim Üzerine Yazı Yazma Scripti" />PHP İle Resim Üzerine Yazı Yazma Scripti</a></strong><p>Sahile, köprüye istediğimiz yazıyı yazdırdığımız birçok site mevcuttu bunları hepimiz biliyoruzdur. Fakat</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ve-flash-ile-geri-sayim-islemi.html" rel="bookmark" title="Php ve Flash ile Geri Sayım İşlemi"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ve Flash ile Geri Sayım İşlemi" />Php ve Flash ile Geri Sayım İşlemi</a></strong><p>Azda olsa işimize gerekebiliyor bu tarz uygulamalar. Bilgisayarımı karıştırırken karşıma çıkan bu</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-icindeki-dosyalari-sayfalama.html" rel="bookmark" title="Php ile Dizin İçindeki Dosyaları Sayfalama"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin İçindeki Dosyaları Sayfalama" />Php ile Dizin İçindeki Dosyaları Sayfalama</a></strong><p>Uzun zamandır php&#8217;de işinize yarayabilecek kodları paylaşamıyordum. Sağda solda birkaç kendini bilmez</p>
</div>

	

]]></content:encoded>
			<wfw:commentRss>http://www.evrence.com/programlama/php/php-ile-dosya-cekme.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP İle Resim Üzerine Yazı Yazma Scripti</title>
		<link>http://www.evrence.com/programlama/php/php-ile-resim-uzerine-yazi-yazma-scripti.html</link>
		<comments>http://www.evrence.com/programlama/php/php-ile-resim-uzerine-yazi-yazma-scripti.html#comments</comments>
		<pubDate>Fri, 15 May 2009 00:00:25 +0000</pubDate>
		<dc:creator>Evren Bayraktar</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[php resim]]></category>
		<category><![CDATA[php resim üzerine yazı]]></category>
		<category><![CDATA[php resim yapma]]></category>
		<category><![CDATA[php yazı yazma]]></category>

		<guid isPermaLink="false">http://www.evrence.com/?p=309</guid>
		<description><![CDATA[Sahile, köprüye istediğimiz yazıyı yazdırdığımız birçok site mevcuttu bunları hepimiz biliyoruzdur. Fakat<h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/timthumb-ile-resim-buyultme.html" rel="bookmark" title="Timthumb ile resim büyütme"><img src="http://www.evrence.com/wp-content/uploads/2009/06/800px-PHP-n_logo.svg-150x78.png" width="70" height="50" alt="Timthumb ile resim büyütme" />Timthumb ile resim büyütme</a></strong>
Birçok wordpress temasında timthumb aktif olarak kullanılıyor. Bilmeyenler için kısaca açıklayayım timthumb&#8217;un
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/flash/piecemaker-flash-xml-resim-galerisi.html" rel="bookmark" title="Piecemaker Flash XML Resim Galerisi"><img src="http://www.evrence.com/wp-content/uploads/2010/04/2-150x75.jpg" width="70" height="50" alt="Piecemaker Flash XML Resim Galerisi" />Piecemaker Flash XML Resim Galerisi</a></strong>
Flash ile yapılmış gerçekten güzel bir 3D resim galerisi. XML desteği ile
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dosya-cekme.html" rel="bookmark" title="PHP ile Dosya Çekme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP ile Dosya Çekme" />PHP ile Dosya Çekme</a></strong>
Turk-php de konusu geçince bu yazıyı hazırlamaya karar verdim. Örneğin bir sitedeki
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/jquery/jquery-ve-lightbox.html" rel="bookmark" title="jQuery ve LightBox"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="jQuery ve LightBox" />jQuery ve LightBox</a></strong>
Turk-php de bir arkadaşımızın isteği üzerine lightbox hakkında bir örnek yaptım. Aslına
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/genel/microsoft-eula-uzerine-kucuk-bir-inceleme.html" rel="bookmark" title="Microsoft EULA üzerine küçük bir inceleme&#8230;"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Microsoft EULA üzerine küçük bir inceleme&#8230;" />Microsoft EULA üzerine küçük bir inceleme&#8230;</a></strong>
Özgür Yazılım 21 Ağustos 2006 EULA üzerine küçük bir inceleme&#8230; Okunmadan imzalanan
</div>

	

]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Love Evo" src="http://www.evrence.com/wp-content/img/love_evo.png" alt="" width="167" height="234" />Sahile, köprüye istediğimiz yazıyı yazdırdığımız birçok site mevcuttu bunları hepimiz biliyoruzdur. Fakat bunu nasıl yapıyorlar merak edenlerimiz varsa <a href="http://www.egonomik.com">Caner</a> arkadaşım blog unda çok güzel anlatmış.</p>
<p>Aslına bakarsanız çok basit, birkaç satır kod ile yapılıyor bu işlem. Sanıldığı kadar kafa karıştırıcı bişey değil. </p>
<p>Vakit bulursam resim üzerine mükemmel işler yapan bir bileşenide buradan sizlere anlatıcağım. Tek satır kodla resim üzerine neler yapıldığını görünce hayretler ediceksiniz <img src='http://www.evrence.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Neyse biz egonomik'in yazdığı bu kodu inceleyelim. Gerçi herşeyi kodların içerisinde anlatmış pek söylenecek laf yok <img src='http://www.evrence.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br /><br/></p>
<pre class="php"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #808080; font-style: italic;">// PHP Resim Üzerine Yazı Yazma</span>
<span style="color: #808080; font-style: italic;">// Herhangi bir resim üzerine yazı yazabilirsiniz.</span>
<span style="color: #808080; font-style: italic;">// Caner ÖNCEL - http://www.egonomik.com</span>
&nbsp;
<span style="color: #808080; font-style: italic;">// Kullanım:</span>
<span style="color: #808080; font-style: italic;">// Yazılmak istenen metni $_GET ile çağırıyoruz</span>
<span style="color: #808080; font-style: italic;">// Örnek: resimyaz.php?text=Merhaba Dünya</span>
&nbsp;
<span style="color: #0000ff;">$resim</span> = <span style="color: #ff0000;">&quot;bg_resim.png&quot;</span>; <span style="color: #808080; font-style: italic;">// Üzerine yazılacak resmi seçiyoruz</span>
<span style="color: #0000ff;">$font</span> = <span style="color: #ff0000;">&quot;fonts/segoepr.ttf&quot;</span>; <span style="color: #808080; font-style: italic;">// Font dosyası ve yolunu tanımlıyoruz</span>
<span style="color: #0000ff;">$golge</span> = <span style="color: #ff0000;">&quot;true&quot;</span>; <span style="color: #808080; font-style: italic;">// Resme gölge eklemek istiyosanız &quot;true&quot; istemiyorsanız boş</span>
&nbsp;
<span style="color: #0000ff;">$text</span> = <span style="color: #0000ff;">$_GET</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'text'</span><span style="color: #66cc66;">&#93;</span>;
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/empty"><span style="color: #000066;">empty</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$text</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0000ff;">$metin</span> = <span style="color: #ff0000;">&quot;Metin yazin!&quot;</span>; <span style="color: #66cc66;">&#125;</span>
<span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0000ff;">$metin</span> = <span style="color: #ff0000;">&quot;$text&quot;</span>; <span style="color: #66cc66;">&#125;</span>
&nbsp;
<a href="http://www.php.net/header"><span style="color: #000066;">header</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Content-type: image/png'</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0000ff;">$resim_yaz</span> = imagecreatefrompng<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;$resim&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">// Yazı ve gölgenin renk hex kodlarını belirliyoruz</span>
<span style="color: #0000ff;">$gri</span> = imagecolorallocate<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$resim_yaz</span>, <span style="color: #cc66cc;">170</span>, <span style="color: #cc66cc;">170</span>, <span style="color: #cc66cc;">170</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0000ff;">$siyah</span> = imagecolorallocate<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$resim_yaz</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$golge</span> == <span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
imagettftext<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$resim_yaz</span>, <span style="color: #cc66cc;">16</span>, <span style="color: #cc66cc;">15</span>, <span style="color: #cc66cc;">59</span>, <span style="color: #cc66cc;">222</span>, <span style="color: #0000ff;">$gri</span>, <span style="color: #0000ff;">$font</span>, <span style="color: #0000ff;">$metin</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #66cc66;">&#125;</span>
imagettftext<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$resim_yaz</span>, <span style="color: #cc66cc;">16</span>, <span style="color: #cc66cc;">15</span>, <span style="color: #cc66cc;">58</span>, <span style="color: #cc66cc;">221</span>, <span style="color: #0000ff;">$siyah</span>, <span style="color: #0000ff;">$font</span>, <span style="color: #0000ff;">$metin</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
imagepng<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$resim_yaz</span><span style="color: #66cc66;">&#41;</span>;
imagedestroy<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$resim_yaz</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre>
<p>Bu kodları bir form ile kullanarak hoş bir script ortaya cıkarmış <a href="http://www.egonomik.com">caner</a>. </p>
<pre class="php">&nbsp;
&lt;form action=<span style="color: #ff0000;">&quot;resimyaz.php&quot;</span> enctype=<span style="color: #ff0000;">&quot;application/x-www-form-urlencoded&quot;</span> method=<span style="color: #ff0000;">&quot;get&quot;</span>&gt;
&lt;input name=<span style="color: #ff0000;">&quot;text&quot;</span> size=<span style="color: #ff0000;">&quot;15&quot;</span> type=<span style="color: #ff0000;">&quot;text&quot;</span> style=<span style="color: #ff0000;">&quot;border: 1px solid #666666&quot;</span> onclick=<span style="color: #ff0000;">&quot;this.value=''&quot;</span>/&gt;
&lt;input type=<span style="color: #ff0000;">&quot;submit&quot;</span> value=<span style="color: #ff0000;">&quot;Resim yaz&quot;</span> /&gt;
&lt;/form&gt;
&nbsp;</pre>
<p>Kodun çalışan örneği burada:</p>
<form action="http://www.egonomik.com/script/resimyaz/index.php" enctype="application/x-www-form-urlencoded" method="get">
<input name="text" size="15" type="text" style="border: 1px solid #666666" onclick="this.value=''"/>
<input type="submit" value="Resim yaz" />
</form>
<p>Scriptin hazır haline <a href="http://www.egonomik.com/script/zip/resimyaz.zip">buradan</a> ulaşabilirsiniz. </p>
<p>Kaynak: <a href="http://www.egonomik.com">Egonomik</a></p>
<img src="http://www.evrence.com/?ak_action=api_record_view&id=309&type=feed" alt="" /><h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/timthumb-ile-resim-buyultme.html" rel="bookmark" title="Timthumb ile resim büyütme"><img src="http://www.evrence.com/wp-content/uploads/2009/06/800px-PHP-n_logo.svg-150x78.png" width="70" height="50" alt="Timthumb ile resim büyütme" />Timthumb ile resim büyütme</a></strong><p>Birçok wordpress temasında timthumb aktif olarak kullanılıyor. Bilmeyenler için kısaca açıklayayım timthumb&#8217;un</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/flash/piecemaker-flash-xml-resim-galerisi.html" rel="bookmark" title="Piecemaker Flash XML Resim Galerisi"><img src="http://www.evrence.com/wp-content/uploads/2010/04/2-150x75.jpg" width="70" height="50" alt="Piecemaker Flash XML Resim Galerisi" />Piecemaker Flash XML Resim Galerisi</a></strong><p>Flash ile yapılmış gerçekten güzel bir 3D resim galerisi. XML desteği ile</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dosya-cekme.html" rel="bookmark" title="PHP ile Dosya Çekme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP ile Dosya Çekme" />PHP ile Dosya Çekme</a></strong><p>Turk-php de konusu geçince bu yazıyı hazırlamaya karar verdim. Örneğin bir sitedeki</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/jquery/jquery-ve-lightbox.html" rel="bookmark" title="jQuery ve LightBox"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="jQuery ve LightBox" />jQuery ve LightBox</a></strong><p>Turk-php de bir arkadaşımızın isteği üzerine lightbox hakkında bir örnek yaptım. Aslına</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/genel/microsoft-eula-uzerine-kucuk-bir-inceleme.html" rel="bookmark" title="Microsoft EULA üzerine küçük bir inceleme&#8230;"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Microsoft EULA üzerine küçük bir inceleme&#8230;" />Microsoft EULA üzerine küçük bir inceleme&#8230;</a></strong><p>Özgür Yazılım 21 Ağustos 2006 EULA üzerine küçük bir inceleme&#8230; Okunmadan imzalanan</p>
</div>

	

]]></content:encoded>
			<wfw:commentRss>http://www.evrence.com/programlama/php/php-ile-resim-uzerine-yazi-yazma-scripti.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Php ile Dizin Listeletme</title>
		<link>http://www.evrence.com/programlama/php/php-ile-dizin-listeletme.html</link>
		<comments>http://www.evrence.com/programlama/php/php-ile-dizin-listeletme.html#comments</comments>
		<pubDate>Wed, 11 Feb 2009 17:01:45 +0000</pubDate>
		<dc:creator>Evren Bayraktar</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[dizin işlemleri]]></category>
		<category><![CDATA[dizin listeleme]]></category>
		<category><![CDATA[dosya işlemleri]]></category>
		<category><![CDATA[türe göre resim]]></category>

		<guid isPermaLink="false">http://www.evrence.com/?p=180</guid>
		<description><![CDATA[Php ile dizin listeleme işlerini nasıl yapıcağımıza göz atıcaz. Hatta burada istek<h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-icindeki-dosyalari-sayfalama.html" rel="bookmark" title="Php ile Dizin İçindeki Dosyaları Sayfalama"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin İçindeki Dosyaları Sayfalama" />Php ile Dizin İçindeki Dosyaları Sayfalama</a></strong>
Uzun zamandır php&#8217;de işinize yarayabilecek kodları paylaşamıyordum. Sağda solda birkaç kendini bilmez
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/facebooka-ozel-icerik.html" rel="bookmark" title="Facebook&#8217;a özel içerik"><img src="http://www.evrence.com/wp-content/uploads/2010/08/2010-08-01_154518-150x39.png" width="70" height="50" alt="Facebook&#8217;a özel içerik" />Facebook&#8217;a özel içerik</a></strong>
Bazen projelerimizde sosyal medya paylaştırıcıları kullanırız. Hatta bu sıralar kullanmak zorundayız.. Şu&#8217;an
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/turkce-php-kitabi.html" rel="bookmark" title="Türkçe PHP Kitabı"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Türkçe PHP Kitabı" />Türkçe PHP Kitabı</a></strong>
Gece dolanırken fark ettimki en çok rabet gören başlıklardan biriside bu. Türkçe
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/qbasic/quick-basic-bolum-12.html" rel="bookmark" title="Quick Basic &#8211; Bölüm 12"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Quick Basic &#8211; Bölüm 12" />Quick Basic &#8211; Bölüm 12</a></strong>
Quick-Basic Kursu Bölüm 12: Dosya işlemleri-3 Yalnız metin içermeyen dosyalar vardır. Örneğin;
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dosya-cekme.html" rel="bookmark" title="PHP ile Dosya Çekme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP ile Dosya Çekme" />PHP ile Dosya Çekme</a></strong>
Turk-php de konusu geçince bu yazıyı hazırlamaya karar verdim. Örneğin bir sitedeki
</div>

	

]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="Php" src="http://www.evrence.com/wp-content/img/php.gif" alt="" width="120" height="67" />Php ile dizin listeleme işlerini nasıl yapıcağımıza göz atıcaz. Hatta burada istek doğabileceği düşüncesi ile bulunan dosyanın uzantısına göre bir resim ekleme işlemini nasıl yaparız buna da değinmek istedim.</p>
<pre class="php"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #0000ff;">$dizin</span> = <a href="http://www.php.net/opendir"><span style="color: #000066;">opendir</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'./dosyalar'</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$dizin</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span> 
&nbsp;
	<span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$dosya</span> = <a href="http://www.php.net/readdir"><span style="color: #000066;">readdir</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$dizin</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$dosya</span>==<span style="color: #ff0000;">'.'</span> OR <span style="color: #0000ff;">$dosya</span>==<span style="color: #ff0000;">'..'</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><span style="color: #0000ff;">$dosya</span>=<span style="color: #ff0000;">''</span>;<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>!<a href="http://www.php.net/is_dir"><span style="color: #000066;">is_dir</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$dosya</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
	<span style="color: #0000ff;">$dosyalar</span><span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span>=<span style="color: #0000ff;">$dosya</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<a href="http://www.php.net/sort"><span style="color: #000066;">sort</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$dosyalar</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0000ff;">$img</span> = <span style="color: #ff0000;">&quot;&quot;</span>;
<span style="color: #b1b100;">foreach</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$dosyalar</span> <span style="color: #b1b100;">as</span> <span style="color: #0000ff;">$dosyam</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #0000ff;">$tur</span> = <a href="http://www.php.net/explode"><span style="color: #000066;">explode</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;.&quot;</span>, <span style="color: #0000ff;">$dosyam</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><a href="http://www.php.net/isset"><span style="color: #000066;">isset</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$tur</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;1&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$tur</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;1&quot;</span><span style="color: #66cc66;">&#93;</span> == <span style="color: #ff0000;">&quot;evr&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #0000ff;">$img</span> = <span style="color: #ff0000;">&quot;&lt;img src='img/ball_red.png' /&gt;&quot;</span>;<span style="color: #66cc66;">&#125;</span>
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$tur</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;1&quot;</span><span style="color: #66cc66;">&#93;</span> == <span style="color: #ff0000;">&quot;css&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #0000ff;">$img</span> = <span style="color: #ff0000;">&quot;&lt;img src='img/ball_yellow.png' /&gt;&quot;</span>;<span style="color: #66cc66;">&#125;</span>
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$tur</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;1&quot;</span><span style="color: #66cc66;">&#93;</span> == <span style="color: #ff0000;">&quot;psd&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span> <span style="color: #0000ff;">$img</span> = <span style="color: #ff0000;">&quot;&lt;img src='img/ball_green.png' /&gt;&quot;</span>;<span style="color: #66cc66;">&#125;</span>
	<a href="http://www.php.net/echo"><span style="color: #000066;">echo</span></a> <span style="color: #0000ff;">$img</span>.<span style="color: #ff0000;">&quot; &quot;</span>.<span style="color: #0000ff;">$dosyam</span>.<span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre>
<p>Bu kodlar sayesinde dizinin içini listeletebiliyoruz. Bu kodun çalışan örneğine <a href="http://www.evrenweb.net/ornek/php/dosya-turu-bulma/">buradan</a> bakabilirsiniz.<br />
Anlaşılmayan yerleri yorum kısmından sorabilirsiniz. Kolay gelsin</p>
<img src="http://www.evrence.com/?ak_action=api_record_view&id=180&type=feed" alt="" /><h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-icindeki-dosyalari-sayfalama.html" rel="bookmark" title="Php ile Dizin İçindeki Dosyaları Sayfalama"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin İçindeki Dosyaları Sayfalama" />Php ile Dizin İçindeki Dosyaları Sayfalama</a></strong><p>Uzun zamandır php&#8217;de işinize yarayabilecek kodları paylaşamıyordum. Sağda solda birkaç kendini bilmez</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/facebooka-ozel-icerik.html" rel="bookmark" title="Facebook&#8217;a özel içerik"><img src="http://www.evrence.com/wp-content/uploads/2010/08/2010-08-01_154518-150x39.png" width="70" height="50" alt="Facebook&#8217;a özel içerik" />Facebook&#8217;a özel içerik</a></strong><p>Bazen projelerimizde sosyal medya paylaştırıcıları kullanırız. Hatta bu sıralar kullanmak zorundayız.. Şu&#8217;an</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/turkce-php-kitabi.html" rel="bookmark" title="Türkçe PHP Kitabı"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Türkçe PHP Kitabı" />Türkçe PHP Kitabı</a></strong><p>Gece dolanırken fark ettimki en çok rabet gören başlıklardan biriside bu. Türkçe</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/qbasic/quick-basic-bolum-12.html" rel="bookmark" title="Quick Basic &#8211; Bölüm 12"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Quick Basic &#8211; Bölüm 12" />Quick Basic &#8211; Bölüm 12</a></strong><p>Quick-Basic Kursu Bölüm 12: Dosya işlemleri-3 Yalnız metin içermeyen dosyalar vardır. Örneğin;</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dosya-cekme.html" rel="bookmark" title="PHP ile Dosya Çekme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP ile Dosya Çekme" />PHP ile Dosya Çekme</a></strong><p>Turk-php de konusu geçince bu yazıyı hazırlamaya karar verdim. Örneğin bir sitedeki</p>
</div>

	

]]></content:encoded>
			<wfw:commentRss>http://www.evrence.com/programlama/php/php-ile-dizin-listeletme.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tarayıcı Diline Göre Dil Secme  &#8211; Çoklu Dil Desteği</title>
		<link>http://www.evrence.com/programlama/php/tarayici-diline-gore-dil-secme-coklu-dil-destegi.html</link>
		<comments>http://www.evrence.com/programlama/php/tarayici-diline-gore-dil-secme-coklu-dil-destegi.html#comments</comments>
		<pubDate>Wed, 11 Feb 2009 13:15:47 +0000</pubDate>
		<dc:creator>Evren Bayraktar</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[dil desteği]]></category>
		<category><![CDATA[dil dosyası]]></category>
		<category><![CDATA[dil secimi]]></category>

		<guid isPermaLink="false">http://www.evrence.com/?p=175</guid>
		<description><![CDATA[Turk-php de konu geçince burada minik bi örnek hazırlayıp ekran cıktılarının nasıl<h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-icindeki-dosyalari-sayfalama.html" rel="bookmark" title="Php ile Dizin İçindeki Dosyaları Sayfalama"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin İçindeki Dosyaları Sayfalama" />Php ile Dizin İçindeki Dosyaları Sayfalama</a></strong>
Uzun zamandır php&#8217;de işinize yarayabilecek kodları paylaşamıyordum. Sağda solda birkaç kendini bilmez
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/phpde-session-zamanini-belirlemek.html" rel="bookmark" title="PHP&#8217;de Session Zamanını Belirlemek"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP&#8217;de Session Zamanını Belirlemek" />PHP&#8217;de Session Zamanını Belirlemek</a></strong>
PHP de oturum işlemleri gibi önemli işlerde genelde $_SESSION değişkeni kullanılır. Mesela
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/program/coklu-multi-windows-live-messenger-2011-15-4-3502-922.html" rel="bookmark" title="Çoklu ( Multi ) Windows Live Messenger 2011 (15.4.3502.922)"><img src="http://www.evrence.com/wp-content/uploads/2010/10/2010-10-31_005554-150x100.png" width="70" height="50" alt="Çoklu ( Multi ) Windows Live Messenger 2011 (15.4.3502.922)" />Çoklu ( Multi ) Windows Live Messenger 2011 (15.4.3502.922)</a></strong>
Windows yakınlarda bir güncelleme ile yeni  Window Live Messenger 2011 ( MSN
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-listeletme.html" rel="bookmark" title="Php ile Dizin Listeletme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin Listeletme" />Php ile Dizin Listeletme</a></strong>
Php ile dizin listeleme işlerini nasıl yapıcağımıza göz atıcaz. Hatta burada istek
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/facebooka-ozel-icerik.html" rel="bookmark" title="Facebook&#8217;a özel içerik"><img src="http://www.evrence.com/wp-content/uploads/2010/08/2010-08-01_154518-150x39.png" width="70" height="50" alt="Facebook&#8217;a özel içerik" />Facebook&#8217;a özel içerik</a></strong>
Bazen projelerimizde sosyal medya paylaştırıcıları kullanırız. Hatta bu sıralar kullanmak zorundayız.. Şu&#8217;an
</div>

	

]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="pHp" src="http://www.evrence.com/wp-content/img/php.gif" alt="" width="120" height="67" />Turk-php de konu geçince burada minik bi örnek hazırlayıp ekran cıktılarının nasıl olduğunu göstermek istedim. Burada yapacağımız iş gelen kullanıcının tarayıcı dilini bulma. Bunu bulduktan sonra dil dosyasını çektiricez yada o dil ile yapılmış kısma yönlendiricez.</p>
<pre class="php"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/**
 * @author evrenweb
 * @copyright 2009
 */</span>
<a href="http://www.php.net/echo"><span style="color: #000066;">echo</span></a> <span style="color: #ff0000;">&quot;Bu server değişkeninin çıktısı: &lt;b&gt;&quot;</span>.<span style="color: #0000ff;">$_SERVER</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'HTTP_ACCEPT_LANGUAGE'</span><span style="color: #66cc66;">&#93;</span>.<span style="color: #ff0000;">&quot;&lt;/b&gt;&quot;</span>;
&nbsp;
<span style="color: #0000ff;">$Langue</span> = <a href="http://www.php.net/substr"><span style="color: #000066;">substr</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$_SERVER</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'HTTP_ACCEPT_LANGUAGE'</span><span style="color: #66cc66;">&#93;</span>,<span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<a href="http://www.php.net/echo"><span style="color: #000066;">echo</span></a> <span style="color: #ff0000;">&quot;Bu arınmış hali: &lt;b&gt;&quot;</span>.<span style="color: #0000ff;">$Langue</span>.<span style="color: #ff0000;">&quot;&lt;/b&gt;&quot;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre>
<p>Burada gerekli değişkeni inceledik, bizim işimize yarıyacak kısmı çektik. Ben neyin ne olduğunu anlamanız açısından fazalaca ekran çıktısı kullandım. Bundan sonra iş mantık kontrollerine geliyor. Eğer $langue değeri "tr" ise türkçe dil dosyasını çek gibi ifadeler ile işimizi halledebiliriz.</p>
<p>Kodun çalışan örneğini <a href="http://www.evrenweb.net/ornek/php/tarayici-tabanli-dil-secimi/">buradan</a> görebilirsiniz.</p>
<img src="http://www.evrence.com/?ak_action=api_record_view&id=175&type=feed" alt="" /><h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-icindeki-dosyalari-sayfalama.html" rel="bookmark" title="Php ile Dizin İçindeki Dosyaları Sayfalama"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin İçindeki Dosyaları Sayfalama" />Php ile Dizin İçindeki Dosyaları Sayfalama</a></strong><p>Uzun zamandır php&#8217;de işinize yarayabilecek kodları paylaşamıyordum. Sağda solda birkaç kendini bilmez</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/phpde-session-zamanini-belirlemek.html" rel="bookmark" title="PHP&#8217;de Session Zamanını Belirlemek"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="PHP&#8217;de Session Zamanını Belirlemek" />PHP&#8217;de Session Zamanını Belirlemek</a></strong><p>PHP de oturum işlemleri gibi önemli işlerde genelde $_SESSION değişkeni kullanılır. Mesela</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/program/coklu-multi-windows-live-messenger-2011-15-4-3502-922.html" rel="bookmark" title="Çoklu ( Multi ) Windows Live Messenger 2011 (15.4.3502.922)"><img src="http://www.evrence.com/wp-content/uploads/2010/10/2010-10-31_005554-150x100.png" width="70" height="50" alt="Çoklu ( Multi ) Windows Live Messenger 2011 (15.4.3502.922)" />Çoklu ( Multi ) Windows Live Messenger 2011 (15.4.3502.922)</a></strong><p>Windows yakınlarda bir güncelleme ile yeni  Window Live Messenger 2011 ( MSN</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-listeletme.html" rel="bookmark" title="Php ile Dizin Listeletme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin Listeletme" />Php ile Dizin Listeletme</a></strong><p>Php ile dizin listeleme işlerini nasıl yapıcağımıza göz atıcaz. Hatta burada istek</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/facebooka-ozel-icerik.html" rel="bookmark" title="Facebook&#8217;a özel içerik"><img src="http://www.evrence.com/wp-content/uploads/2010/08/2010-08-01_154518-150x39.png" width="70" height="50" alt="Facebook&#8217;a özel içerik" />Facebook&#8217;a özel içerik</a></strong><p>Bazen projelerimizde sosyal medya paylaştırıcıları kullanırız. Hatta bu sıralar kullanmak zorundayız.. Şu&#8217;an</p>
</div>

	

]]></content:encoded>
			<wfw:commentRss>http://www.evrence.com/programlama/php/tarayici-diline-gore-dil-secme-coklu-dil-destegi.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Turk-Php.Com Yenilikler ile geliyor</title>
		<link>http://www.evrence.com/programlama/php/turk-phpcom-yenilikler-ile-geliyor.html</link>
		<comments>http://www.evrence.com/programlama/php/turk-phpcom-yenilikler-ile-geliyor.html#comments</comments>
		<pubDate>Wed, 11 Feb 2009 03:06:28 +0000</pubDate>
		<dc:creator>Evren Bayraktar</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[turk-php]]></category>

		<guid isPermaLink="false">http://www.evrence.com/?p=168</guid>
		<description><![CDATA[Evet arkadaşlar biliyorsunuz zaman problemleri yüzünden bir süreliğine  türk-php kapanmıştı. Olaya el<h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/genel/ataturk/ataturkun-turk-gencligine-hitabesi.html" rel="bookmark" title="Atatürk&#8217;ün Türk Gençliğine Hitabesi"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Atatürk&#8217;ün Türk Gençliğine Hitabesi" />Atatürk&#8217;ün Türk Gençliğine Hitabesi</a></strong>
Ülkemizin içinde bulunduğu koşullar dikkatte alındığında asla unutmadığımız ve unutmayacağımızı göstermek adına
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/genel/turk-askerinin-gucu.html" rel="bookmark" title="Türk Askerinin Gücü !"><img src="http://www.evrence.com/wp-content/uploads/2009/11/b-262535-bordo_bereli-150x112.gif" width="70" height="50" alt="Türk Askerinin Gücü !" />Türk Askerinin Gücü !</a></strong>
Bizlere farkında olmadan televizyonlarda, sinemalarda, reklamlarda amerikan askerinin ne kadar güçlü olduğu
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/eglence/turk-zekasi-hirsiza-mesaj.html" rel="bookmark" title="Türk Zekası, hırsıza mesaj :)"><img src="http://www.evrence.com/wp-content/uploads/2009/11/08112009-150x112.jpg" width="70" height="50" alt="Türk Zekası, hırsıza mesaj :)" />Türk Zekası, hırsıza mesaj :)</a></strong>
Geçenlerde Ankara Bahçelievlerde dolanırken bir evin bahçce demirlerinde asılı bu resimi gördüm
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/genel/kpss-sonuclari-yarin-aciklaniyor.html" rel="bookmark" title="KPSS Sonuçları Yarın Açıklanıyor"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="KPSS Sonuçları Yarın Açıklanıyor" />KPSS Sonuçları Yarın Açıklanıyor</a></strong>
KPSS sonuçları ösym başkanlığından gelen açıklamaya göre yarın (11.08.2010), saat 14&#8242;de belli
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/sinema/testere-6-geliyor.html" rel="bookmark" title="Testere 6 Geliyor!"><img src="http://www.evrence.com/wp-content/uploads/2009/11/testere-6-0-112x150.jpg" width="70" height="50" alt="Testere 6 Geliyor!" />Testere 6 Geliyor!</a></strong>
Kiminin büyük bir sabırsızlıkla  beklediği, kimininde saçmaladılar artık dediği Saw 6 geliyor.
</div>

	

]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Turk-Php" src="http://www.turk-php.com/images/turkphplogo.png" alt="" width="300" height="100" /> Evet arkadaşlar biliyorsunuz zaman problemleri yüzünden bir süreliğine  <a href="http://www.turk-php.com/">türk-php</a> kapanmıştı. Olaya el atan girişken cemal ve samet arkadaşlarımız türk-php yi yeniden hayata döndürme çabalarına başladı.</p>
<p>Tabiki bende site açılır açılmaz aktifliğimi korudum. Bu arkadaşların kim olduğunu merak edip tanıştım.  Neyse bunlar özel mevzular. Fazla girmeye gerek yok. Gelelim yeni yönetimin adımlarına, atılımlarına. (Nasılda kestirdim ama <img src='http://www.evrence.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  )</p>
<p>Öncelikli olarak <a href="http://www.turk-php.com/">türk-php</a> nin görünümü %200 değişicek. Daha etkileyici, çekici bi şekilde türk programcıların karşısına çıkıcak. Dahası benim düşündüğüm ve kesinlikle hayata geçirmek istediğimiz bir proje var. Nazar ve rakip kuruluşlar dolayısı ile açıklamak istemiyorum şimdilik. Hayata geçtiğinde altında benim imzamı görebileceksiniz.</p>
<p>Önümüzdeki 1 yıl içerisinde bütün adımları başarılı bi şekilde atmayı umuyoruz. Sizlerinde projeleriniz, önerileriniz varsa bi şekilde paylaşırsanız seviniriz.</p>
<p>Biliyorum cümleler saçma sapan oldu ama saatin 5 inde de oluyor bu kadar mazur görün <img src='http://www.evrence.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Türk-php yi kesinlikle takip etmenizi öneriyorum! Zamanı gelince <strong>ŞAŞIRACAKSINIZ</strong> !</p>
<img src="http://www.evrence.com/?ak_action=api_record_view&id=168&type=feed" alt="" /><h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/genel/ataturk/ataturkun-turk-gencligine-hitabesi.html" rel="bookmark" title="Atatürk&#8217;ün Türk Gençliğine Hitabesi"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Atatürk&#8217;ün Türk Gençliğine Hitabesi" />Atatürk&#8217;ün Türk Gençliğine Hitabesi</a></strong><p>Ülkemizin içinde bulunduğu koşullar dikkatte alındığında asla unutmadığımız ve unutmayacağımızı göstermek adına</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/genel/turk-askerinin-gucu.html" rel="bookmark" title="Türk Askerinin Gücü !"><img src="http://www.evrence.com/wp-content/uploads/2009/11/b-262535-bordo_bereli-150x112.gif" width="70" height="50" alt="Türk Askerinin Gücü !" />Türk Askerinin Gücü !</a></strong><p>Bizlere farkında olmadan televizyonlarda, sinemalarda, reklamlarda amerikan askerinin ne kadar güçlü olduğu</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/eglence/turk-zekasi-hirsiza-mesaj.html" rel="bookmark" title="Türk Zekası, hırsıza mesaj :)"><img src="http://www.evrence.com/wp-content/uploads/2009/11/08112009-150x112.jpg" width="70" height="50" alt="Türk Zekası, hırsıza mesaj :)" />Türk Zekası, hırsıza mesaj :)</a></strong><p>Geçenlerde Ankara Bahçelievlerde dolanırken bir evin bahçce demirlerinde asılı bu resimi gördüm</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/genel/kpss-sonuclari-yarin-aciklaniyor.html" rel="bookmark" title="KPSS Sonuçları Yarın Açıklanıyor"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="KPSS Sonuçları Yarın Açıklanıyor" />KPSS Sonuçları Yarın Açıklanıyor</a></strong><p>KPSS sonuçları ösym başkanlığından gelen açıklamaya göre yarın (11.08.2010), saat 14&#8242;de belli</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/sinema/testere-6-geliyor.html" rel="bookmark" title="Testere 6 Geliyor!"><img src="http://www.evrence.com/wp-content/uploads/2009/11/testere-6-0-112x150.jpg" width="70" height="50" alt="Testere 6 Geliyor!" />Testere 6 Geliyor!</a></strong><p>Kiminin büyük bir sabırsızlıkla  beklediği, kimininde saçmaladılar artık dediği Saw 6 geliyor.</p>
</div>

	

]]></content:encoded>
			<wfw:commentRss>http://www.evrence.com/programlama/php/turk-phpcom-yenilikler-ile-geliyor.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP İçin Türkçe El Kitabı &#8211; Örnekler ve Açıklamalar</title>
		<link>http://www.evrence.com/programlama/php/php-icin-turkce-el-kitabi-ornekler-ve-aciklamalar.html</link>
		<comments>http://www.evrence.com/programlama/php/php-icin-turkce-el-kitabi-ornekler-ve-aciklamalar.html#comments</comments>
		<pubDate>Tue, 03 Feb 2009 13:33:45 +0000</pubDate>
		<dc:creator>Evren Bayraktar</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[el kitabı]]></category>
		<category><![CDATA[php kitap]]></category>
		<category><![CDATA[türkçe php]]></category>

		<guid isPermaLink="false">http://www.evrence.com/?p=114</guid>
		<description><![CDATA[PHP Dili PHP yorumlayicisi, bu "programi" çalistirabilmek için dosyanin içinde PHP komutlarini<h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/turkce-php-kitabi.html" rel="bookmark" title="Türkçe PHP Kitabı"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Türkçe PHP Kitabı" />Türkçe PHP Kitabı</a></strong>
Gece dolanırken fark ettimki en çok rabet gören başlıklardan biriside bu. Türkçe
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/qbasic/quick-basic-bolum-4.html" rel="bookmark" title="Quick Basic &#8211; Bölüm 4"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Quick Basic &#8211; Bölüm 4" />Quick Basic &#8211; Bölüm 4</a></strong>
Quick-Basic Kursu Bölüm 4: Kontrol blokları Programlama dillerinde döngüler ve akış kontrol
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/qbasic/quick-basic-bolum-9.html" rel="bookmark" title="Quick Basic &#8211; Bölüm 9"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Quick Basic &#8211; Bölüm 9" />Quick Basic &#8211; Bölüm 9</a></strong>
Quick-Basic Kursu Bölüm 9: Rakamlarla ilgili işlemler ABS Verilen sayının mutlak(ABSolute) değerini
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/qbasic/quick-basic-bolum-3.html" rel="bookmark" title="Quick Basic &#8211; Bölüm 3"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Quick Basic &#8211; Bölüm 3" />Quick Basic &#8211; Bölüm 3</a></strong>
Quick-Basic Kursu Bölüm 3: CLS , INPUT ve PRINT Bu bölümde ekranı
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/qbasic/quick-basic-bolum-11.html" rel="bookmark" title="Quick Basic &#8211; Bölüm 11"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Quick Basic &#8211; Bölüm 11" />Quick Basic &#8211; Bölüm 11</a></strong>
Quick-Basic Kursu Bölüm 11: Dosya İşlemleri-2 Bu bölümde Random dosya oluşturma, dosyaya
</div>

	

]]></description>
			<content:encoded><![CDATA[<p>PHP Dili </p>
<p>PHP yorumlayicisi, bu "programi" çalistirabilmek için dosyanin içinde PHP komutlarini arar. PHP<br />
komutlari birinci bölümde gördügümüz gibi iki sekilde yazilabilir:</p>
<pre class="php">PHP:
&nbsp;
   <span style="color: #cc66cc;">1</span>.
   <span style="color: #cc66cc;">2</span>.  <span style="color: #000000; font-weight: bold;">&lt;?php</span> .... <span style="color: #000000; font-weight: bold;">?&gt;</span>
   <span style="color: #cc66cc;">3</span>.  <span style="color: #000000; font-weight: bold;">&lt;?</span> .... <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;</pre>
<p>Bunlara PHP komut ayraci denir; birinci türü uzun veya standart ayraç sayilir; ikincisine ike "kisa<br />
ayraç" denir.</p>
<p>PHP kodlarimiz, olusturulmasini istedigimiz sayfanin HTML kodlari ile tabir yerinde ise içiçe<br />
yazilir. </p>
<pre class="php">PHP:
&nbsp;
   <span style="color: #cc66cc;">1</span>.
   <span style="color: #cc66cc;">2</span>.  <span style="color: #000000; font-weight: bold;">&lt;?php</span>
   <span style="color: #cc66cc;">3</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;Merhaba Dünya!&quot;</span>;
   <span style="color: #cc66cc;">4</span>.  <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;</pre>
<p><span id="more-114"></span><br />
Sayfalara yorum eklemek için;</p>
<pre class="php">PHP:
&nbsp;
   <span style="color: #cc66cc;">1</span>.
   <span style="color: #cc66cc;">2</span>.  &lt;HTML&gt;
   <span style="color: #cc66cc;">3</span>.  &lt;!- - Bu satir HTML<span style="color: #ff0000;">'in yorum satiri
   4.  Buraya istedigimiz kadar yorum yazabiliriz..
   5.  Browser bu satirlari dikkate almaz - - &gt;
   6.  &lt;HEAD&gt;
   7.  &lt;TITLE&gt;PHP ile Merhaba&lt;/TITLE&gt;
   8.  &lt;/HEAD&gt;
   9.  &lt;BODY&gt;
  10.  &lt;CENTER&gt;
  11.  &lt;B&gt;
  12.  &lt;H1&gt;
  13.  &lt;?php
  14.  /*
  15.  Bu satir da PHP'</span>nin çok-satirli yorum bölümü..
  <span style="color: #cc66cc;">16</span>.  Bunu da PHP yorumcusu asla dikkate almaz
  <span style="color: #cc66cc;">17</span>.  Buraya istedigimiz kadar yorum yazabiliriz.
  <span style="color: #cc66cc;">18</span>.  */
  <span style="color: #cc66cc;">19</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;Merhaba Dünya!&quot;</span>;
  <span style="color: #cc66cc;">20</span>.  <span style="color: #808080; font-style: italic;">// Bu ise PHP'nin tek satirli yorum bölümü</span>
  <span style="color: #cc66cc;">21</span>.  <span style="color: #808080; font-style: italic;"># Bu satirlari da PHP yorumcusu dikkate almayacaktir.</span>
  <span style="color: #cc66cc;">22</span>.  <span style="color: #000000; font-weight: bold;">?&gt;</span>
  <span style="color: #cc66cc;">23</span>.  &lt;/H1&gt;
  <span style="color: #cc66cc;">24</span>.  &lt;/B&gt;
  <span style="color: #cc66cc;">25</span>.  &lt;/CENTER&gt;
  <span style="color: #cc66cc;">26</span>.  &lt;/BODY&gt;
  <span style="color: #cc66cc;">27</span>.  &lt;/HTML&gt;
&nbsp;</pre>
<p>Degiskenler</p>
<p>PHP'de de, bir çok baska bilgisayar programlama dilinde oldugu gibi degiskenlerin içine bir deger<br />
konmadan önce tanimlanmasi mümkündür; fakat gerekli degildir. Degiskenleri adinin önüne $ isareti<br />
koyarak tanimlariz:</p>
<pre class="php">PHP:
&nbsp;
   <span style="color: #cc66cc;">1</span>.
   <span style="color: #cc66cc;">2</span>.  <span style="color: #000000; font-weight: bold;">&lt;?php</span>
   <span style="color: #cc66cc;">3</span>.  <span style="color: #0000ff;">$adi</span>;
   <span style="color: #cc66cc;">4</span>.  <span style="color: #0000ff;">$soyadi</span>;
   <span style="color: #cc66cc;">5</span>.  $<span style="color: #cc66cc;">123</span>;
   <span style="color: #cc66cc;">6</span>.  <span style="color: #0000ff;">$sevdigiRenk</span>;
   <span style="color: #cc66cc;">7</span>.  <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;</pre>
<p>PHP'de genellikle degiskenleri degerini atayarak belirleriz:</p>
<pre class="php">PHP:
&nbsp;
   <span style="color: #cc66cc;">1</span>.
   <span style="color: #cc66cc;">2</span>.  <span style="color: #000000; font-weight: bold;">&lt;?php</span>
   <span style="color: #cc66cc;">3</span>.  <span style="color: #0000ff;">$adi</span> = <span style="color: #ff0000;">&quot;Resit&quot;</span>;
   <span style="color: #cc66cc;">4</span>.  <span style="color: #0000ff;">$soyadi</span> = <span style="color: #ff0000;">&quot;Gülen&quot;</span>;
   <span style="color: #cc66cc;">5</span>.  $<span style="color: #cc66cc;">123</span> = <span style="color: #cc66cc;">123</span>;
   <span style="color: #cc66cc;">6</span>.  <span style="color: #0000ff;">$sevdigiRenk</span> = <span style="color: #ff0000;">&quot;yesil&quot;</span>;
   <span style="color: #cc66cc;">7</span>.  <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;</pre>
<p>Degiskenler, kullanildiklari isleme, tasidiklari degeri verirler:</p>
<pre class="php">PHP:
&nbsp;
   <span style="color: #cc66cc;">1</span>.
   <span style="color: #cc66cc;">2</span>.  <span style="color: #000000; font-weight: bold;">&lt;?php</span>
   <span style="color: #cc66cc;">3</span>.  <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #0000ff;">$adi</span>;
   <span style="color: #cc66cc;">4</span>.  <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;</pre>
<p>PHP'de özel bir degiskene degisken adi olarak kullanilacak degerleri de atayabiliriz:</p>
<pre class="php">PHP:
&nbsp;
   <span style="color: #cc66cc;">1</span>.
   <span style="color: #cc66cc;">2</span>.  <span style="color: #000000; font-weight: bold;">&lt;?php</span>
   <span style="color: #cc66cc;">3</span>.  <span style="color: #0000ff;">$adi</span>      = <span style="color: #ff0000;">&quot;Resit&quot;</span>;
   <span style="color: #cc66cc;">4</span>.  <span style="color: #0000ff;">$degisken</span> = <span style="color: #ff0000;">&quot;adi&quot;</span>;
   <span style="color: #cc66cc;">5</span>.  <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #0000ff;">$$degisken</span>;
   <span style="color: #cc66cc;">6</span>.  <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;</pre>
<p>Burada Browser penceresine yine "Resit" kelimesi yazilacaktir; çünkü PHP $degisken adli degiskenin<br />
"adi" adli degiskeni tuttugunu bilecek ve iki Dolar isaretini görünce, $degisken'in degerini degil,<br />
onun tuttugu degiskenin degerini yazacaktir.</p>
<p>Veri Türleri</p>
<p>PHP açisindan dünyada alti tür deger vardir:</p>
<p>Tamsayi			(Integer): 5,124, 9834 gibi<br />
Çift			(Double) : 3,567 gibi<br />
Alfanümerik		(String) : "Resit" gibi<br />
Mantiksal			(Boolean): dogru (true)/yanlis (false) gibi<br />
Nesne			(Object)<br />
Dizi			(Array)</p>
<p>Tür Degistirme</p>
<p>Bir degiskenin degerinin türü hakkinda kuskunuz varsa, en emin yol bunu PHP'nin kendisine<br />
sormaktir. Bu sorgulamayi gettype() fonksiyonu ile yapariz. </p>
<p>Simdi, bir PHP programi yazalim, bir takim degiskenlere degerler atayalim ve bunlarin türlerini<br />
PHP'ye soralim. </p>
<pre class="php">PHP:
&nbsp;
   <span style="color: #cc66cc;">1</span>.
   <span style="color: #cc66cc;">2</span>.  <span style="color: #000000; font-weight: bold;">&lt;?php</span>
   <span style="color: #cc66cc;">3</span>.      <span style="color: #0000ff;">$sayi</span>  = <span style="color: #cc66cc;">5</span>;
   <span style="color: #cc66cc;">4</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Birinci degiskenin adi: <span style="color: #000099; font-weight: bold;">\$</span>sayi&lt;br&gt;&quot;</span><span style="color: #66cc66;">&#41;</span>;
   <span style="color: #cc66cc;">5</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Degeri : &quot;</span><span style="color: #66cc66;">&#41;</span>;
   <span style="color: #cc66cc;">6</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;$sayi&lt;br&gt;&quot;</span>;
   <span style="color: #cc66cc;">7</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Türü : &quot;</span><span style="color: #66cc66;">&#41;</span>;
   <span style="color: #cc66cc;">8</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <a href="http://www.php.net/gettype"><span style="color: #000066;">gettype</span></a><span style="color: #66cc66;">&#40;</span> <span style="color: #0000ff;">$sayi</span> <span style="color: #66cc66;">&#41;</span> ; <span style="color: #808080; font-style: italic;">//tamsayi/integer</span>
   <span style="color: #cc66cc;">9</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;&lt;br&gt;&quot;</span>;
  <span style="color: #cc66cc;">10</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;&lt;br&gt;&quot;</span>;
  <span style="color: #cc66cc;">11</span>.
  <span style="color: #cc66cc;">12</span>.      <span style="color: #0000ff;">$alfanumerik</span>  = <span style="color: #ff0000;">&quot;Resit&quot;</span>;
  <span style="color: #cc66cc;">13</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;Ikinci degiskenin adi: <span style="color: #000099; font-weight: bold;">\$</span>alfanumerik&lt;br&gt;&quot;</span>;
  <span style="color: #cc66cc;">14</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;Degeri : &quot;</span>;
  <span style="color: #cc66cc;">15</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;$alfanumerik&lt;br&gt;&quot;</span>;
  <span style="color: #cc66cc;">16</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Türü : &quot;</span><span style="color: #66cc66;">&#41;</span>;
  <span style="color: #cc66cc;">17</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <a href="http://www.php.net/gettype"><span style="color: #000066;">gettype</span></a><span style="color: #66cc66;">&#40;</span> <span style="color: #0000ff;">$alfanumerik</span> <span style="color: #66cc66;">&#41;</span> ; <span style="color: #808080; font-style: italic;">//alfanümerik/string</span>
  <span style="color: #cc66cc;">18</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;&lt;br&gt;&quot;</span>;
  <span style="color: #cc66cc;">19</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;&lt;br&gt;&quot;</span>;
  <span style="color: #cc66cc;">20</span>.
  <span style="color: #cc66cc;">21</span>.      <span style="color: #0000ff;">$ondalik</span>  = <span style="color: #cc66cc;">5.1234</span>;
  <span style="color: #cc66cc;">22</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;Üçüncü degiskenin adi: <span style="color: #000099; font-weight: bold;">\$</span>ondalik&lt;br&gt;&quot;</span>;
  <span style="color: #cc66cc;">23</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;Degeri : &quot;</span>;
  <span style="color: #cc66cc;">24</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;$ondalik&lt;br&gt;&quot;</span>;
  <span style="color: #cc66cc;">25</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Türü : &quot;</span><span style="color: #66cc66;">&#41;</span>;
  <span style="color: #cc66cc;">26</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <a href="http://www.php.net/gettype"><span style="color: #000066;">gettype</span></a><span style="color: #66cc66;">&#40;</span> <span style="color: #0000ff;">$ondalik</span> <span style="color: #66cc66;">&#41;</span> ; <span style="color: #808080; font-style: italic;">//çift,ondalik/double</span>
  <span style="color: #cc66cc;">27</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;&lt;br&gt;&quot;</span>;
  <span style="color: #cc66cc;">28</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;&lt;br&gt;&quot;</span>;
  <span style="color: #cc66cc;">29</span>.
  <span style="color: #cc66cc;">30</span>.      <span style="color: #0000ff;">$mantiksal</span>  = <span style="color: #000000; font-weight: bold;">true</span>;
  <span style="color: #cc66cc;">31</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;Üçüncü degiskenin adi: <span style="color: #000099; font-weight: bold;">\$</span>mantiksal&lt;br&gt;&quot;</span>;
  <span style="color: #cc66cc;">32</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;Degeri : &quot;</span>;
  <span style="color: #cc66cc;">33</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;$mantiksal&lt;br&gt;&quot;</span>;
  <span style="color: #cc66cc;">34</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Türü : &quot;</span><span style="color: #66cc66;">&#41;</span>;
  <span style="color: #cc66cc;">35</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <a href="http://www.php.net/gettype"><span style="color: #000066;">gettype</span></a><span style="color: #66cc66;">&#40;</span> <span style="color: #0000ff;">$mantiksal</span> <span style="color: #66cc66;">&#41;</span> ; <span style="color: #808080; font-style: italic;">//mantiksal/boolean</span>
  <span style="color: #cc66cc;">36</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;&lt;br&gt;&quot;</span>;
  <span style="color: #cc66cc;">37</span>.      <a href="http://www.php.net/print"><span style="color: #000066;">print</span></a> <span style="color: #ff0000;">&quot;&lt;br&gt;&quot;</span>;
  <span style="color: #cc66cc;">38</span>.  <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;</pre>
<p><a href="http://www.turk-php.com/index.php?action=browseArticle&catID=200&articleID=476&page=1">Kitabın devamına buradan ulaşabilirsiniz..</a></p>
<img src="http://www.evrence.com/?ak_action=api_record_view&id=114&type=feed" alt="" /><h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/turkce-php-kitabi.html" rel="bookmark" title="Türkçe PHP Kitabı"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Türkçe PHP Kitabı" />Türkçe PHP Kitabı</a></strong><p>Gece dolanırken fark ettimki en çok rabet gören başlıklardan biriside bu. Türkçe</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/qbasic/quick-basic-bolum-4.html" rel="bookmark" title="Quick Basic &#8211; Bölüm 4"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Quick Basic &#8211; Bölüm 4" />Quick Basic &#8211; Bölüm 4</a></strong><p>Quick-Basic Kursu Bölüm 4: Kontrol blokları Programlama dillerinde döngüler ve akış kontrol</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/qbasic/quick-basic-bolum-9.html" rel="bookmark" title="Quick Basic &#8211; Bölüm 9"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Quick Basic &#8211; Bölüm 9" />Quick Basic &#8211; Bölüm 9</a></strong><p>Quick-Basic Kursu Bölüm 9: Rakamlarla ilgili işlemler ABS Verilen sayının mutlak(ABSolute) değerini</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/qbasic/quick-basic-bolum-3.html" rel="bookmark" title="Quick Basic &#8211; Bölüm 3"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Quick Basic &#8211; Bölüm 3" />Quick Basic &#8211; Bölüm 3</a></strong><p>Quick-Basic Kursu Bölüm 3: CLS , INPUT ve PRINT Bu bölümde ekranı</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/qbasic/quick-basic-bolum-11.html" rel="bookmark" title="Quick Basic &#8211; Bölüm 11"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Quick Basic &#8211; Bölüm 11" />Quick Basic &#8211; Bölüm 11</a></strong><p>Quick-Basic Kursu Bölüm 11: Dosya İşlemleri-2 Bu bölümde Random dosya oluşturma, dosyaya</p>
</div>

	

]]></content:encoded>
			<wfw:commentRss>http://www.evrence.com/programlama/php/php-icin-turkce-el-kitabi-ornekler-ve-aciklamalar.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PHP Editörü &#8211; phpDesigner</title>
		<link>http://www.evrence.com/programlama/php/php-editoru-phpdesigner.html</link>
		<comments>http://www.evrence.com/programlama/php/php-editoru-phpdesigner.html#comments</comments>
		<pubDate>Tue, 03 Feb 2009 01:00:56 +0000</pubDate>
		<dc:creator>Evren Bayraktar</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[notpad++]]></category>
		<category><![CDATA[php designer]]></category>
		<category><![CDATA[phpdesigner]]></category>

		<guid isPermaLink="false">http://www.evrence.com/?p=108</guid>
		<description><![CDATA[PHP ile uğraşan bir çok kişi notepad++ kullanmakta. Ama benim vazgeçilmezim phpDesigner.<h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-listeletme.html" rel="bookmark" title="Php ile Dizin Listeletme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin Listeletme" />Php ile Dizin Listeletme</a></strong>
Php ile dizin listeleme işlerini nasıl yapıcağımıza göz atıcaz. Hatta burada istek
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/fbml/facebooka-farkli-muzik-calar-ekleme.html" rel="bookmark" title="Facebook’a Farklı Müzik Çalar Ekleme"><img src="http://www.evrence.com/wp-content/uploads/2010/07/muzik-150x140.jpg" width="70" height="50" alt="Facebook’a Farklı Müzik Çalar Ekleme" />Facebook’a Farklı Müzik Çalar Ekleme</a></strong>
Sizlere daha önce Facebook&#8217;a Müzik Çalar eklemeyi anlatmıştım. Fakat player&#8217;ımız farklı olsun,
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/jquery/jquery-ve-lightbox.html" rel="bookmark" title="jQuery ve LightBox"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="jQuery ve LightBox" />jQuery ve LightBox</a></strong>
Turk-php de bir arkadaşımızın isteği üzerine lightbox hakkında bir örnek yaptım. Aslına
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/genel/facebook-yenilendi.html" rel="bookmark" title="Facebook Yenilendi"><img src="http://www.evrence.com/wp-content/uploads/2010/02/2010-02-06_003741-150x66.png" width="70" height="50" alt="Facebook Yenilendi" />Facebook Yenilendi</a></strong>
Bu yeni tasarım benim gerçekten hoşuma gitti. Logonun yanındaki mini iconlar gezinmeyi
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/proje/wordpress-icin-yazi-ici-reklam-eklentisi.html" rel="bookmark" title="WordPress için yazı içi reklam eklentisi"><img src="http://www.evrence.com/wp-content/uploads/2009/08/wordpress-150x100.jpg" width="70" height="50" alt="WordPress için yazı içi reklam eklentisi" />WordPress için yazı içi reklam eklentisi</a></strong>
In Post Advertisment &#8211; Yazı İçi Reklam Eklentisi Ben bu eklentiye ingilizce
</div>

	

]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="phpDesigner" src="http://www.mpsoftware.dk/images/phpdesigner/phpdesigner2008_phpide_small.gif" alt="" width="141" height="121" />PHP ile uğraşan bir çok kişi notepad++ kullanmakta. Ama benim vazgeçilmezim phpDesigner.</p>
<p>Gerçekten kullanımı, renklendirmesi, hataları belli etmesi benim çok ama çok kolaylığıma geliyor. Denememiş ve kullanmamış bütün aradaşlara ŞİDDETLE tavsiye ederim.</p>
<p>phpDesigner hakkında daha çok bilgiyi <a href="http://www.mpsoftware.dk/phpdesigner.php" target="_blank">buradan</a> alabilirsiniz.</p>
<p>Ayriyetten full versiyon olarakda <a href="http://www.wardom.org/php-designer-2008-v6-0-0-full-t173449.html?t=173449" target="_blank">böyle bir link buldum</a>. Umarım işinizi görür. Kolay gelsin.</p>
<img src="http://www.evrence.com/?ak_action=api_record_view&id=108&type=feed" alt="" /><h3>Benzer Yazılar:</h3>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/php/php-ile-dizin-listeletme.html" rel="bookmark" title="Php ile Dizin Listeletme"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="Php ile Dizin Listeletme" />Php ile Dizin Listeletme</a></strong><p>Php ile dizin listeleme işlerini nasıl yapıcağımıza göz atıcaz. Hatta burada istek</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/fbml/facebooka-farkli-muzik-calar-ekleme.html" rel="bookmark" title="Facebook’a Farklı Müzik Çalar Ekleme"><img src="http://www.evrence.com/wp-content/uploads/2010/07/muzik-150x140.jpg" width="70" height="50" alt="Facebook’a Farklı Müzik Çalar Ekleme" />Facebook’a Farklı Müzik Çalar Ekleme</a></strong><p>Sizlere daha önce Facebook&#8217;a Müzik Çalar eklemeyi anlatmıştım. Fakat player&#8217;ımız farklı olsun,</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/jquery/jquery-ve-lightbox.html" rel="bookmark" title="jQuery ve LightBox"><img src="http://www.evrence.com/wp-content/themes/evrenCe/images/benzer-yazi.png" width="70" height="50" alt="jQuery ve LightBox" />jQuery ve LightBox</a></strong><p>Turk-php de bir arkadaşımızın isteği üzerine lightbox hakkında bir örnek yaptım. Aslına</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/genel/facebook-yenilendi.html" rel="bookmark" title="Facebook Yenilendi"><img src="http://www.evrence.com/wp-content/uploads/2010/02/2010-02-06_003741-150x66.png" width="70" height="50" alt="Facebook Yenilendi" />Facebook Yenilendi</a></strong><p>Bu yeni tasarım benim gerçekten hoşuma gitti. Logonun yanındaki mini iconlar gezinmeyi</p>
</div>

	    
    		

		<div class="benzer-yazi"><strong><a href="http://www.evrence.com/programlama/proje/wordpress-icin-yazi-ici-reklam-eklentisi.html" rel="bookmark" title="WordPress için yazı içi reklam eklentisi"><img src="http://www.evrence.com/wp-content/uploads/2009/08/wordpress-150x100.jpg" width="70" height="50" alt="WordPress için yazı içi reklam eklentisi" />WordPress için yazı içi reklam eklentisi</a></strong><p>In Post Advertisment &#8211; Yazı İçi Reklam Eklentisi Ben bu eklentiye ingilizce</p>
</div>

	

]]></content:encoded>
			<wfw:commentRss>http://www.evrence.com/programlama/php/php-editoru-phpdesigner.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

