<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>PHP ile Rasgele Banner Gösterimi yazısına yapılan yorumlar</title>
	<atom:link href="http://www.guraysuerdem.com/php-ile-rasgele-banner-gosterimi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.guraysuerdem.com/php-ile-rasgele-banner-gosterimi/</link>
	<description>PHP, MySQL ve Açık Kaynak</description>
	<lastBuildDate>Wed, 08 Feb 2012 15:48:59 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Güray Süerdem tarafından</title>
		<link>http://www.guraysuerdem.com/php-ile-rasgele-banner-gosterimi/comment-page-1/#comment-2272</link>
		<dc:creator>Güray Süerdem</dc:creator>
		<pubDate>Wed, 26 Jan 2011 12:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.guraysuerdem.com/2008/02/28/php-ile-rasgele-banner-gosterimi/#comment-2272</guid>
		<description>Görüntüler tabiki.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Görüntüler tabiki.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Ahmet Ozan tarafından</title>
		<link>http://www.guraysuerdem.com/php-ile-rasgele-banner-gosterimi/comment-page-1/#comment-2271</link>
		<dc:creator>Ahmet Ozan</dc:creator>
		<pubDate>Wed, 26 Jan 2011 11:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.guraysuerdem.com/2008/02/28/php-ile-rasgele-banner-gosterimi/#comment-2271</guid>
		<description>Acaba .jpg yerine .swf desek flash görüntülenirmi?</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Acaba .jpg yerine .swf desek flash görüntülenirmi?<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>ilhan tarafından</title>
		<link>http://www.guraysuerdem.com/php-ile-rasgele-banner-gosterimi/comment-page-1/#comment-787</link>
		<dc:creator>ilhan</dc:creator>
		<pubDate>Thu, 30 Jul 2009 10:09:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.guraysuerdem.com/2008/02/28/php-ile-rasgele-banner-gosterimi/#comment-787</guid>
		<description>Güray beyin kodlarını biraz kısalttım.
HTML kod olarak:
&lt;a href=&quot;http://www.guraysuerdem.com&quot; rel=&quot;nofollow&quot;&gt;&lt;img src=&quot;.jpg&quot; border=0&gt;&lt;/a&gt;

PHP kod olarak:
$Rasgele = rand(1,3);
echo &quot;&lt;a&gt;&lt;/a&gt;&quot;;</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Güray beyin kodlarını biraz kısalttım.<br />
HTML kod olarak:<br />
<a href="http://www.guraysuerdem.com" rel="nofollow">&lt;img src=&#8221;.jpg&#8221; border=0&gt;</a></p>
<p>PHP kod olarak:<br />
$Rasgele = rand(1,3);<br />
echo &#8220;<a></a>&#8220;;<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>saim emre tarafından</title>
		<link>http://www.guraysuerdem.com/php-ile-rasgele-banner-gosterimi/comment-page-1/#comment-780</link>
		<dc:creator>saim emre</dc:creator>
		<pubDate>Mon, 27 Jul 2009 06:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.guraysuerdem.com/2008/02/28/php-ile-rasgele-banner-gosterimi/#comment-780</guid>
		<description>en kolay gözükeni h.iskenderin vermiş olduğu gibi göüküyor.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->en kolay gözükeni h.iskenderin vermiş olduğu gibi göüküyor.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>h. iskender tarafından</title>
		<link>http://www.guraysuerdem.com/php-ile-rasgele-banner-gosterimi/comment-page-1/#comment-527</link>
		<dc:creator>h. iskender</dc:creator>
		<pubDate>Wed, 18 Feb 2009 14:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.guraysuerdem.com/2008/02/28/php-ile-rasgele-banner-gosterimi/#comment-527</guid>
		<description>Arkadaşlar, yazdığım üstte yazdığım kodda değişkenlerin tırnak arasına şöyle yazacaksınız:

(link)(resim)(link bitişi)

yani ilk değişken için

$r1=&#039;(link)(resim)(link bitişi)&#039;;


