<?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>Mekkan &#187; str_replace</title>
	<atom:link href="http://www.mekkan.net/tag/str_replace/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mekkan.net</link>
	<description>Taklitlerinden sakının</description>
	<lastBuildDate>Wed, 12 May 2010 10:55:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Formdan gelen adresleri otomatik düzeltin</title>
		<link>http://www.mekkan.net/2009/01/formdan-gelen-adresleri-otomatik-duzeltin/</link>
		<comments>http://www.mekkan.net/2009/01/formdan-gelen-adresleri-otomatik-duzeltin/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 18:31:34 +0000</pubDate>
		<dc:creator>good2see</dc:creator>
				<category><![CDATA[PHP-jQuery-vs]]></category>
		<category><![CDATA[formdan gelen adresleri düzenleme]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[str_replace]]></category>

		<guid isPermaLink="false">http://www.mekkan.net/?p=56</guid>
		<description><![CDATA[Formdan gelen adres bilgilerini düzenlemek için kullandığım fonksiyon. Biraz amatörce durabilir ama gerçekten çok kullanışlı. Formdan gelen veri: T.ÖZAL BLV, C.TOPEL SK,NO:21 Formdan gelen verinin çıktısı: TURGUT ÖZAL BULVARI CENGİZ TOPEL SOK. NO:21 Fonksiyon: function duz($data){ $data = str_replace(&#34;/\s\s+/&#34;,&#34; &#34;,$data); $data = str_replace('&#34;',&#34; &#34;,$data); $data = str_replace(&#34;.&#34;,&#34;. &#34;,$data); $data = str_replace(&#34;,&#34;,&#34; &#34;,$data); $data = str_replace(&#34;&#38;nbsp;&#34;,&#34; &#34;,$data); [...]]]></description>
			<content:encoded><![CDATA[<p>Formdan gelen adres bilgilerini düzenlemek için kullandığım fonksiyon. Biraz amatörce durabilir ama gerçekten çok kullanışlı.</p>
<p><strong>Formdan gelen veri:</strong></p>
<blockquote><p>T.ÖZAL BLV, C.TOPEL SK,NO:21</p></blockquote>
<p><strong>Formdan gelen verinin çıktısı:</strong></p>
<blockquote><p>TURGUT ÖZAL BULVARI CENGİZ TOPEL SOK. NO:21</p></blockquote>
<p><span id="more-56"></span><strong>Fonksiyon:</strong></p>
<div style="font-size:11px">
<pre class="brush: php;">
function duz($data){
$data	=	str_replace(&quot;/\s\s+/&quot;,&quot; &quot;,$data);
$data	=	str_replace('&quot;',&quot; &quot;,$data);
$data	=	str_replace(&quot;.&quot;,&quot;. &quot;,$data);
$data	=	str_replace(&quot;,&quot;,&quot; &quot;,$data);
$data	=	str_replace(&quot;&amp;nbsp;&quot;,&quot; &quot;,$data);
$data	=	str_replace(&quot;SK.&quot;,&quot;SOK. &quot;,$data);
$data	=	str_replace(&quot;MH.&quot;,&quot;MAH. &quot;,$data);
$data	=	str_replace(&quot;CD.&quot;,&quot;CAD. &quot;,$data);
$data	=	str_replace(&quot;'&quot;,&quot; &quot;,$data);
$data	=	str_replace(&quot;      &quot;,&quot; &quot;,$data);
$data	=	str_replace(&quot;     &quot;,&quot; &quot;,$data);
$data	=	str_replace(&quot;    &quot;,&quot; &quot;,$data);
$data	=	str_replace(&quot;   &quot;,&quot; &quot;,$data);
$data	=	str_replace(&quot;  &quot;,&quot; &quot;,$data);
$data	=	str_replace(&quot; SOK &quot;,&quot; SOK. &quot;,$data);
$data	=	str_replace(&quot; MAH &quot;,&quot; MAH. &quot;,$data);
$data	=	str_replace(&quot; CAD &quot;,&quot; CAD. &quot;,$data);
$data	=	str_replace(&quot; BLV &quot;,&quot; BULVARI &quot;,$data);
$data	=	str_replace(&quot; BLV. &quot;,&quot; BULVARI &quot;,$data);
$data	=	str_replace(&quot; BULV &quot;,&quot; BULVARI &quot;,$data);
$data	=	str_replace(&quot; BULV. &quot;,&quot; BULVARI &quot;,$data);
$data	=	str_replace(&quot;T. ÖZAL&quot;,&quot;TURGUT ÖZAL &quot;,$data);
$data	=	str_replace(&quot;M. AKİF ERSOY&quot;,&quot;MEHMET AKİF ERSOY &quot;,$data);
$data	=	str_replace(&quot;A. MENDERES&quot;,&quot;ADNAN MENDERES &quot;,$data);
$data	=	str_replace(&quot;C. TOPEL&quot;,&quot;CENGİZ TOPEL &quot;,$data);
$data	=	str_replace(&quot;F. ÇAKMAK&quot;,&quot;FEVZİ ÇAKMAK &quot;,$data);
$data	=	str_replace(&quot;N. FAZIL&quot;,&quot;NECİP FAZIL &quot;,$data);
$data	=	str_replace(&quot;M. KEMAL&quot;,&quot;MUSTAFA KEMAL &quot;,$data);
$data	=	str_replace(&quot;N. KEMAL&quot;,&quot;NAMIK KEMAL &quot;,$data);
$data	=	str_replace(&quot;M. SİNAN&quot;,&quot;MİMAR SİNAN &quot;,$data);
$data	=	str_replace(&quot;ŞHT.&quot;,&quot;ŞEHİT &quot;,$data);
$data	=	str_replace(&quot;ŞHT&quot;,&quot;ŞEHİT &quot;,$data);
$data	=	str_replace(&quot;KSB.&quot;,&quot;KASABASI &quot;,$data);
$data	=	str_replace(&quot;KAS.&quot;,&quot;KASABASI &quot;,$data);
$data	=	str_replace(&quot; SK &quot;,&quot; SOK. &quot;,$data);
$data	=	str_replace(&quot; CD &quot;,&quot; CAD. &quot;,$data);
$data	=	str_replace(&quot; MH &quot;,&quot; MAH. &quot;,$data);
$data	=	str_replace(&quot; APRT &quot;,&quot; APT. &quot;,$data);
$data	=	str_replace(&quot;..&quot;,&quot;.&quot;,$data);
$data	=	str_replace(&quot;..&quot;,&quot;.&quot;,$data);
$data	=	str_replace(&quot;...&quot;,&quot;.&quot;,$data);
$data	=	str_replace(&quot; BLK &quot;,&quot; BLOK &quot;,$data);
$data	=	str_replace(&quot; BLK. &quot;,&quot; BLOK &quot;,$data);
$data	=	str_replace(&quot;    &quot;,&quot; &quot;,$data);
$data	=	str_replace(&quot;   &quot;,&quot; &quot;,$data);
$data	=	str_replace(&quot;  &quot;,&quot; &quot;,$data);
$data	=	trim($data);
return $data;
}
</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.mekkan.net/2009/01/formdan-gelen-adresleri-otomatik-duzeltin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
