<?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>Kesdi Hane' ye Hoşgeldiniz</title>
	<atom:link href="http://blog.kesdi.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kesdi.com</link>
	<description>Kestane'ye Hoşgeldiniz</description>
	<lastBuildDate>Thu, 17 May 2012 08:15:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>bitmap imajları temiz vektöre dönüştürmek</title>
		<link>http://blog.kesdi.com/web-sayfalari/bitmap-imajlari-temiz-vektore-donusturmek/</link>
		<comments>http://blog.kesdi.com/web-sayfalari/bitmap-imajlari-temiz-vektore-donusturmek/#comments</comments>
		<pubDate>Thu, 17 May 2012 08:15:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Web Sayfaları]]></category>
		<category><![CDATA[Webmaster]]></category>

		<guid isPermaLink="false">http://blog.kesdi.com/?p=692</guid>
		<description><![CDATA[Web ve masaüstü seçenekleri ile her zaman lazım bir uygulama. &#160; www.vectormagic.com]]></description>
			<content:encoded><![CDATA[<p>Web ve masaüstü seçenekleri ile her zaman lazım bir uygulama.</p>
<p>&nbsp;</p>
<p><a href="http://www.vectormagic.com" target="_blank">www.vectormagic.com</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.kesdi.com%2Fweb-sayfalari%2Fbitmap-imajlari-temiz-vektore-donusturmek%2F&amp;title=bitmap%20imajlar%C4%B1%20temiz%20vekt%C3%B6re%20d%C3%B6n%C3%BC%C5%9Ft%C3%BCrmek" id="wpa2a_2">Paylaş/Kaydet</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.kesdi.com/web-sayfalari/bitmap-imajlari-temiz-vektore-donusturmek/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php&#8217;de parametrik değişken</title>
		<link>http://blog.kesdi.com/php/phpde-parametrik-degisken/</link>
		<comments>http://blog.kesdi.com/php/phpde-parametrik-degisken/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 07:24:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.kesdi.com/?p=688</guid>
		<description><![CDATA[Php&#8217;de değişken isimlerini de değişkenden alabilirsiniz.]]></description>
			<content:encoded><![CDATA[<p>Php&#8217;de değişken isimlerini de değişkenden alabilirsiniz.</p>
<pre class="brush: plain; title: ; notranslate">
&lt;?PHP

$degiskenismi = &quot;degiskenim&quot;;
$$degiskenismi = &quot;değişken içeriği&quot;;
// burada degiskenim isminde bir değişken içine değişken içeriği değeri atadık.

echo $degiskenim;

?&gt;
</pre>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.kesdi.com%2Fphp%2Fphpde-parametrik-degisken%2F&amp;title=php%E2%80%99de%20parametrik%20de%C4%9Fi%C5%9Fken" id="wpa2a_4">Paylaş/Kaydet</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.kesdi.com/php/phpde-parametrik-degisken/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP ile aranan kelimeyi renklendirme nasıl yapılır</title>
		<link>http://blog.kesdi.com/php/php-ile-aranan-kelimeyi-renklendirme-nasil-yapilir/</link>
		<comments>http://blog.kesdi.com/php/php-ile-aranan-kelimeyi-renklendirme-nasil-yapilir/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 20:17:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Webmaster]]></category>

		<guid isPermaLink="false">http://blog.kesdi.com/?p=683</guid>
		<description><![CDATA[kodaman&#8217;da gördüğüm bu script hoşuma gitti, hem sizlerle paylaşmak hem de arşivlemek için sayfama eklemeye karar verdim. aşağıdaki şekilde kullanılıyor]]></description>
			<content:encoded><![CDATA[<p>kodaman&#8217;da gördüğüm bu script hoşuma gitti, hem sizlerle paylaşmak hem de arşivlemek için sayfama eklemeye karar verdim.</p>
<pre id="textarea2">
<pre class="brush: plain; title: ; notranslate">
&lt;?php
function vurgula($metin, $kelimeler, $renk = '#FFFF00')
{
if(is_array($kelimeler))
{
foreach($kelimeler as $k =&gt; $kelime)
{
$desen[$k] = &quot;/\b($kelime)\b/is&quot;;
$degistir[$k] = '&lt;font style=”background-color:'.$renk.';&quot;&gt;\\1&lt;/font&gt;';
}
}  else {
$desen = &quot;/\b($kelimeler)\b/is&quot;;
$degistir = '&lt;font style=&quot;background-color:'.$renk.';&quot;&gt;\\1&lt;/font&gt;';
}
return preg_replace($desen,$degistir,$metin);
}
?&gt;
</pre>
<p>aşağıdaki şekilde kullanılıyor</p>
<pre class="brush: plain; title: ; notranslate">
&lt;?php
echo vurgula($metin, $aranan , $renk = '#FFFF00');
?&gt;
</pre>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.kesdi.com%2Fphp%2Fphp-ile-aranan-kelimeyi-renklendirme-nasil-yapilir%2F&amp;title=PHP%20ile%20aranan%20kelimeyi%20renklendirme%20nas%C4%B1l%20yap%C4%B1l%C4%B1r" id="wpa2a_6">Paylaş/Kaydet</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.kesdi.com/php/php-ile-aranan-kelimeyi-renklendirme-nasil-yapilir/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Müslümanlık Nerde</title>
		<link>http://blog.kesdi.com/siir/muslumanlik-nerde/</link>
		<comments>http://blog.kesdi.com/siir/muslumanlik-nerde/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 06:57:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Şiir]]></category>

		<guid isPermaLink="false">http://blog.kesdi.com/?p=679</guid>
		<description><![CDATA[Müslümanlık nerde! Bizden geçmiş insanlık bile&#8230; Adem aldatmaksa maksad, aldanan yok, nafile! Kaç hakiki müslüman gördümse, hep makberdedir; Müslümanlık, bilmem amma, galiba göklerdedir; İstemem, dursun o payansız mefahir bir yana&#8230; Gösterin ecdada az çok benziyen kan bana! İsterim sizlerde görmek ırkınızdan yadigar, Çok değil, ancak Necip evlada layık tek şiar. Varsa şayet, söyleyin, bir parçacık [...]]]></description>
			<content:encoded><![CDATA[<p>Müslümanlık nerde! Bizden geçmiş insanlık bile&#8230;<br />
Adem aldatmaksa maksad, aldanan yok, nafile!<br />
Kaç hakiki müslüman gördümse, hep makberdedir;<br />
Müslümanlık, bilmem amma, galiba göklerdedir;<br />
İstemem, dursun o payansız mefahir bir yana&#8230;<br />
Gösterin ecdada az çok benziyen kan bana!<br />
İsterim sizlerde görmek ırkınızdan yadigar,<br />
Çok değil, ancak Necip evlada layık tek şiar.<br />
Varsa şayet, söyleyin, bir parçacık insafınız:<br />
Böyle kansız mıydı -haşa- kahraman ecdadınız?<br />
Böyle düşmüş müydü herkes ayrılık sevdasına?<br />
Benzeyip şirazesiz bir mushafın eczasına,<br />
Hiç görülmüş müydü olsun kayd-i vahdet tarumar?<br />
Böyle olmuş muydu millet canevinden rahnedar?<br />
Böyle açlıktan boğazlar mıydı kardeş kardeşi?<br />
Böyle adet miydi bi-perva, yemek insan leşi?<br />
Irzımızdır çiğnenen, evladımızdır doğranan&#8230;<br />
Hey sıkılmaz, ağlamazsan, bari gülmekten utan!&#8230;<br />
&#8220;His&#8221; denen devletliden olsaydı halkın behresi:<br />
Payitahtından bugün taşmazdı sarhoş naresi!</p>
<p>Kurd uzaklardan bakar, dalgın görürmüş merkebi.</p>
<p>Saldırırmış ansızın yaydan boşanmış ok gibi.<br />
Lakin, aşk olsun ki, aldırmaz otlarmış eşek,<br />
Sanki tavşanmış gelen, yahut kılıksız köstebek!<br />
Kâr sayarmış bir tutam ot fazla olsun yutmayı&#8230;<br />
Hasmı, derken, çullanırmış yutmadan son lokmayı!&#8230;<br />
Bu hakikattir bu, şaşmaz, bildiğin usluba sok:<br />
Halimiz merkeple kurdun aynı, asla farkı yok.<br />
Burnumuzdan tuttu düşman; biz boğaz kaydındayız;<br />
Bir bakın: hala mı hala ihtiras ardındayız!<br />
Saygısızlık elverir&#8230; Bir parça olsun arlanın:<br />
Vakti çoktan geldi, hem geçmektedir arlanmanın!<br />
Davranın haykırmadan nakus-u izmihaliniz&#8230;<br />
Öyle bir buhrana sapmıştır ki, zira, halimiz:<br />
Zevke dalmak söyle dursun, vaktiniz yok mateme!<br />
Davranın zira gülünç olduk bütün bir aleme,<br />
Bekleşirken gökte yüz binlerce ervah, intikam;<br />
Yerde kalmış, na&#8217;şa benzer kavm için durmak haram!&#8230;<br />
Kahraman ecdadınızdan sizde bir kan yok mudur?<br />
Yoksa, istikbalinizden korkulur, pek korkulur.<br />
<em> M.Akif Ersoy</em></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.kesdi.com%2Fsiir%2Fmuslumanlik-nerde%2F&amp;title=M%C3%BCsl%C3%BCmanl%C4%B1k%20Nerde" id="wpa2a_8">Paylaş/Kaydet</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.kesdi.com/siir/muslumanlik-nerde/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Online Hızlı Buton</title>
		<link>http://blog.kesdi.com/webmaster/online-hizli-buton/</link>
		<comments>http://blog.kesdi.com/webmaster/online-hizli-buton/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 19:51:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Webmaster]]></category>

		<guid isPermaLink="false">http://blog.kesdi.com/?p=673</guid>
		<description><![CDATA[Sayfalarda ufak butonları sık sık görmeye başladık. Renkli ve pratik butonlar çok kullanılmaya başladı. Ama ufacık bir buton için photoshop gibi bir program ile zahmetli uğraşılara gerek yok. Bu işi online olarak yapan siteler var. Seçtiğim bir site ile deneme yaptım. Hem de Türkçe desteği var. http://tr.cooltext.com/ Umarım işinize yarar.]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.kesdi.com/dosyalar/2011/11/cooltext584516625.png"><img class="size-full wp-image-674 alignleft" title="cooltext584516625" src="http://blog.kesdi.com/dosyalar/2011/11/cooltext584516625.png" alt="" width="161" height="46" /></a><br />
Sayfalarda ufak butonları sık sık görmeye başladık. Renkli ve pratik butonlar çok kullanılmaya başladı. Ama ufacık bir buton için photoshop gibi bir program ile zahmetli uğraşılara gerek yok. Bu işi online olarak yapan siteler var. Seçtiğim bir site ile deneme yaptım. Hem de Türkçe desteği var. <a title="cool text" href="http://tr.cooltext.com/" target="_blank">http://tr.cooltext.com/</a></p>
<p>Umarım işinize yarar.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.kesdi.com%2Fwebmaster%2Fonline-hizli-buton%2F&amp;title=Online%20H%C4%B1zl%C4%B1%20Buton" id="wpa2a_10">Paylaş/Kaydet</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.kesdi.com/webmaster/online-hizli-buton/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP öntanımlı değişkenler</title>
		<link>http://blog.kesdi.com/php/php-ontanimli-degiskenler/</link>
		<comments>http://blog.kesdi.com/php/php-ontanimli-degiskenler/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 08:07:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.kesdi.com/?p=667</guid>
		<description><![CDATA[Bazen aklımdan çıkıyor hangi ön tanımlı değişkenler vardı diye.  Şöyle derli toplu açıklamalı bir liste burada dursa fena olmaz. PHP Superglobals: Variable Description $GLOBALS Contains a reference to every variable which is currently available within the global scope of the script. The keys of this array are the names of the global variables. $_SERVER This [...]]]></description>
			<content:encoded><![CDATA[<p>Bazen aklımdan çıkıyor hangi ön tanımlı değişkenler vardı diye.  Şöyle derli toplu açıklamalı bir liste burada dursa fena olmaz.<br />
<span id="more-667"></span></p>
<h2>PHP Superglobals:</h2>
<table style="width: 100%;" border="1" cellspacing="0" cellpadding="5">
<tbody>
<tr>
<th width="10%">Variable</th>
<th width="90%">Description</th>
</tr>
<tr>
<td>$GLOBALS</td>
<td>Contains a reference to every variable which is currently available within the global scope of the script. The keys of this array are the names of the global variables.</td>
</tr>
<tr>
<td>$_SERVER</td>
<td>This is an array containing information such as headers, paths, and script locations. The entries in this array are created by the web server. There is no guarantee that every web server will provide any of these. See next section for a complete list of all the SERVER variables.</td>
</tr>
<tr>
<td>$_GET</td>
<td>An associative array of variables passed to the current script via the HTTP GET method.</td>
</tr>
<tr>
<td>$_POST</td>
<td>An associative array of variables passed to the current script via the HTTP POST method.</td>
</tr>
<tr>
<td>$_FILES</td>
<td>An associative array of items uploaded to the current script via the HTTP POST method.</td>
</tr>
<tr>
<td>$_REQUEST</td>
<td>An associative array consisting of the contents of $_GET, $_POST, and $_COOKIE.</td>
</tr>
<tr>
<td>$_COOKIE</td>
<td>An associative array of variables passed to the current script via HTTP cookies.</td>
</tr>
<tr>
<td>$_SESSION</td>
<td>An associative array containing session variables available to the current script.</td>
</tr>
<tr>
<td>$_PHP_SELF</td>
<td>A string containing PHP script file name in which it is called.</td>
</tr>
<tr>
<td>$php_errormsg</td>
<td>$php_errormsg is a variable containing the text of the last error message generated by PHP.</td>
</tr>
</tbody>
</table>
<h2>Server variables: $_SERVER</h2>
<p>$_SERVER is an array containing information such as headers, paths, and script locations. The entries in this array are created by the web server. There is no guarantee that every web server will provide any of these.</p>
<table style="width: 100%;" border="1" cellspacing="0" cellpadding="5">
<tbody>
<tr>
<th width="10%">Variable</th>
<th width="90%">Description</th>
</tr>
<tr>
<td>$_SERVER['PHP_SELF']</td>
<td>The filename of the currently executing script, relative to the document root</td>
</tr>
<tr>
<td>$_SERVER['argv']</td>
<td>Array of arguments passed to the script. When the script is run on the command line, this gives C-style access to the command line parameters. When called via the GET method, this will contain the query string.</td>
</tr>
<tr>
<td>$_SERVER['argc']</td>
<td>Contains the number of command line parameters passed to the script if run on the command line.</td>
</tr>
<tr>
<td>$_SERVER['GATEWAY_INTERFACE']</td>
<td>What revision of the CGI specification the server is using; i.e. &#8216;CGI/1.1&#8242;.</td>
</tr>
<tr>
<td>$_SERVER['SERVER_ADDR']</td>
<td>The IP address of the server under which the current script is executing.</td>
</tr>
<tr>
<td>$_SERVER['SERVER_NAME']</td>
<td>The name of the server host under which the current script is executing. If the script is running on a virtual host, this will be the value defined for that virtual host.</td>
</tr>
<tr>
<td>$_SERVER['SERVER_SOFTWARE']</td>
<td>Server identification string, given in the headers when responding to requests.</td>
</tr>
<tr>
<td>$_SERVER['SERVER_PROTOCOL']</td>
<td>Name and revision of the information protocol via which the page was requested; i.e. &#8216;HTTP/1.0&#8242;;</td>
</tr>
<tr>
<td>$_SERVER['REQUEST_METHOD']</td>
<td>Which request method was used to access the page; i.e. &#8216;GET&#8217;, &#8216;HEAD&#8217;, &#8216;POST&#8217;, &#8216;PUT&#8217;.</td>
</tr>
<tr>
<td>$_SERVER['REQUEST_TIME']</td>
<td>The timestamp of the start of the request. Available since PHP 5.1.0.</td>
</tr>
<tr>
<td>$_SERVER['QUERY_STRING']</td>
<td>The query string, if any, via which the page was accessed.</td>
</tr>
<tr>
<td>$_SERVER['DOCUMENT_ROOT']</td>
<td>The document root directory under which the current script is executing, as defined in the server&#8217;s configuration file.</td>
</tr>
<tr>
<td>$_SERVER['HTTP_ACCEPT']</td>
<td>Contents of the Accept: header from the current request, if there is one.</td>
</tr>
<tr>
<td>$_SERVER['HTTP_ACCEPT_CHARSET']</td>
<td>Contents of the Accept-Charset: header from the current request, if there is one. Example: &#8216;iso-8859-1,*,utf-8&#8242;.</td>
</tr>
<tr>
<td>$_SERVER['HTTP_ACCEPT_ENCODING']</td>
<td>Contents of the Accept-Encoding: header from the current request, if there is one. Example: &#8216;gzip&#8217;.</td>
</tr>
<tr>
<td>$_SERVER['HTTP_ACCEPT_LANGUAGE']</td>
<td>Contents of the Accept-Language: header from the current request, if there is one. Example: &#8216;en&#8217;.</td>
</tr>
<tr>
<td>$_SERVER['HTTP_CONNECTION']</td>
<td>Contents of the Connection: header from the current request, if there is one. Example: &#8216;Keep-Alive&#8217;.</td>
</tr>
<tr>
<td>$_SERVER['HTTP_HOST']</td>
<td>Contents of the Host: header from the current request, if there is one.</td>
</tr>
<tr>
<td>$_SERVER['HTTP_REFERER']</td>
<td>The address of the page (if any) which referred the user agent to the current page.</td>
</tr>
<tr>
<td>$_SERVER['HTTP_USER_AGENT']</td>
<td>This is a string denoting the user agent being which is accessing the page. A typical example is: Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586).</td>
</tr>
<tr>
<td>$_SERVER['HTTPS']</td>
<td>Set to a non-empty value if the script was queried through the HTTPS protocol.</td>
</tr>
<tr>
<td>$_SERVER['REMOTE_ADDR']</td>
<td>The IP address from which the user is viewing the current page.</td>
</tr>
<tr>
<td>$_SERVER['REMOTE_HOST']</td>
<td>The Host name from which the user is viewing the current page. The reverse dns lookup is based off the REMOTE_ADDR of the user.</td>
</tr>
<tr>
<td>$_SERVER['REMOTE_PORT']</td>
<td>The port being used on the user&#8217;s machine to communicate with the web server.</td>
</tr>
<tr>
<td>$_SERVER['SCRIPT_FILENAME']</td>
<td>The absolute pathname of the currently executing script.</td>
</tr>
<tr>
<td>$_SERVER['SERVER_ADMIN']</td>
<td>The value given to the SERVER_ADMIN (for Apache) directive in the web server configuration file.</td>
</tr>
<tr>
<td>$_SERVER['SERVER_PORT']</td>
<td>The port on the server machine being used by the web server for communication. For default setups, this will be &#8217;80&#8242;.</td>
</tr>
<tr>
<td>$_SERVER['SERVER_SIGNATURE']</td>
<td>String containing the server version and virtual host name which are added to server-generated pages, if enabled.</td>
</tr>
<tr>
<td>$_SERVER['PATH_TRANSLATED']</td>
<td>Filesystem based path to the current script.</td>
</tr>
<tr>
<td>$_SERVER['SCRIPT_NAME']</td>
<td>Contains the current script&#8217;s path. This is useful for pages which need to point to themselves.</td>
</tr>
<tr>
<td>$_SERVER['REQUEST_URI']</td>
<td>The URI which was given in order to access this page; for instance, &#8216;/index.html&#8217;.</td>
</tr>
<tr>
<td>$_SERVER['PHP_AUTH_DIGEST']</td>
<td>When running under Apache as module doing Digest HTTP authentication this variable is set to the &#8216;Authorization&#8217; header sent by the client.</td>
</tr>
<tr>
<td>$_SERVER['PHP_AUTH_USER']</td>
<td>When running under Apache or IIS (ISAPI on PHP 5) as module doing HTTP authentication this variable is set to the username provided by the user.</td>
</tr>
<tr>
<td>$_SERVER['PHP_AUTH_PW']</td>
<td>When running under Apache or IIS (ISAPI on PHP 5) as module doing HTTP authentication this variable is set to the password provided by the user.</td>
</tr>
<tr>
<td>$_SERVER['AUTH_TYPE']</td>
<td>When running under Apache as module doing HTTP authenticated this variable is set to the authentication type.</td>
</tr>
</tbody>
</table>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.kesdi.com%2Fphp%2Fphp-ontanimli-degiskenler%2F&amp;title=PHP%20%C3%B6ntan%C4%B1ml%C4%B1%20de%C4%9Fi%C5%9Fkenler" id="wpa2a_12">Paylaş/Kaydet</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.kesdi.com/php/php-ontanimli-degiskenler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Session işlemlerini Kolaylaştıran Class</title>
		<link>http://blog.kesdi.com/php/session-islemlerini-kolaylastiran-class/</link>
		<comments>http://blog.kesdi.com/php/session-islemlerini-kolaylastiran-class/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 08:04:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.kesdi.com/?p=663</guid>
		<description><![CDATA[Bu Class Mehmet Şamlı Tarafından Yazılmış bir Class’tır. Class’ın amacı Kod’lar içerisinde session işlemlerinin kolaylaştırılması . Kısaca Bahsedersek . Class Session’ları oluşturur,Siler,session_id sini verir, Dizi halinde session oluşturma imkanı vardır. Zaten kullanınca Öğreneceksiniz . Session’lar genelde dosya halindedir. Fakat bu class bilgileri Memory’de Saklamaktadır. Ayrıca bu class’da sabit olarak session adı ve session expire süresi [...]]]></description>
			<content:encoded><![CDATA[<p>Bu Class Mehmet Şamlı Tarafından Yazılmış bir Class’tır.</p>
<p>Class’ın amacı Kod’lar içerisinde session işlemlerinin kolaylaştırılması .</p>
<p>Kısaca Bahsedersek . Class Session’ları oluşturur,Siler,session_id sini verir, Dizi halinde session oluşturma imkanı vardır. Zaten kullanınca Öğreneceksiniz . Session’lar genelde dosya halindedir. Fakat bu class bilgileri Memory’de Saklamaktadır. Ayrıca bu class’da sabit olarak session adı ve session expire süresi ayarlarıda mevcuttur. Saniye Bazından ayarlanabilmektedir.</p>
<p><span id="more-663"></span></p>
<pre class="brush: plain; title: ; notranslate">
&lt;?php
/**
 * @author Umut
 * @copyright 2011
 * @version PHP 6.0.0
 */
 class session
 {
 /**
 * Session Zaman Aşımı Süresi
 */
 const TIMEOUT = '300';
 /**
 * Session Adı
 */
 const SESSION_NAME = 'JSESSIONID';
 public static function set()
 {
 //Session expire süresi belirliyoruz.
 ini_set('session.gc_maxlifetime',self::TIMEOUT);
 self::setSessionName();
 self::startsession();
 }
 private static function startsession()
 {
 session_start();
 }
 private static function setSessionName()
 {
 session_name(self::SESSION_NAME);
 }
 /**
 * Session atayan method. Dizideki parametreleri session olarak atar.
 * @param array $sessionArr
 */
 public static function createSession($sessionArr)
 {
 if ( is_array($sessionArr))
 {
 $count = count($sessionArr);
 if($count%2==0)
 {
 $i  = 0 ;
 while($i&lt;$count)
 {
 $_SESSION[$sessionArr[$i]] = $sessionArr[$i+1];
 $i+=2;
 }
 return true;
 }
 }
 return false ;
 }
 /**
 * session işlemlerini sonlandırmak için kullanılan method
 * tek tek session'ları array olarak göndererek silebildiği gibi $all paramatresi
 * true olarak göndererk tüm session'ları silebilir
 *  @param array $sessionArr array('fname','lname')
 *  $param boolean $all
 * return boolean
 */
 public static function deleteSession($sessionArr,$all=false)
 {
 if($all)
 {
 session_destroy();
 echo &quot;session'lar destroy edildi&quot;;
 return true ;
 }
 if(is_array($sessionArr))
 {
 $count = count($sessionArr);
 $i=0;
 while($i&lt;$count)
 {  unset($_SESSION[$sessionArr[$i]]);  $i++;  }
 foreach($sessionArr as $name)
 {  unset($_SESSION[$name]);

 }
 return true;
 }

 return false;
 }
 /**  * session bilgisini get eder  */
 public static function getSessionId($regenerate=false)
 {  if ($regenerate)
 {  session_regenerate_id();  }

 return session_id();
 }  /**  * Session Adını Get eder  */
 public static  function getSession($name)
 {

  return $_SESSION[$name];

 }
 public static function sessionVariable($sessionName)
 {  if(isset($_SESSION[$sessionName]))

 return true;

 else  return false;

 }

 } ?&gt;
</pre>
<p>kullanımı</p>
<pre class="brush: plain; title: ; notranslate">
session::set(); // Tüm Oturumları Başlatır.
$veri = array('Adi','UFUK','soyadi','bağci');
session::createSession($veri);// Session'ları oluşturur.
session::deleteSession(array('Adi','Soyadi')); // Verilen isimdeki Session'ları  yok eder.
session::deleteSession(array(),TRUE); // Hepsini YokEder.
echo session::getSessionId(TRUE); // Session Bilgisini Get Eder.
</pre>
<p>Yukarıdaki sınıfı henüz inceleme fırsatım olmadı, ama burada dursun diye sayfaya ekledim. İleride lazım olursa fikir verebilir.</p>
<p>Kaynak : http://www.jettem.tk/2011/php/php-session-islemlerini-kolaylastiran-class.html</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.kesdi.com%2Fphp%2Fsession-islemlerini-kolaylastiran-class%2F&amp;title=Session%20i%C5%9Flemlerini%20Kolayla%C5%9Ft%C4%B1ran%20Class" id="wpa2a_14">Paylaş/Kaydet</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.kesdi.com/php/session-islemlerini-kolaylastiran-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dinamikdns.com bugün itibari ile kapandı.</title>
		<link>http://blog.kesdi.com/web-sayfalari/dinamikdns-com-bugun-itibari-ile-kapandi/</link>
		<comments>http://blog.kesdi.com/web-sayfalari/dinamikdns-com-bugun-itibari-ile-kapandi/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 11:29:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Sayfaları]]></category>

		<guid isPermaLink="false">http://blog.kesdi.com/?p=660</guid>
		<description><![CDATA[ilk çıktığı günlerde yabancı rakiplerinin yerini dolduracağını düşündüğüm www.dinamikdns.com sitesi bugün kapandı. Umarım geçici bir teknik sorundur. Zira aktif olarak kullanmaktaydım. EK: 1 gün pasif olan sistemleri 6 eylül 2011 itibari ile çalışmaya başladı.]]></description>
			<content:encoded><![CDATA[<p>ilk çıktığı günlerde yabancı rakiplerinin yerini dolduracağını düşündüğüm <a href="http://www.dinamikdns.com">www.dinamikdns.com</a> sitesi bugün kapandı. Umarım geçici bir teknik sorundur. Zira aktif olarak kullanmaktaydım.</p>
<p><strong>EK: 1 gün pasif olan sistemleri 6 eylül 2011 itibari ile çalışmaya başladı.</strong></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.kesdi.com%2Fweb-sayfalari%2Fdinamikdns-com-bugun-itibari-ile-kapandi%2F&amp;title=dinamikdns.com%20bug%C3%BCn%20itibari%20ile%20kapand%C4%B1." id="wpa2a_16">Paylaş/Kaydet</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.kesdi.com/web-sayfalari/dinamikdns-com-bugun-itibari-ile-kapandi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Toyota ile ilgili bulduğum güzel linkler</title>
		<link>http://blog.kesdi.com/araba/toyota-ile-ilgili-buldugum-guzel-linkler/</link>
		<comments>http://blog.kesdi.com/araba/toyota-ile-ilgili-buldugum-guzel-linkler/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 15:26:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Araba]]></category>

		<guid isPermaLink="false">http://blog.kesdi.com/?p=617</guid>
		<description><![CDATA[http://www.toyotacikmaci.com http://corolla-corolla.blogspot.com/ http://www.nrgizerbunny.com]]></description>
			<content:encoded><![CDATA[<p>http://www.toyotacikmaci.com</p>
<p>http://corolla-corolla.blogspot.com/</p>
<p>http://www.nrgizerbunny.com</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.kesdi.com%2Faraba%2Ftoyota-ile-ilgili-buldugum-guzel-linkler%2F&amp;title=Toyota%20ile%20ilgili%20buldu%C4%9Fum%20g%C3%BCzel%20linkler" id="wpa2a_18">Paylaş/Kaydet</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.kesdi.com/araba/toyota-ile-ilgili-buldugum-guzel-linkler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xampp yeni güvenlik konsepti (new security consept)</title>
		<link>http://blog.kesdi.com/php/xampp-yeni-guvenlik-konsepti-new-security-consept/</link>
		<comments>http://blog.kesdi.com/php/xampp-yeni-guvenlik-konsepti-new-security-consept/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 10:51:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Webmaster]]></category>

		<guid isPermaLink="false">http://blog.kesdi.com/?p=615</guid>
		<description><![CDATA[Xampp in yeni versiyonlarında, yerel ağ dışından erişmeye çalıştığınızda Eriim yasak! Yeni XAMPP güvenlik konsepti: Istenen dizine erişim yalnızca yerel ağ mevcuttur. Bu ayar dosyası &#8220;olarak yapılandırılmış olabilir olacak httpd-xampp.conf&#8221;. Bunun bir sunucu hatası olduğunu düşünüyorsanız, lütfen site yöneticisi ile iletişime geçin. Error 403 şeklinde bir hata mesajı veriyor.  Güvenlik için yeni versiyonlarında farklı bir [...]]]></description>
			<content:encoded><![CDATA[<p>Xampp in yeni versiyonlarında, yerel ağ dışından erişmeye çalıştığınızda</p>
<h1>Eriim yasak!</h1>
<hr />
<p>Yeni XAMPP güvenlik konsepti:</p>
<p>Istenen dizine erişim yalnızca yerel ağ mevcuttur.</p>
<p>Bu ayar dosyası &#8220;olarak yapılandırılmış olabilir olacak httpd-xampp.conf&#8221;.</p>
<hr />
<p>Bunun bir sunucu hatası olduğunu düşünüyorsanız, lütfen site yöneticisi ile iletişime geçin.</p>
<h2>Error 403</h2>
<p>şeklinde bir hata mesajı veriyor.  Güvenlik için yeni versiyonlarında farklı bir uygulamaya gitmiş anlaşılan apache friends. eğer yerel ağ dışında da web sayfasını kullanmak istiyorsanız aşağıdaki gibi düzeltme yapmanız gerekiyor.</p>
<p><span id="more-615"></span></p>
<p>1.  C:\xampp\apache\conf\extra\httpd-xampp.conf dosyasını açın.</p>
<p>2. aşağıdaki alanı bulun</p>
<p><em><strong>&lt;LocationMatch &#8220;^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))&#8221;&gt;</strong></em><br />
<em><strong> Order deny,allow</strong></em><br />
<em><strong> Deny from all</strong></em><br />
<em><strong> Allow from 127.0.0.0/8 </strong></em><br />
<em><strong> ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var</strong></em><br />
<em><strong>&lt;/LocationMatch&gt;</strong></em></p>
<p>3. Deny from all satırının önüne # işareti koyun</p>
<p>yani şu şekilde</p>
<p><em><strong>&lt;LocationMatch &#8220;^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))&#8221;&gt;</strong></em><br />
<em><strong> Order deny,allow</strong></em><br />
<em><strong> #Deny from all</strong></em><br />
<em><strong> Allow from 127.0.0.0/8 </strong></em><br />
<em><strong> ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var</strong></em><br />
<em><strong>&lt;/LocationMatch&gt;</strong></em></p>
<p>4. Dosyayı kaydedin, apache servisini yeniden başlatın.</p>
<p>Bitti <img src='http://blog.kesdi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="_mcePaste" class="mcePaste" style="position: absolute; left: -10000px; top: 270px; width: 1px; height: 1px; overflow: hidden;">
<h1>Eriim yasak!</h1>
<hr />
<p style="margin-left: 2.6em; font-size: 1.2em; color: red;">Yeni XAMPP güvenlik konsepti:</p>
<p>Istenen dizine erişim yalnızca yerel ağ mevcuttur.</p>
<p>Bu ayar dosyası &#8220;olarak yapılandırılmış olabilir olacak httpd-xampp.conf&#8221;.</p>
<hr />
<p>Bunun bir sunucu hatası olduğunu düşünüyorsanız, lütfen <a href="mailto:postmaster@localhost">site yöneticisi</a> ile iletişime geçin.</p>
<h2>Error 403</h2>
</div>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.kesdi.com%2Fphp%2Fxampp-yeni-guvenlik-konsepti-new-security-consept%2F&amp;title=xampp%20yeni%20g%C3%BCvenlik%20konsepti%20%28new%20security%20consept%29" id="wpa2a_20">Paylaş/Kaydet</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.kesdi.com/php/xampp-yeni-guvenlik-konsepti-new-security-consept/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