Bu kodları kendinize göre düzenleyip kullanabilirsiniz.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Arkadaşlar, yazdığım üstte yazdığım kodda değişkenlerin tırnak arasına şöyle yazacaksınız:</p>
<p>(link)(resim)(link bitişi)</p>
<p>yani ilk değişken için</p>
<p>$r1=&#8217;(link)(resim)(link bitişi)&#8217;;</p>
<p>Bu kodları kendinize göre düzenleyip kullanabilirsiniz.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>h. iskender tarafından</title>
		<link>http://www.guraysuerdem.com/php-ile-rasgele-banner-gosterimi/comment-page-1/#comment-526</link>
		<dc:creator>h. iskender</dc:creator>
		<pubDate>Wed, 18 Feb 2009 14:25:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.guraysuerdem.com/2008/02/28/php-ile-rasgele-banner-gosterimi/#comment-526</guid>
		<description>Herkes Bildiği Rasgele banner sisteminin kodlarını vermiş madem, birde ben veriym dedim.Bu Kodda phpde dizilerden yararlanılarak, dizilerin bir fonksiyonu olan shuffle yani rasgele metodunu kullanarak banner sistemi oluşturmuş olduk.

&lt;?php
$r1=&#039;&lt;a href=&quot;http://www.google.com.tr&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;&#039;;
$r2=&#039;&lt;a href=&quot;http://www.yahoo.com&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;&#039;;
$r3=&#039;&lt;a href=&quot;http://www.mynet.com&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;&#039;;
$r4=&#039;&lt;a href=&quot;http://www.msn.com&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;&#039;;

$reklam = array($r1,$r2,$r3,$r4);
shuffle($reklam);

echo $reklam[0];

?&gt;</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Herkes Bildiği Rasgele banner sisteminin kodlarını vermiş madem, birde ben veriym dedim.Bu Kodda phpde dizilerden yararlanılarak, dizilerin bir fonksiyonu olan shuffle yani rasgele metodunu kullanarak banner sistemi oluşturmuş olduk.</p>
<p>&lt;?php<br />
$r1=&#8217;<a href="http://www.google.com.tr" rel="nofollow"></a>&#8216;;<br />
$r2=&#8217;<a href="http://www.yahoo.com" rel="nofollow"></a>&#8216;;<br />
$r3=&#8217;<a href="http://www.mynet.com" rel="nofollow"></a>&#8216;;<br />
$r4=&#8217;<a href="http://www.msn.com" rel="nofollow"></a>&#8216;;</p>
<p>$reklam = array($r1,$r2,$r3,$r4);<br />
shuffle($reklam);</p>
<p>echo $reklam[0];</p>
<p>?&gt;<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Güven tarafından</title>
		<link>http://www.guraysuerdem.com/php-ile-rasgele-banner-gosterimi/comment-page-1/#comment-331</link>
		<dc:creator>Güven</dc:creator>
		<pubDate>Thu, 28 Aug 2008 15:20:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.guraysuerdem.com/2008/02/28/php-ile-rasgele-banner-gosterimi/#comment-331</guid>
		<description>buda bir diğer yapım şekli...


&lt;?php

$rst=rand(1,3);
switch($rst){
case &quot;1&quot;;
echo &quot;&lt;a href=&#039;http://www.banner1url.com&#039; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;&quot;;
break;
case &quot;2&quot;;
echo &quot;&lt;a href=&#039;http://www.banner2url.com&#039; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;&quot;;
break;
case &quot;3&quot;;
echo &quot;&lt;a href=&#039;http://www.banner3url.com&#039; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;&quot;;
break;
default;
echo &quot;bir sorun meydana geldi&quot;;
}

?&gt;</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->buda bir diğer yapım şekli&#8230;</p>
<p>&lt;?php</p>
<p>$rst=rand(1,3);<br />
switch($rst){<br />
case &#8220;1&#8243;;<br />
echo &#8220;<a href='http://www.banner1url.com' rel="nofollow"></a>&#8220;;<br />
break;<br />
case &#8220;2&#8243;;<br />
echo &#8220;<a href='http://www.banner2url.com' rel="nofollow"></a>&#8220;;<br />
break;<br />
case &#8220;3&#8243;;<br />
echo &#8220;<a href='http://www.banner3url.com' rel="nofollow"></a>&#8220;;<br />
break;<br />
default;<br />
echo &#8220;bir sorun meydana geldi&#8221;;<br />
}</p>
<p>?&gt;<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
</channel>
</rss>

