<?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>Osman ERDOÄžAN &#187; Kodlama</title>
	<atom:link href="http://www.osmanerdogan.com/kategori/web-tasarim/kodlama/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.osmanerdogan.com</link>
	<description>KiÅŸisel Web Sitesi ve Web GÃ¼nlÃ¼ÄŸÃ¼</description>
	<lastBuildDate>Fri, 10 Feb 2012 15:59:19 +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>jQuery ile reddit, youtube tarzÄ± beÄŸenme Ã¶zelliÄŸi</title>
		<link>http://www.osmanerdogan.com/2011/05/24/jquery-ile-reddit-youtube-tarzi-begenme-ozelligi/</link>
		<comments>http://www.osmanerdogan.com/2011/05/24/jquery-ile-reddit-youtube-tarzi-begenme-ozelligi/#comments</comments>
		<pubDate>Tue, 24 May 2011 15:38:47 +0000</pubDate>
		<dc:creator>Osman ERDOÄžAN</dc:creator>
				<category><![CDATA[Kodlama]]></category>
		<category><![CDATA[Web TasarÄ±m]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jquery voting]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[voting]]></category>
		<category><![CDATA[voting script]]></category>

		<guid isPermaLink="false">http://www.osmanerdogan.com/?p=594</guid>
		<description><![CDATA[BaÅŸlÄ±k sanÄ±rÄ±m aÃ§Ä±klayÄ±cÄ± oldu gibi ama gene de anlamayanlar(?) iÃ§in anlatayÄ±m YukarÄ±, aÅŸaÄŸÄ± oklar ile beÄŸendim / beÄŸenmedim tarzÄ± oylama Ã¶zelliÄŸi ekleyebiliyoruz sitemize, tabiki Â bunun iÃ§in PHP ve Mysql ÅŸartÄ±mÄ±z var Technabled Ã¼zerinde gezerken rastladÄ±ÄŸÄ±m bu Ã¶zelliÄŸi paylaÅŸmak istedim herkesin iÅŸine yarar elbet birgÃ¼n. NasÄ±l kullanacaÄŸÄ±nÄ±za dair dÃ¶kÃ¼mana buradan, DosyalarÄ±nÄ± indirmek iÃ§in buradan, Demo iÃ§in]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-595" style="margin: 5px; float:left;" title="up-down-voting" src="http://www.osmanerdogan.com/wp-content/uploads/2011/05/up-down-voting.png" alt="" width="210" height="214" />BaÅŸlÄ±k sanÄ±rÄ±m aÃ§Ä±klayÄ±cÄ± oldu gibi ama gene de anlamayanlar(?) iÃ§in anlatayÄ±m <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>YukarÄ±, aÅŸaÄŸÄ± oklar ile beÄŸendim / beÄŸenmedim tarzÄ± oylama Ã¶zelliÄŸi ekleyebiliyoruz sitemize, tabiki Â bunun iÃ§in PHP ve Mysql ÅŸartÄ±mÄ±z var <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Technabled Ã¼zerinde gezerken rastladÄ±ÄŸÄ±m bu Ã¶zelliÄŸi paylaÅŸmak istedim herkesin iÅŸine yarar elbet birgÃ¼n.</p>
<p>NasÄ±l kullanacaÄŸÄ±nÄ±za dair dÃ¶kÃ¼mana <a href="http://www.scribd.com/full/48997492?access_key=key-1x4gb5gx7m5odh8dzeru" target="_blank">buradan</a>,</p>
<p>DosyalarÄ±nÄ± indirmek iÃ§in <a href="http://www.box.net/shared/bodl0rei6x" target="_blank">buradan</a>,</p>
<p>Demo iÃ§in sizi <a href="http://abhisek.iblogger.org/labs/pulse/" target="_blank">buradan</a> alayÄ±m&#8230;</p>
<p>YazÄ±nÄ±n bulunduÄŸu sayfa iÃ§inde <a href="http://www.technabled.com/2011/02/pulse-lite-reddit-ajax-up-down-voting.html" target="_blank">buradan</a> alayÄ±m sizi.</p>
<p>[button link="http://www.box.net/shared/bodl0rei6x" color="lightblue" newwindow="yes"]  Ä°ndir[/button] Â [button link="http://abhisek.iblogger.org/labs/pulse/" color="silver" newwindow="yes"]  Demo[/button]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.osmanerdogan.com/2011/05/24/jquery-ile-reddit-youtube-tarzi-begenme-ozelligi/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PHP ile WordPress Bloga YazÄ± Eklemek (XMLRPC)</title>
		<link>http://www.osmanerdogan.com/2011/03/07/php-ile-wordpress-bloga-yazi-eklemek-xmlrpc/</link>
		<comments>http://www.osmanerdogan.com/2011/03/07/php-ile-wordpress-bloga-yazi-eklemek-xmlrpc/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 20:35:29 +0000</pubDate>
		<dc:creator>Osman ERDOÄžAN</dc:creator>
				<category><![CDATA[Kodlama]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XML-RPC]]></category>
		<category><![CDATA[yazÄ±]]></category>

		<guid isPermaLink="false">http://www.osmanerdogan.com/?p=552</guid>
		<description><![CDATA[Ã‡oÄŸu zaman yazÄ±yÄ± elle eklemek zor oluyor heleki PHP ile sitelerinde hazÄ±r bot kullanan arkadaÅŸlar iÃ§in Ä°lk Ã¶ncelikle yÃ¶netim panelinden Settings kÄ±smÄ±ndan Writing e tÄ±klayarak sayfanÄ±n altÄ±ndaÂ XML-RPC'yi etkin etmemiz gerekiyor harici bir dosyadan veri ekleyebilmemiz iÃ§in. PLAIN TEXT PHP: function wpPostXMLRPC&#40;$title,$body,$rpcurl,$username,$password,$category,$keywords=''&#41; &#123; &#160; &#160; &#160; &#160; $content = array&#40; &#160; &#160; &#160; &#160; 'title'=&#62;$title, &#160;]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.osmanerdogan.com/wp-content/uploads/2011/03/php_logo1.jpg"><img src="http://www.osmanerdogan.com/wp-content/uploads/2011/03/php_logo1.jpg" alt="" title="PHP Logo" width="100" height="100" class="alignleft size-full wp-image-530" style="float:left; margin:5px;" /></a>Ã‡oÄŸu zaman yazÄ±yÄ± elle eklemek zor oluyor heleki <a href="/tag/php/">PHP</a> ile sitelerinde hazÄ±r bot kullanan arkadaÅŸlar iÃ§in <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ä°lk Ã¶ncelikle yÃ¶netim panelinden <strong>Settings </strong>kÄ±smÄ±ndan <strong>Writing </strong>e tÄ±klayarak sayfanÄ±n altÄ±ndaÂ <strong>XML-RPC</strong>'yi etkin etmemiz gerekiyor harici bir dosyadan veri ekleyebilmemiz iÃ§in.</p>
<div class="igBar"><span id="lphp-3"><a href="#" onclick="javascript:showPlainTxt('php-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-3">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">function</span> wpPostXMLRPC<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$title</span>,<span style="color:#0000FF;">$body</span>,<span style="color:#0000FF;">$rpcurl</span>,<span style="color:#0000FF;">$username</span>,<span style="color:#0000FF;">$password</span>,<span style="color:#0000FF;">$category</span>,<span style="color:#0000FF;">$keywords</span>=<span style="color:#FF0000;">''</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#0000FF;">$content</span> = <a href="http://www.php.net/array"><span style="color:#000066;">array</span></a><span style="color:#006600; font-weight:bold;">&#40;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF0000;">'title'</span>=&gt;<span style="color:#0000FF;">$title</span>,</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF0000;">'description'</span>=&gt;<span style="color:#0000FF;">$body</span>,</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF0000;">'mt_allow_comments'</span>=&gt;<span style="color:#CC66CC;color:#800000;">1</span>,&nbsp; <span style="color:#FF9933; font-style:italic;">// Yoruma izin vermek iÃ§in 1 yapÄ±n</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF0000;">'mt_allow_pings'</span>=&gt;<span style="color:#CC66CC;color:#800000;">1</span>,&nbsp; <span style="color:#FF9933; font-style:italic;">// Trackbacks iÃ§in 1 yapÄ±n</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF0000;">'post_type'</span>=&gt;<span style="color:#FF0000;">'post'</span>,</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF0000;">'mt_keywords'</span>=&gt;<span style="color:#0000FF;">$keywords</span>,</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF0000;">'categories'</span>=&gt;array<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$category</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#0000FF;">$params</span> = <a href="http://www.php.net/array"><span style="color:#000066;">array</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC66CC;color:#800000;">0</span>,<span style="color:#0000FF;">$username</span>,<span style="color:#0000FF;">$password</span>,<span style="color:#0000FF;">$content</span>,<span style="color:#000000; font-weight:bold;">true</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#0000FF;">$request</span> = xmlrpc_encode_request<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'metaWeblog.newPost'</span>,<span style="color:#0000FF;">$params</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#0000FF;">$ch</span> = curl_init<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_POSTFIELDS, <span style="color:#0000FF;">$request</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_URL, <span style="color:#0000FF;">$rpcurl</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_RETURNTRANSFER, <span style="color:#CC66CC;color:#800000;">1</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_TIMEOUT, <span style="color:#CC66CC;color:#800000;">1</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#0000FF;">$results</span> = curl_exec<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; curl_close<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#616100;">return</span> <span style="color:#0000FF;">$results</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Bu fonksiyon daha hÄ±zlÄ± kullanmanÄ±z iÃ§in <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="igBar"><span id="lphp-4"><a href="#" onclick="javascript:showPlainTxt('php-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-4">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$Baslik</span> = <span style="color:#FF0000;">'BAÅžLIK'</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$Icerik</span> = <span style="color:#FF0000;">'YAZI Ä°Ã‡Ä°'</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$XMLPCDosyasi</span> = <span style="color:#FF0000;">'http://www.wpsiteminadresi.com/xmlrpc.php'</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$KullaniciAdi</span> = <span style="color:#FF0000;">'admin'</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$Sifre</span> = <span style="color:#FF0000;">'kullanicisifrem'</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$Kategoriler</span> = <span style="color:#FF0000;">'Haber,Oyun,Spor'</span>; <span style="color:#FF9933; font-style:italic;">// VirgÃ¼llerle ayÄ±rarak kategori isimlerini yazmanÄ±z gerekmektedir.</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$Etiketler</span> = <span style="color:#FF0000;">'xxx,yyy,zzz,aaa,eee,ppp,sss'</span>; <span style="color:#FF9933; font-style:italic;">// VirgÃ¼llerle ayÄ±rarak istediÄŸiniz kadar yazabilirsiniz.</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> wpPostXMLRPC<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$Baslik</span>,<span style="color:#0000FF;">$Icerik</span>,<span style="color:#0000FF;">$XMLPCDosyasi</span>,<span style="color:#0000FF;">$KullaniciAdi</span>,<span style="color:#0000FF;">$Sifre</span>,<span style="color:#0000FF;">$Kategoriler</span>,<span style="color:#0000FF;">$Etiketler</span><span style="color:#006600; font-weight:bold;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>HayÄ±rlÄ± uÄŸurlu olsun <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Unutmadan <a href="http://www.r10.net/php/17372-curl-nedir.html" target="_blank">cURL</a> sunucuda aktif olmasÄ± gerekmektedir. </p>
<p>Sizin iÃ§in hazÄ±rlamÄ±ÅŸ olduÄŸum <a href="http://hotfile.com/dl/109187027/f3ca27c/php-wp-xmlrpc.php.html" target="_blank"><strong>dosya</strong></a>yÄ± indirerek direkt olarak deneyebilirsiniz.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.osmanerdogan.com/2011/03/07/php-ile-wordpress-bloga-yazi-eklemek-xmlrpc/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>HTML Fixer (php)</title>
		<link>http://www.osmanerdogan.com/2011/03/01/html-fixer-php/</link>
		<comments>http://www.osmanerdogan.com/2011/03/01/html-fixer-php/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 13:49:40 +0000</pubDate>
		<dc:creator>Osman ERDOÄžAN</dc:creator>
				<category><![CDATA[Kodlama]]></category>
		<category><![CDATA[fix your html]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html fixer]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php functions]]></category>
		<category><![CDATA[php html fixer]]></category>

		<guid isPermaLink="false">http://www.osmanerdogan.com/?p=529</guid>
		<description><![CDATA[Sitemizde veya bir yerden kopyalama yaptÄ±ÄŸÄ±mÄ±z zaman Â HTML kodlarÄ±nda kapatmadan veya sorunlu ÅŸekilde kopyalama, yazma iÅŸlemi yapÄ±ldÄ±ÄŸÄ±nda FORM dan gelen verileri veya bir siteden Ã§ektiÄŸiniz sayfalarÄ±nÄ±zdaki HTML kodlarÄ±ndaki hatalarÄ± dÃ¼zeltmenin yolunu HTML Fixer fonksiyonu ile Ã§Ã¶zebilirsiniz. Fazla sÃ¶ze gerek yok zaten isminden de anlaÅŸÄ±lÄ±yor ne iÅŸe yaradÄ±ÄŸÄ± HTML Fixer Ä± indirdikten sonra; PHP dosyalarÄ±nÄ±za include]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.osmanerdogan.com/wp-content/uploads/2011/03/php_logo1.jpg" alt="" title="PHP Logo" width="100" height="100" class="alignleft size-full wp-image-530" style="float:left; margin:5px;" /> Sitemizde veya bir yerden kopyalama yaptÄ±ÄŸÄ±mÄ±z zaman Â HTML kodlarÄ±nda kapatmadan veya sorunlu ÅŸekilde kopyalama, yazma iÅŸlemi yapÄ±ldÄ±ÄŸÄ±nda FORM dan gelen verileri veya bir siteden Ã§ektiÄŸiniz sayfalarÄ±nÄ±zdaki HTML kodlarÄ±ndaki hatalarÄ± dÃ¼zeltmenin yolunu HTML Fixer fonksiyonu ile Ã§Ã¶zebilirsiniz.</p>
<p>Fazla sÃ¶ze gerek yok zaten isminden de anlaÅŸÄ±lÄ±yor ne iÅŸe yaradÄ±ÄŸÄ± <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong><a title="HTML Fixer" href="http://hotfile.com/dl/108128382/08964db/htmlfixer.zip.html" target="_blank">HTML Fixer</a></strong> Ä± indirdikten sonra;</p>
<p>PHP dosyalarÄ±nÄ±za include (require/require_once) edelim, daha sonra aÅŸaÄŸÄ±daki gibi kullanabiliriz.</p>
<div class="igBar"><span id="lphp-6"><a href="#" onclick="javascript:showPlainTxt('php-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-6">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$dirty_html</span> = <span style="color:#FF0000;">".....bad html here......"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$a</span> = <span style="color:#000000; font-weight:bold;">new</span> HtmlFixer<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$clean_html</span> = <span style="color:#0000FF;">$a</span>-&gt;<span style="color:#006600;">getFixedHtml</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$dirty_html</span><span style="color:#006600; font-weight:bold;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.osmanerdogan.com/2011/03/01/html-fixer-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix de eski tarihli dosyalarÄ± silmek</title>
		<link>http://www.osmanerdogan.com/2010/05/10/unix-de-eski-tarihli-dosyalari-silmek/</link>
		<comments>http://www.osmanerdogan.com/2010/05/10/unix-de-eski-tarihli-dosyalari-silmek/#comments</comments>
		<pubDate>Mon, 10 May 2010 13:33:36 +0000</pubDate>
		<dc:creator>Osman ERDOÄžAN</dc:creator>
				<category><![CDATA[Kodlama]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[dosya silmek]]></category>
		<category><![CDATA[eski dosyalar]]></category>
		<category><![CDATA[eski dosyalarÄ± silmek]]></category>
		<category><![CDATA[exec]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux dosya silme]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[unix tarih]]></category>

		<guid isPermaLink="false">http://www.osmanerdogan.com/?p=520</guid>
		<description><![CDATA[SSH da bunu kullanarak eski tarihli dosyalarÄ± silebilirsiniz. Ã–rneÄŸin eski mailleri silebilirsiniz. PLAIN TEXT CODE: find /home/adres -mtime +60 -type f -name "*" -exec rm &#123;&#125; \;&#38;gt; /dev/null 2&#38;gt;&#38;amp;1 +60 deÄŸeri 60 gÃ¼nden eski Ã¶ÄŸeleri silmek iÃ§in kullanÄ±yoruz. -name "*"; tÄ±rnak iÃ§indeki alanda ise dosya belirtebilirsiniz. Ã–rneÄŸin: "*.pdf" ,"*.php" ÅŸeklinde.]]></description>
			<content:encoded><![CDATA[<p>SSH da bunu kullanarak eski tarihli dosyalarÄ± silebilirsiniz.</p>
<p>Ã–rneÄŸin eski mailleri silebilirsiniz.</p>
<div class="igBar"><span id="lcode-8"><a href="#" onclick="javascript:showPlainTxt('code-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-8">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">find /home/adres -mtime +<span style="color:#800000;color:#800000;">60</span> -type f -name <span style="color:#CC0000;">"*"</span> -exec rm <span style="color:#006600; font-weight:bold;">&#123;</span><span style="color:#006600; font-weight:bold;">&#125;</span> \;&amp;gt; /dev/null <span style="color:#800000;color:#800000;">2</span>&amp;gt;&amp;amp;<span style="color:#800000;color:#800000;">1</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>+60 deÄŸeri 60 gÃ¼nden eski Ã¶ÄŸeleri silmek iÃ§in kullanÄ±yoruz.</p>
<p>-name "*"; tÄ±rnak iÃ§indeki alanda ise dosya belirtebilirsiniz.<br />
Ã–rneÄŸin: "*.pdf" ,"*.php" ÅŸeklinde.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.osmanerdogan.com/2010/05/10/unix-de-eski-tarihli-dosyalari-silmek/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resimleri Base 64 ile Encode etmek&#8230;</title>
		<link>http://www.osmanerdogan.com/2009/11/30/resimleri-base-64-ile-encode-etmek/</link>
		<comments>http://www.osmanerdogan.com/2009/11/30/resimleri-base-64-ile-encode-etmek/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 22:01:46 +0000</pubDate>
		<dc:creator>Osman ERDOÄžAN</dc:creator>
				<category><![CDATA[Kodlama]]></category>
		<category><![CDATA[base64]]></category>
		<category><![CDATA[base64 image]]></category>
		<category><![CDATA[base64_encode]]></category>
		<category><![CDATA[image base64]]></category>
		<category><![CDATA[image base64 encode]]></category>
		<category><![CDATA[image encode]]></category>
		<category><![CDATA[resim]]></category>
		<category><![CDATA[resim base64]]></category>
		<category><![CDATA[resim iÅŸlemleri]]></category>
		<category><![CDATA[resim ÅŸifreleme]]></category>
		<category><![CDATA[veritabanÄ±nda resim saklama]]></category>

		<guid isPermaLink="false">http://www.osmanerdogan.com/?p=518</guid>
		<description><![CDATA[Åžimdi nedir bu diyebilirsiniz... Hemen bir Ã¶rnek ile bahsedeyim; Web sayfalarÄ±nÄ±zda resimleri : PLAIN TEXT HTML: &#60;img src="resimkaynagi.jpg"&#62; ÅŸeklinde gÃ¶steriyoruz genellikle hatta genellikle dememek gerek %99.9 ÅŸeklinde EÄŸer web sayfalarÄ±mÄ±zda sabit olarak kullandÄ±ÄŸÄ±mÄ±z logo vs gibi sabit resimler iÃ§in base64 ile encode edilmiÅŸ resimleri kullanabiliriz. Bunu online iÅŸlem olarak buradan yapabilirsiniz. AyrÄ±ca kaynak koddan bakÄ±nca]]></description>
			<content:encoded><![CDATA[<p>Åžimdi nedir bu diyebilirsiniz...</p>
<p>Hemen bir Ã¶rnek ile bahsedeyim;</p>
<p>Web sayfalarÄ±nÄ±zda resimleri :</p>
<div class="igBar"><span id="lhtml-13"><a href="#" onclick="javascript:showPlainTxt('html-13'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-13">
<div class="html">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">&lt;img</span></a> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">"resimkaynagi.jpg"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
ÅŸeklinde gÃ¶steriyoruz genellikle hatta genellikle dememek gerek %99.9 ÅŸeklinde <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>EÄŸer web sayfalarÄ±mÄ±zda sabit olarak kullandÄ±ÄŸÄ±mÄ±z logo vs gibi sabit resimler iÃ§in base64 ile encode edilmiÅŸ resimleri kullanabiliriz.</p>
<p>Bunu online iÅŸlem olarak <a href="http://www.greywyvern.com/code/php/binary2base64" target="_blank">buradan</a> yapabilirsiniz.</p>
<p>AyrÄ±ca kaynak koddan bakÄ±nca kargaÅŸÄ±k kurgaÅŸÄ±k kodlar gÃ¶rÃ¼rsÃ¼nÃ¼z.</p>
<p>Bu kullanÄ±mÄ±nÄ±n dÄ±ÅŸÄ±nda resimlerinizin kaynaÄŸÄ±nÄ±da gizleyebilirsiniz.</p>
<div class="igBar"><span id="lphp-14"><a href="#" onclick="javascript:showPlainTxt('php-14'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-14">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//resmi fopen ile Ã§aÄŸÄ±ralÄ±m</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$handle</span> = <a href="http://www.php.net/fopen"><span style="color:#000066;">fopen</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$resimadresi</span>,<span style="color:#FF0000;">'rb'</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$file_content</span> = <a href="http://www.php.net/fread"><span style="color:#000066;">fread</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$handle</span>,<a href="http://www.php.net/filesize"><span style="color:#000066;">filesize</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$resimadresi</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/fclose"><span style="color:#000066;">fclose</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$handle</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$encoded</span> = <a href="http://www.php.net/chunk_split"><span style="color:#000066;">chunk_split</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.php.net/base64_encode"><span style="color:#000066;">base64_encode</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$file_content</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span>; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//ehco ile resmimizi yazdÄ±ralÄ±m</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">'&lt;img src=&quot;data:image/png;base64,'</span>.<span style="color:#0000FF;">$encoded</span>.<span style="color:#FF0000;">' &quot;&gt;'</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>bunu denediÄŸinizde ekranda resminizi gÃ¶receksiniz. Bu sizin kaynak koddan bakÄ±nca resminizin kaynaÄŸÄ±nÄ± yok eder <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Bu Ã¼stteki php kodunun tam tersinide isterseniz, Ã¶rneÄŸin kaynak kodu belli resim var bunu nasÄ±l resme dÃ¶nÃ¼ÅŸtÃ¼receÄŸiz derseniz;</p>
<p><strong>AYRICA </strong>: <em>Resimlerinizi bir klasÃ¶rde saklamak yerine VERÄ°TABANInda tutmak istersenizde bu sistemi kullanabilirsiniz aÅŸaÄŸÄ±daki Ã¶rnekte veritabanÄ±ndaki base64 ile encode edilmiÅŸ veriyi resme dÃ¶nÃ¼ÅŸtÃ¼rmede gÃ¶sterilmiÅŸtir.</em></p>
<p><strong>image.php:</strong></p>
<div class="igBar"><span id="lphp-15"><a href="#" onclick="javascript:showPlainTxt('php-15'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-15">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/header"><span style="color:#000066;">header</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">" Content-Type: image/jpeg"</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/header"><span style="color:#000066;">header</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">" Content-Disposition: inline"</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$img</span> = <span style="color:#0000FF;">$_GET</span><span style="color:#006600; font-weight:bold;">&#91;</span>img<span style="color:#006600; font-weight:bold;">&#93;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$sql</span> = <span style="color:#FF0000;">"SELECT data FROM image where id='"</span>.<span style="color:#0000FF;">$img</span>.<span style="color:#FF0000;">"'"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$result</span> = <a href="http://www.php.net/mysql_query"><span style="color:#000066;">mysql_query</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$sql</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$row</span> = <a href="http://www.php.net/mysql_fetch_row"><span style="color:#000066;">mysql_fetch_row</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$result</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$image</span> = <span style="color:#0000FF;">$row</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#CC66CC;color:#800000;">0</span><span style="color:#006600; font-weight:bold;">&#93;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <a href="http://www.php.net/base64_decode"><span style="color:#000066;">base64_decode</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$image</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><strong>Sayfada kullanÄ±mÄ±:</strong></p>
<div class="igBar"><span id="lhtml-16"><a href="#" onclick="javascript:showPlainTxt('html-16'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-16">
<div class="html">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">&lt;img</span></a> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">"image.php?img=112"</span>&nbsp; <span style="color: #000066;">border</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">""</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>HerÅŸey gÃ¶rÃ¼ndÃ¼ÄŸÃ¼ gibi basit sanÄ±rÄ±m ???</p>
]]></content:encoded>
			<wfw:commentRss>http://www.osmanerdogan.com/2009/11/30/resimleri-base-64-ile-encode-etmek/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>cURL &amp; php ile FriendFeed&#8217;e kayÄ±t giriÅŸi yapmak</title>
		<link>http://www.osmanerdogan.com/2009/09/11/curl-php-ile-friendfeed-e-kayit-girisi-yapmak/</link>
		<comments>http://www.osmanerdogan.com/2009/09/11/curl-php-ile-friendfeed-e-kayit-girisi-yapmak/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 12:12:19 +0000</pubDate>
		<dc:creator>Osman ERDOÄžAN</dc:creator>
				<category><![CDATA[Kodlama]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[delicious]]></category>
		<category><![CDATA[ff]]></category>
		<category><![CDATA[friendfeed]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.osmanerdogan.com/?p=468</guid>
		<description><![CDATA[friendfeed.com u bilmeyenimiz kalmadÄ± sanÄ±rÄ±m tekrar aÃ§Ä±klamaya gerek yoktur. Daha Ã¶nceden delicious ve twitter a curl ile yazÄ± gÃ¶nderimini iÅŸlemiÅŸtik. Åžimdide sÄ±ra friendfeed'e geldi. Ä°nternette aradÄ±m pek biÅŸi bulamadÄ±m deneyerek ortaya Ã§Ä±ktÄ± kodlar Friendfeed de daha Ã¶ncekilerde olduÄŸu gibi direk ÅŸifreniz ile iÅŸlem yapamÄ±yorsunuz. https://friendfeed.com/account/api adresinden Remote Key almanÄ±z gerekmektedir. Ve iÅŸte kodlar; PLAIN TEXT]]></description>
			<content:encoded><![CDATA[<p><a href="http://friendfeed.com/"><img class="alignleft size-full wp-image-469" style="margin: 5px;float:left" title="fflogo" src="http://www.osmanerdogan.com/wp-content/uploads/2009/09/fflogo.png" alt="fflogo" width="256" height="55" /></a> friendfeed.com u bilmeyenimiz kalmadÄ± sanÄ±rÄ±m tekrar aÃ§Ä±klamaya gerek yoktur.</p>
<p>Daha Ã¶nceden <a href="http://www.osmanerdogan.com/curl-php-ile-delicious%E2%80%99a-otomatik-yazi-gonderme/">delicious</a> ve <a href="http://www.osmanerdogan.com/curl-php-ile-twittera-otomatik-yazi-gonderme/">twitter</a> a curl ile yazÄ± gÃ¶nderimini iÅŸlemiÅŸtik.</p>
<p>Åžimdide sÄ±ra friendfeed'e geldi.</p>
<p>Ä°nternette aradÄ±m pek biÅŸi bulamadÄ±m deneyerek ortaya Ã§Ä±ktÄ± kodlar <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="/friendfeed">Friendfeed</a> de daha Ã¶ncekilerde olduÄŸu gibi direk ÅŸifreniz ile iÅŸlem yapamÄ±yorsunuz.</p>
<p><a href="https://friendfeed.com/account/api">https://friendfeed.com/account/api</a> adresinden Remote Key almanÄ±z gerekmektedir.</p>
<p>Ve iÅŸte kodlar;</p>
<div class="igBar"><span id="lphp-18"><a href="#" onclick="javascript:showPlainTxt('php-18'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-18">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$ff_api_url</span> = <span style="color:#FF0000;">"http://friendfeed-api.com/v2/entry"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$ff_data</span> = <span style="color:#FF0000;">"body="</span>.<span style="color:#0000FF;">$Baslik</span>.<span style="color:#FF0000;">"&amp;link="</span>.<span style="color:#0000FF;">$Linkiniz</span>.<span style="color:#FF0000;">"&amp;comment="</span>.<span style="color:#0000FF;">$Yorumu_Aciklama</span>.<span style="color:#FF0000;">"&amp;image_url="</span>.<span style="color:#0000FF;">$ResimVarsaAdresi</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$ff_user</span> = <span style="color:#FF0000;">"KullaniciAdiniz"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$ff_password</span> = <span style="color:#FF0000;">"AlmisOldugunuzRemoteKey"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$ch</span> = curl_init<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ff_api_url</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_POST, <span style="color:#CC66CC;color:#800000;">1</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_POSTFIELDS, <span style="color:#0000FF;">$ff_data</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_FOLLOWLOCATION, <span style="color:#CC66CC;color:#800000;">1</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_HEADER, <span style="color:#CC66CC;color:#800000;">0</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_RETURNTRANSFER, <span style="color:#CC66CC;color:#800000;">1</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_USERPWD, <span style="color:#FF0000;">"{$ff_user}:{$ff_password}"</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$twitter_data</span> = curl_exec<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$httpcode</span> = curl_getinfo<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLINFO_HTTP_CODE<span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_close<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$httpcode</span> != <span style="color:#CC66CC;color:#800000;">200</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"&lt;strong&gt;Friendfeed&lt;/strong&gt; HATA&lt;br /&gt;"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span> <span style="color:#616100;">else</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"&lt;strong&gt;Friendfeed&lt;/strong&gt; OK&lt;br /&gt;"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>gÃ¼le gÃ¼le kullanÄ±mlar <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.osmanerdogan.com/2009/09/11/curl-php-ile-friendfeed-e-kayit-girisi-yapmak/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cURL &amp; php ile deliciousâ€™a otomatik yazÄ± gÃ¶nderme</title>
		<link>http://www.osmanerdogan.com/2009/06/22/curl-php-ile-delicious%e2%80%99a-otomatik-yazi-gonderme/</link>
		<comments>http://www.osmanerdogan.com/2009/06/22/curl-php-ile-delicious%e2%80%99a-otomatik-yazi-gonderme/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 09:03:03 +0000</pubDate>
		<dc:creator>Osman ERDOÄžAN</dc:creator>
				<category><![CDATA[Kodlama]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[curl delicious]]></category>
		<category><![CDATA[curl php]]></category>
		<category><![CDATA[curl to submit]]></category>
		<category><![CDATA[delicious]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[post delicious]]></category>
		<category><![CDATA[submit post to delicious]]></category>
		<category><![CDATA[submitdelicious]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.osmanerdogan.com/?p=451</guid>
		<description><![CDATA[Daha Ã¶nce curl ile twitter'a post atma iÅŸlemini incelemiÅŸtik ÅŸimdide sÄ±ra geldi delicious'a PLAIN TEXT PHP: $dusername = 'KullaniciAdi'; $dpassword = 'Sifre'; $link = urlencode&#40;'$yaziLinki'&#41;; $desc = urlencode&#40;$yazi_baslik&#41;; $ext = urlencode&#40;$yazi_aciklama&#41;; $deltags = urlencode&#40;$yazi_etiket&#41;; &#160; $api = "api.del.icio.us/v1"; &#160; $apicall = "https://$dusername:$dpassword@$api/posts/add?&#38;amp;url=$link&#38;amp;description=$desc&#38;amp;extended=$ext&#38;amp;tags=$deltags"; $ch = curl_init&#40;&#41;; curl_setopt&#40;$ch, CURLOPT_URL,$apicall&#41;; curl_setopt&#40;$ch, CURLOPT_SSL_VERIFYHOST, 2&#41;; curl_setopt&#40;$ch, CURLOPT_USERAGENT, 'php-curl'&#41;; curl_setopt&#40;$ch, CURLOPT_RETURNTRANSFER,1&#41;;]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-452 alignnone" style="margin: 5px;" title="delicious_logo" src="http://www.osmanerdogan.com/wp-content/uploads/2009/06/delicious_logo.jpg" alt="delicious_logo" width="241" height="71" /></p>
<p>Daha Ã¶nce <a href="/tag/curl">curl</a> ile <a href="/tag/twitter">twitter</a>'a post atma iÅŸlemini <a href="http://www.osmanerdogan.com/curl-php-ile-twittera-otomatik-yazi-gonderme/">incelemiÅŸtik</a> ÅŸimdide sÄ±ra geldi <a href="/tag/delicious">delicious</a>'a <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="igBar"><span id="lphp-20"><a href="#" onclick="javascript:showPlainTxt('php-20'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-20">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$dusername</span> = <span style="color:#FF0000;">'KullaniciAdi'</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$dpassword</span> = <span style="color:#FF0000;">'Sifre'</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$link</span> = <a href="http://www.php.net/urlencode"><span style="color:#000066;">urlencode</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'$yaziLinki'</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$desc</span> = <a href="http://www.php.net/urlencode"><span style="color:#000066;">urlencode</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$yazi_baslik</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$ext</span> = <a href="http://www.php.net/urlencode"><span style="color:#000066;">urlencode</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$yazi_aciklama</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$deltags</span> = <a href="http://www.php.net/urlencode"><span style="color:#000066;">urlencode</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$yazi_etiket</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$api</span> = <span style="color:#FF0000;">"api.del.icio.us/v1"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$apicall</span> = <span style="color:#FF0000;">"https://$dusername:$dpassword@$api/posts/add?&amp;amp;url=$link&amp;amp;description=$desc&amp;amp;extended=$ext&amp;amp;tags=$deltags"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$ch</span> = curl_init<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_URL,<span style="color:#0000FF;">$apicall</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_SSL_VERIFYHOST, <span style="color:#CC66CC;color:#800000;">2</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_USERAGENT, <span style="color:#FF0000;">'php-curl'</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_RETURNTRANSFER,<span style="color:#CC66CC;color:#800000;">1</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$xml</span> = curl_exec <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$httpcode</span> = curl_getinfo<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLINFO_HTTP_CODE<span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_close<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$httpcode</span> != <span style="color:#CC66CC;color:#800000;">200</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"&lt;strong&gt;Delicious&lt;/strong&gt; HATA"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> <span style="color:#616100;">else</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"&lt;strong&gt;Delicious&lt;/strong&gt; OK"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.osmanerdogan.com/2009/06/22/curl-php-ile-delicious%e2%80%99a-otomatik-yazi-gonderme/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Online PHP Editor &#8211; phpanywhere.net</title>
		<link>http://www.osmanerdogan.com/2009/06/01/online-php-editor-phpanywherenet/</link>
		<comments>http://www.osmanerdogan.com/2009/06/01/online-php-editor-phpanywherenet/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 20:59:30 +0000</pubDate>
		<dc:creator>Osman ERDOÄžAN</dc:creator>
				<category><![CDATA[Kodlama]]></category>
		<category><![CDATA[Web ve Siteler]]></category>
		<category><![CDATA[online ftp]]></category>
		<category><![CDATA[online php]]></category>
		<category><![CDATA[online php editor]]></category>
		<category><![CDATA[php editor]]></category>
		<category><![CDATA[phpanywhere]]></category>
		<category><![CDATA[phpanywhere.net]]></category>

		<guid isPermaLink="false">http://www.osmanerdogan.com/?p=426</guid>
		<description><![CDATA[ArtÄ±k nerede olursanÄ±z olun php dosyalarÄ±nÄ±zÄ± dÃ¼zenleyip aynÄ± anda etkin kÄ±labileceksiniz. NasÄ±l mÄ±? phpanywhere.net ile bunu gerÃ§ekleÅŸtirebiliyorsunuz. HenÃ¼z BETA aÅŸamasÄ±nda olan ve inanÄ±yorum ki ciddi anlamda geliÅŸtirilecek ve iyi yatÄ±rÄ±mlar alacaktÄ±r. Bu sistem ile; Online FTP iÅŸlemlerini yapabiliyorsunuz, PHP dosyalarÄ±nÄ±zÄ± sunucu Ã¼zerinde direkt olarak deÄŸiÅŸiklikleri (koz bazlÄ±) yapabiliyorsunuz, Dil ayarlarÄ±nÄ±zÄ± kendiniz Settings kÄ±smÄ±ndan seÃ§ebiliyorsunuz (UTF-8,window-1254,ISO-8859-9]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-427" style="margin: 5px; float:left" title="logo_editor" src="http://www.osmanerdogan.com/wp-content/uploads/2009/06/logo_editor.png" alt="phpanywhere" width="186" height="30" />ArtÄ±k nerede olursanÄ±z olun php dosyalarÄ±nÄ±zÄ± dÃ¼zenleyip aynÄ± anda etkin kÄ±labileceksiniz.</p>
<p>NasÄ±l mÄ±?</p>
<p><strong><a title="phpanywhere" href="http://phpanywhere.net/" target="_blank">phpanywhere.net</a></strong> ile bunu gerÃ§ekleÅŸtirebiliyorsunuz.</p>
<p>HenÃ¼z BETA aÅŸamasÄ±nda olan ve inanÄ±yorum ki ciddi anlamda geliÅŸtirilecek ve iyi yatÄ±rÄ±mlar alacaktÄ±r. Bu sistem ile;</p>
<p><img class="size-full wp-image-428 alignleft" style="float: left; margin: 5px;" title="untitled-1" src="http://www.osmanerdogan.com/wp-content/uploads/2009/06/untitled-1.png" alt="phpanywhere" width="300" height="246" /></p>
<ul>
<li>Online FTP iÅŸlemlerini yapabiliyorsunuz,</li>
<li>PHP dosyalarÄ±nÄ±zÄ± sunucu Ã¼zerinde direkt olarak deÄŸiÅŸiklikleri (koz bazlÄ±) yapabiliyorsunuz,</li>
<li>Dil ayarlarÄ±nÄ±zÄ± kendiniz Settings kÄ±smÄ±ndan seÃ§ebiliyorsunuz (UTF-8,window-1254,ISO-8859-9 vs.)</li>
<li>KaydettiÄŸiniz (Save) zaman yapmÄ±ÅŸ olduÄŸunuz tÃ¼m deÄŸiÅŸiklikler anlÄ±k olarak web sayfalarÄ±nÄ±za iÅŸlemektedir.</li>
</ul>
<p>Bunun en gÃ¼zel yanÄ± FTP ÅŸifrelerinizi hatÄ±rlÄ±yorsanÄ±z her an, her yerde iÅŸlemlerinizi anÄ±nda yapabilirsiniz. Åžahsen benim gibi birinin Ã§ok iÅŸine yarayacak bir sistem <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Â </p>
<p><strong>GÃ¶zÃ¼me Ã§arpan eksik yÃ¶nleri ise ;</strong></p>
<ul>
<li>.htaccess dosyasÄ± gÃ¶zÃ¼kmÃ¼yor malesef <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>Php betikleri dreamweaver gibi renkli ÅŸekilde olsa daha dikkat Ã§ekici ve kolay kullanÄ±mÄ± saÄŸlayacaktÄ±r.</li>
</ul>
<p>ÅŸimdilik bu en Ã¶nemli eksiklikler gÃ¶zÃ¼me Ã§arptÄ±, ama genede kutlamak isterim.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.osmanerdogan.com/2009/06/01/online-php-editor-phpanywherenet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cURL &amp; php ile twitter&#8217;a otomatik yazÄ± gÃ¶nderme</title>
		<link>http://www.osmanerdogan.com/2009/05/26/curl-php-ile-twittera-otomatik-yazi-gonderme/</link>
		<comments>http://www.osmanerdogan.com/2009/05/26/curl-php-ile-twittera-otomatik-yazi-gonderme/#comments</comments>
		<pubDate>Tue, 26 May 2009 13:13:51 +0000</pubDate>
		<dc:creator>Osman ERDOÄžAN</dc:creator>
				<category><![CDATA[Kodlama]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[curl php]]></category>
		<category><![CDATA[curl to submit]]></category>
		<category><![CDATA[curl twitter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[post twitter]]></category>
		<category><![CDATA[submit post to twitter]]></category>
		<category><![CDATA[submittwitter]]></category>

		<guid isPermaLink="false">http://www.osmanerdogan.com/?p=410</guid>
		<description><![CDATA[PLAIN TEXT PHP: $twitter_api_url = "http://twitter.com/statuses/update.xml"; $twitter_data = "status=Buraya Link ve AÃ§Ä±klama Yazabilirsiniz"; $twitter_user = "KullaniciAdi"; $twitter_password = "Sifre"; $ch = curl_init&#40;$twitter_api_url&#41;; curl_setopt&#40;$ch, CURLOPT_POST, 1&#41;; curl_setopt&#40;$ch, CURLOPT_POSTFIELDS, $twitter_data&#41;; curl_setopt&#40;$ch, CURLOPT_FOLLOWLOCATION, 1&#41;; curl_setopt&#40;$ch, CURLOPT_HEADER, 0&#41;; curl_setopt&#40;$ch, CURLOPT_RETURNTRANSFER, 1&#41;; curl_setopt&#40;$ch, CURLOPT_USERPWD, "{$twitter_user}:{$twitter_password}"&#41;; $twitter_data = curl_exec&#40;$ch&#41;; $httpcode = curl_getinfo&#40;$ch, CURLINFO_HTTP_CODE&#41;; curl_close&#40;$ch&#41;; if &#40;$httpcode != 200&#41; &#123; echo "Twitter]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.osmanerdogan.com/wp-content/uploads/2009/05/twitter_logo_header1.png" alt="twitter" /></p>
<div class="igBar"><span id="lphp-22"><a href="#" onclick="javascript:showPlainTxt('php-22'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-22">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$twitter_api_url</span> = <span style="color:#FF0000;">"http://twitter.com/statuses/update.xml"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$twitter_data</span> = <span style="color:#FF0000;">"status=Buraya Link ve AÃ§Ä±klama Yazabilirsiniz"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$twitter_user</span> = <span style="color:#FF0000;">"KullaniciAdi"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$twitter_password</span> = <span style="color:#FF0000;">"Sifre"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$ch</span> = curl_init<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$twitter_api_url</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_POST, <span style="color:#CC66CC;color:#800000;">1</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_POSTFIELDS, <span style="color:#0000FF;">$twitter_data</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_FOLLOWLOCATION, <span style="color:#CC66CC;color:#800000;">1</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_HEADER, <span style="color:#CC66CC;color:#800000;">0</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_RETURNTRANSFER, <span style="color:#CC66CC;color:#800000;">1</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_setopt<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLOPT_USERPWD, <span style="color:#FF0000;">"{$twitter_user}:{$twitter_password}"</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$twitter_data</span> = curl_exec<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$httpcode</span> = curl_getinfo<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span>, CURLINFO_HTTP_CODE<span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">curl_close<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$ch</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$httpcode</span> != <span style="color:#CC66CC;color:#800000;">200</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"Twitter HATA"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> <span style="color:#616100;">else</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"Twitter OK&amp;"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
YapmanÄ±z gereken cURL destekleyen bir sunucunuz var ise istediÄŸiniz makale veya yazÄ±larÄ±nÄ±zÄ± otomatik olarak <a href="/tag/twitter">twitter</a> hesabÄ±nÄ±za post etmenize yardÄ±mcÄ± olur.</p>
<p>Kolay Gelsin</p>
]]></content:encoded>
			<wfw:commentRss>http://www.osmanerdogan.com/2009/05/26/curl-php-ile-twittera-otomatik-yazi-gonderme/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Eski WordPress TemalarÄ±nÄ±za Etiket (Tag) Sistemini Ekleyin</title>
		<link>http://www.osmanerdogan.com/2008/05/08/eski-wordpress-temalariniza-etiket-tag-sistemini-ekleyin/</link>
		<comments>http://www.osmanerdogan.com/2008/05/08/eski-wordpress-temalariniza-etiket-tag-sistemini-ekleyin/#comments</comments>
		<pubDate>Thu, 08 May 2008 07:44:21 +0000</pubDate>
		<dc:creator>Osman ERDOÄžAN</dc:creator>
				<category><![CDATA[Kodlama]]></category>
		<category><![CDATA[eski temalar]]></category>
		<category><![CDATA[etiket]]></category>
		<category><![CDATA[etiket sistemi]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[tema]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress 2.5]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://www.osmanerdogan.com/?p=173</guid>
		<description><![CDATA[Genelde temanÄ±zÄ±n index.php ve single.php ye eklemeniz yeterlidir. TasarÄ±mÄ±nza uygun bir yere ekleyebilirsiniz eklemeniz gereken kod: PLAIN TEXT PHP: &#60;?php the_tags&#40;'Etiketler: ', ', ', '&#60;br&#62;'&#41;; ?&#62; Kolay gelsin]]></description>
			<content:encoded><![CDATA[<p>Genelde temanÄ±zÄ±n <strong>index.php</strong> ve <strong>single.php</strong> ye eklemeniz yeterlidir.</p>
<p>TasarÄ±mÄ±nza uygun bir yere ekleyebilirsiniz eklemeniz gereken kod:</p>
<div class="igBar"><span id="lphp-24"><a href="#" onclick="javascript:showPlainTxt('php-24'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-24">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?php</span> the_tags<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'Etiketler: '</span>, <span style="color:#FF0000;">', '</span>, <span style="color:#FF0000;">'&lt;br&gt;'</span><span style="color:#006600; font-weight:bold;">&#41;</span>; <span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Kolay gelsin <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.osmanerdogan.com/2008/05/08/eski-wordpress-temalariniza-etiket-tag-sistemini-ekleyin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Php de Matematik&#8217;deki Mod olayÄ±nÄ± kullanma</title>
		<link>http://www.osmanerdogan.com/2008/04/21/php-de-matematikdeki-mod-olayini-kullanma/</link>
		<comments>http://www.osmanerdogan.com/2008/04/21/php-de-matematikdeki-mod-olayini-kullanma/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 09:37:37 +0000</pubDate>
		<dc:creator>Osman ERDOÄžAN</dc:creator>
				<category><![CDATA[Kodlama]]></category>

		<guid isPermaLink="false">http://www.osmanerdogan.com/php-de-matematikdeki-mod-olayini-kullanma/</guid>
		<description><![CDATA[Herkes bilir MOD alma ve diye her zaman matematikde gÃ¶rdÃ¼k ama PHP de Ã§oÄŸu zaman lazÄ±m oluyor nette arayÄ±nca Ã§Ä±kmÄ±yor. Ben PHP ye baÅŸladÄ±ÄŸÄ±mda zor bulmuÅŸtum GeÃ§enlerde kullanÄ±rken aklÄ±ma geldi siteyede yazayÄ±m herkes kullansÄ±n dedim PLAIN TEXT PHP: &#60;? for &#40;$i=1;$i&#60;101;$i++&#41; &#123; if &#40;$i % 5 == 0&#41; &#123; echo "i nin deÄŸeri ÅŸuan =]]></description>
			<content:encoded><![CDATA[<p>Herkes bilir <strong>MOD</strong> alma ve diye her zaman matematikde gÃ¶rdÃ¼k ama PHP de Ã§oÄŸu zaman lazÄ±m oluyor nette arayÄ±nca Ã§Ä±kmÄ±yor.</p>
<p>Ben PHP ye baÅŸladÄ±ÄŸÄ±mda zor bulmuÅŸtum <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>GeÃ§enlerde kullanÄ±rken aklÄ±ma geldi siteyede yazayÄ±m herkes kullansÄ±n dedim <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="igBar"><span id="lphp-26"><a href="#" onclick="javascript:showPlainTxt('php-26'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-26">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">for</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$i</span>=<span style="color:#CC66CC;color:#800000;">1</span>;<span style="color:#0000FF;">$i</span>&lt;<span style="color:#CC66CC;color:#800000;">101</span>;<span style="color:#0000FF;">$i</span>++<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$i</span> % <span style="color:#CC66CC;color:#800000;">5</span> == <span style="color:#CC66CC;color:#800000;">0</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"i nin deÄŸeri ÅŸuan = "</span>. <span style="color:#0000FF;">$i</span>; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span><span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p dir="ltr"><strong><span style="text-decoration: underline;">i</span></strong> nin deÄŸerini yazdÄ±rdÄ±ÄŸÄ±mÄ±z yere herhangi birÅŸey yazdÄ±rabilirsiniz.</p>
<p dir="ltr"><span style="text-decoration: underline;">Ã–rneÄŸin;</span> 10 yazÄ±da bir reklam yayÄ±nlamak isterseniz bunu bu ÅŸekilde kullanabilirsiniz.</p>
<p dir="ltr">Gerisi size kalmÄ±ÅŸ geliÅŸtirin Ã¼retin.</p>
<p dir="ltr">Ã‡alÄ±ÅŸÄ±n Ã‡alÄ±ÅŸÄ±n....</p>
<p class="zoundry_bw_tags"><!-- Tag links generated by Zoundry Blog Writer. Do not manually edit. http://www.zoundry.com --><br />
<span class="ztags"><span class="ztagspace">Technorati</span> : <a class="ztag" rel="tag" href="http://technorati.com/tag/matematik">matematik</a>, <a class="ztag" rel="tag" href="http://technorati.com/tag/mod">mod</a>, <a class="ztag" rel="tag" href="http://technorati.com/tag/php">php</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.osmanerdogan.com/2008/04/21/php-de-matematikdeki-mod-olayini-kullanma/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>TÃ¼rkÃ§e Metin Watermak [php]</title>
		<link>http://www.osmanerdogan.com/2007/12/02/turkce-metin-watermak-php/</link>
		<comments>http://www.osmanerdogan.com/2007/12/02/turkce-metin-watermak-php/#comments</comments>
		<pubDate>Sun, 02 Dec 2007 21:23:31 +0000</pubDate>
		<dc:creator>Osman ERDOÄžAN</dc:creator>
				<category><![CDATA[Kodlama]]></category>

		<guid isPermaLink="false">http://www.osmanerdogan.com/turkce-metin-watermak-php/</guid>
		<description><![CDATA[LazÄ±m oldu aradÄ±k bulduk kullandÄ±k ÅŸimdi sunayÄ±m dedim 2 php dosyamÄ±z var birincisi class dosyasÄ± ikincisi iÃ§erik dosyasÄ±. Class KodlarÄ± wm.php ÅŸeklinde kaydeebilirsiniz.]]></description>
			<content:encoded><![CDATA[<p>LazÄ±m oldu aradÄ±k bulduk kullandÄ±k ÅŸimdi sunayÄ±m dedim <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>2 php dosyamÄ±z var birincisi <strong>class dosyasÄ±</strong> ikincisi <strong>iÃ§erik dosyasÄ±</strong>.</p>
<p>Class KodlarÄ±</p>
<p><strong>wm.php</strong> ÅŸeklinde kaydeebilirsiniz.</p>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr"><p><br/>
<pre lang="php" xml:space="preserve" xml:lang="php">
</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.osmanerdogan.com/2007/12/02/turkce-metin-watermak-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Turuncu Aile Filtresi 1.01 Yasak Ä°Ã§erik Koruyucu</title>
		<link>http://www.osmanerdogan.com/2006/11/06/turuncu-aile-filtresi-101-yasak-icerik-koruyucu/</link>
		<comments>http://www.osmanerdogan.com/2006/11/06/turuncu-aile-filtresi-101-yasak-icerik-koruyucu/#comments</comments>
		<pubDate>Mon, 06 Nov 2006 21:05:38 +0000</pubDate>
		<dc:creator>Osman ERDOÄžAN</dc:creator>
				<category><![CDATA[Hayat ve Ben]]></category>
		<category><![CDATA[Kodlama]]></category>
		<category><![CDATA[Teknolojii]]></category>

		<guid isPermaLink="false">http://www.osmanerdogan.com/74-turuncu-aile-filtresi-101-yasak-icerik-koruyucu.html</guid>
		<description><![CDATA[Evet arkadaÅŸlar kendim Viseal Basic 6.0 ortamÄ±nda geliÅŸtirdiÄŸim bir yazÄ±lÄ±m umarÄ±m baÅŸarÄ±lÄ± olur ve devamÄ± gelir. KÄ±saca: - BilgisayarÄ±nÄ±zdan uygunsuz iÃ§erikli (pornografik) sitelere girilmesini engeller. - ZararlÄ± iÃ§erik taÅŸÄ±yan sitelere karÅŸÄ± bilgisayarÄ±nÄ±zÄ± korur. Buradan Download edebilirsiniz. TanÄ±tÄ±m adresi: http://www.turuncumedia.com/aile-filtresi/ Herkese teÅŸekkÃ¼r ederim. TÃ¼m herkesden isteÄŸim bu projeme destek Ã§Ä±kmalarÄ±dÄ±r. Destek olmak iÃ§in sitenize koymanÄ±z gereken]]></description>
			<content:encoded><![CDATA[<p>Evet arkadaÅŸlar kendim Viseal Basic 6.0 ortamÄ±nda geliÅŸtirdiÄŸim bir yazÄ±lÄ±m umarÄ±m baÅŸarÄ±lÄ± olur ve devamÄ± gelir.</p>
<p><strong>KÄ±saca:</strong></p>
<blockquote><p> - BilgisayarÄ±nÄ±zdan uygunsuz iÃ§erikli (pornografik) sitelere girilmesini  engeller.<br />
- ZararlÄ± iÃ§erik taÅŸÄ±yan sitelere karÅŸÄ± bilgisayarÄ±nÄ±zÄ± korur.
</p></blockquote>
<p>Buradan <font color="#993300"><strong><a href="http://www.turuncumedia.com/aile-filtresi/Turuncu_Aile_Filtresi_101.exe">Download</a></strong></font> edebilirsiniz. </p>
<p><strong>TanÄ±tÄ±m adresi</strong>: <a href="http://www.turuncumedia.com/aile-filtresi/">http://www.turuncumedia.com/aile-filtresi/</a></p>
<p>Herkese teÅŸekkÃ¼r ederim.</p>
<p><font color="#cc0000"><u><strong>TÃ¼m herkesden isteÄŸim bu projeme destek Ã§Ä±kmalarÄ±dÄ±r.</strong></u></font></p>
<p><u>Destek olmak iÃ§in sitenize koymanÄ±z gereken kod:</u></p>
<blockquote><p>&lt;a href="http://www.turuncumedia.com/aile-filtresi" target="_blank"&gt;&lt;img src="http://www.turuncumedia.com/aile-filtresi/8831.gif" border="0"&gt;&lt;/a&gt;
</p></blockquote>
<p>
Tekrar teÅŸekkÃ¼rler.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.osmanerdogan.com/2006/11/06/turuncu-aile-filtresi-101-yasak-icerik-koruyucu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yonlendirme Kodu [PHP]</title>
		<link>http://www.osmanerdogan.com/2006/10/31/yonlendirme-kodu-php/</link>
		<comments>http://www.osmanerdogan.com/2006/10/31/yonlendirme-kodu-php/#comments</comments>
		<pubDate>Tue, 31 Oct 2006 21:23:58 +0000</pubDate>
		<dc:creator>Osman ERDOÄžAN</dc:creator>
				<category><![CDATA[Kodlama]]></category>

		<guid isPermaLink="false">http://www.osmanerdogan.com/64-yonlendirme-kodu-php.html</guid>
		<description><![CDATA[Php de yonlendirme yapilkirken genelde ; &#60;script&#62; window.location='yonlencekadres.html'; &#60;/script&#62; veya header (Location: "gidecekadres.html"); kullanÄ±lmaktadÄ±r. Ama bazen Header Location komutu Ã§alÄ±ÅŸmamaktadÄ±r bunun sepebi header nesnelerinin arasÄ±nda baÅŸka komutlar verdiÄŸimiz iÃ§in header deaktif olmaktadÄ±r. Ä°ÅŸte size hazÄ±r function (fonksiyon);]]></description>
			<content:encoded><![CDATA[<p><strong>Php de yonlendirme yapilkirken genelde ;</strong></p>
<pre lang="javascript">&lt;script&gt;
window.location='yonlencekadres.html';
&lt;/script&gt;</pre>
<p><strong>veya </strong></p>
<pre lang="php">header (Location: "gidecekadres.html");</pre>
<p><strong>kullanÄ±lmaktadÄ±r</strong>.</p>
<p>Ama bazen <strong>Header Location</strong> komutu Ã§alÄ±ÅŸmamaktadÄ±r bunun sepebi header nesnelerinin arasÄ±nda baÅŸka komutlar verdiÄŸimiz iÃ§in <strong>header </strong>deaktif olmaktadÄ±r.</p>
<p>Ä°ÅŸte size hazÄ±r <strong>function (fonksiyon)</strong>;</p>
<pre lang="php"><? function yonlendirbakim($url)
{
    if(!headers_sent())
         header("Location : $url");
    else
        echo "&lt;script language=\"JavaScript\"&gt;window.location.href = '$url';&lt;/script&gt;";
    exit;
} ?> </pre>
<p><strong>KullanÄ±mÄ±</strong>:</p>
<pre lang="php"><? yonlendirbakim("http://www.3unlem.com"); ?></pre>
<p>Herkeze teÅŸekkÃ¼rler.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.osmanerdogan.com/2006/10/31/yonlendirme-kodu-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Kalan GÃ¼nÃ¼ Bulma [Php]</title>
		<link>http://www.osmanerdogan.com/2006/10/05/kalan-gunu-bulma-php/</link>
		<comments>http://www.osmanerdogan.com/2006/10/05/kalan-gunu-bulma-php/#comments</comments>
		<pubDate>Thu, 05 Oct 2006 21:27:24 +0000</pubDate>
		<dc:creator>Osman ERDOÄžAN</dc:creator>
				<category><![CDATA[Kodlama]]></category>

		<guid isPermaLink="false">http://www.osmanerdogan.net/kodlama/kalan-gunu-bulma-php.html</guid>
		<description><![CDATA[Evet ben baya aradÄ±m saÃ§ma sapan kodlar var Ama deneme yanÄ±lmayla sonunda buldum eheheh $kalansure=strtotime($bitistarihi)-time(); Â $bitistarihi ÅŸuankinden daha ileri bizaman $kalansure ye gelecekteki zamandan ÅŸimdiki zamanÄ± cÄ±karÄ±p atÄ±yoruz. $kalansure=floor($kalansure/60/24/60); Bu ÅŸekildede sonuÃ§ saniye cinsinden Ã§Ä±kÄ±yor sanÄ±rÄ±m ben bÃ¶le bÃ¶le dogru sonucu buldumda 60 Saniye , 60 Dakika, 24 Saat sonunda GÃ¼n rakamÄ±na ulaÅŸÄ±yoruz Saat]]></description>
			<content:encoded><![CDATA[<p>Evet ben baya aradÄ±m saÃ§ma sapan kodlar var <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ama deneme yanÄ±lmayla sonunda buldum eheheh <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p>$kalansure=strtotime($bitistarihi)-time();</p></blockquote>
<p><strong>Â $bitistarihi</strong> ÅŸuankinden daha ileri bizaman <strong>$kalansure</strong> ye gelecekteki zamandan ÅŸimdiki zamanÄ± cÄ±karÄ±p atÄ±yoruz.</p>
<blockquote><p>$kalansure=floor($kalansure/60/24/60);</p></blockquote>
<p>Bu ÅŸekildede sonuÃ§ saniye cinsinden  Ã§Ä±kÄ±yor sanÄ±rÄ±m <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ben bÃ¶le bÃ¶le dogru sonucu buldumda <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>60 Saniye , 60 Dakika, 24 Saat sonunda GÃ¼n rakamÄ±na ulaÅŸÄ±yoruz Saat cinsinden bulmak isteyenler 24 e bÃ¶lmesin <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>eee iÅŸte sonuc bukadar basitmiÅŸ selametle kalÄ±n osmanÄ± izleyin <img src='http://www.osmanerdogan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.osmanerdogan.com/2006/10/05/kalan-gunu-bulma-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

