<?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>Şahabettin Akca # Saho &#187; Ajax</title>
	<atom:link href="http://www.saho.in/category/web-yazilim/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.saho.in</link>
	<description>php, mysql, html, ajax, css,js, xml, vb, c++, c# coder</description>
	<lastBuildDate>Fri, 30 Jul 2010 08:31:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>lightbox ta açıklamayı üste çekip resimle yan yana koymak</title>
		<link>http://www.saho.in/lightbox-ta-aciklamayi-uste-cekip-resimle-yan-yana-koymak/</link>
		<comments>http://www.saho.in/lightbox-ta-aciklamayi-uste-cekip-resimle-yan-yana-koymak/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 19:34:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[bölme]]></category>
		<category><![CDATA[float]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[mootools]]></category>

		<guid isPermaLink="false">http://www.saho.in/?p=898</guid>
		<description><![CDATA[http://www.huddletogether.com/projects/lightbox2/#download
şu adresten lightbox u indiriyoruz .
lightbox.js yi açıyoruz
12Builder.node&#40;'div',&#123;id:'imageContainer'&#125;, &#91;
Builder.node&#40;'img',&#123;id:'lightboxImage'&#125;&#41;,
ile
123Builder.node&#40;'div',&#123;id:'imageContainer',style:'width:100%;'&#125;, &#91;
Builder.node&#40;'img',&#123;id:'lightboxImage',style:'width:50%;float:left;'&#125;&#41;,
Builder.node&#40;'span',&#123;id:'caption',style:'font-size:9px;height:10px;width:50%;float:left;'&#125;&#41;,
kodlarını değiştiriyoruz.
]]></description>
			<content:encoded><![CDATA[<p>http://www.huddletogether.com/projects/lightbox2/#download</p>
<p>şu adresten lightbox u indiriyoruz .</p>
<p>lightbox.js yi açıyoruz</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Builder.<span style="color: #660066;">node</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div'</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span>id<span style="color: #339933;">:</span><span style="color: #3366CC;">'imageContainer'</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#91;</span><br />
Builder.<span style="color: #660066;">node</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'img'</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span>id<span style="color: #339933;">:</span><span style="color: #3366CC;">'lightboxImage'</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span></div></td></tr></tbody></table></div>
<p>ile</p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Builder.<span style="color: #660066;">node</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div'</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span>id<span style="color: #339933;">:</span><span style="color: #3366CC;">'imageContainer'</span><span style="color: #339933;">,</span>style<span style="color: #339933;">:</span><span style="color: #3366CC;">'width:100%;'</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#91;</span><br />
Builder.<span style="color: #660066;">node</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'img'</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span>id<span style="color: #339933;">:</span><span style="color: #3366CC;">'lightboxImage'</span><span style="color: #339933;">,</span>style<span style="color: #339933;">:</span><span style="color: #3366CC;">'width:50%;float:left;'</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
Builder.<span style="color: #660066;">node</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'span'</span><span style="color: #339933;">,</span><span style="color: #009900;">&#123;</span>id<span style="color: #339933;">:</span><span style="color: #3366CC;">'caption'</span><span style="color: #339933;">,</span>style<span style="color: #339933;">:</span><span style="color: #3366CC;">'font-size:9px;height:10px;width:50%;float:left;'</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span></div></td></tr></tbody></table></div>
<p>kodlarını değiştiriyoruz.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.saho.in/lightbox-ta-aciklamayi-uste-cekip-resimle-yan-yana-koymak/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php nuke prefix değiştirici</title>
		<link>http://www.saho.in/php-nuke-prefix-degistirici/</link>
		<comments>http://www.saho.in/php-nuke-prefix-degistirici/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 23:24:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Salata]]></category>

		<guid isPermaLink="false">http://www.saho.in/?p=348</guid>
		<description><![CDATA[prefix değişici kodları
12345678910111213141516171819202122&#38;lt;?
//mysql bağlantısı
$dbkullaniciadi=&#34;&#34;;
$db_sifre=&#34;&#34;;
$dbname=&#34;&#34;;
//prefix ayarları
$onceki_prefix =&#34;nuke&#34;;
$yeni_prefix=&#34;yeniprefixinizinozgunuydurdugunuzadi&#34;;
//düzenleme bitti
if &#40;!mysql_connect&#40;'localhost', &#34;$dbkullaniciadi&#34;, &#34;$db_sifre&#34;&#41;&#41; &#123;
echo 'Mysql bağlantısını kuramadım';
exit;
&#125;
$sql &#160; &#160;= &#34;$dbname&#34;;
$result = mysql_list_tables&#40;$sql&#41;;
while &#40;$row = mysql_fetch_row&#40;$result&#41;&#41; &#123;
echo &#34;&#38;lt;b&#38;gt;$row[0]&#38;lt;/b&#38;gt; değiştirildi ve\n&#34;;
$row2&#91;'0'&#93; = str_replace&#40;&#34;$onceki_prefix&#34;,&#34;$yeni_prefix&#34;, $row&#91;'0'&#93;&#41;;
mysql_query&#40;&#34;ALTER TABLE `$row[0]` RENAME `$row2[0]`&#34;&#41; or die&#40;mysql_error&#40;&#41;&#41;;
echo&#34;&#38;lt;b&#38;gt;$row2[0]&#38;lt;/b&#38;gt; oldu&#38;lt;br&#38;gt;&#34;;
&#125;
?&#38;gt;
netopsiyon forumu için link  
]]></description>
			<content:encoded><![CDATA[<p>prefix değişici kodları</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>?<br />
<span style="color: #666666; font-style: italic;">//mysql bağlantısı</span><br />
<span style="color: #000088;">$dbkullaniciadi</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$db_sifre</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$dbname</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">//prefix ayarları</span><br />
<span style="color: #000088;">$onceki_prefix</span> <span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;nuke&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$yeni_prefix</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;yeniprefixinizinozgunuydurdugunuzadi&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">//düzenleme bitti</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/mysql_connect"><span style="color: #990000;">mysql_connect</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'localhost'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$dbkullaniciadi</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$db_sifre</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'Mysql bağlantısını kuramadım'</span><span style="color: #339933;">;</span><br />
<a href="http://www.php.net/exit"><span style="color: #990000;">exit</span></a><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #000088;">$sql</span> &nbsp; &nbsp;<span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$dbname</span>&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_list_tables"><span style="color: #990000;">mysql_list_tables</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_fetch_row"><span style="color: #990000;">mysql_fetch_row</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&amp;lt;b&amp;gt;<span style="color: #006699; font-weight: bold;">$row[0]</span>&amp;lt;/b&amp;gt; değiştirildi ve<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$row2</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'0'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$onceki_prefix</span>&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$yeni_prefix</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'0'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<a href="http://www.php.net/mysql_query"><span style="color: #990000;">mysql_query</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;ALTER TABLE `<span style="color: #006699; font-weight: bold;">$row[0]</span>` RENAME `<span style="color: #006699; font-weight: bold;">$row2[0]</span>`&quot;</span><span style="color: #009900;">&#41;</span> or <a href="http://www.php.net/die"><span style="color: #990000;">die</span></a><span style="color: #009900;">&#40;</span><a href="http://www.php.net/mysql_error"><span style="color: #990000;">mysql_error</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">echo</span><span style="color: #0000ff;">&quot;&amp;lt;b&amp;gt;<span style="color: #006699; font-weight: bold;">$row2[0]</span>&amp;lt;/b&amp;gt; oldu&amp;lt;br&amp;gt;&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
?<span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p><a href="http://www.netopsiyon.com">netopsiyon </a>forumu için link <img src='http://www.saho.in/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.saho.in/php-nuke-prefix-degistirici/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Php Ekşin &#8211; Action</title>
		<link>http://www.saho.in/php-eksin-action/</link>
		<comments>http://www.saho.in/php-eksin-action/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 13:22:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Yazılım]]></category>

		<guid isPermaLink="false">http://www.saho.in/?p=339</guid>
		<description><![CDATA[hazır yatmadan önce güvenlikle alakalı fonksiyonlara değineyim hafiften
htmlspecialchars-htmlentities
htmlentities iso-8859-9 ve latin5 yani türkçe desteklemiyor ,ent_quotes,iso-8859-9 yapsanda nafile bu yüzden sayfanız utf-8 yada latin1 falansa kullanmanız yoksa benzeri işi yapan
htmlspecialchars ı kullanmanızı öneririm mesala
form yaptınız
[php]
&#60;?
if(empty($_POST)) { ?&#62;
&#60;form action=&#8221; method=&#8217;post&#8217;&#62;
&#60;input type=text name=&#8217;icerik&#8217;&#62;
&#60;input type=submit value=&#8217;Git&#8217;&#62;
&#60;/form&#62;
&#60;? } else {
echo $_POST[icerik];
}
?&#62;
[/php]gibi yazdırırsanız şuan hiç bir süzme işlemi yapmadınız normal insanlar [...]]]></description>
			<content:encoded><![CDATA[<p>hazır yatmadan önce güvenlikle alakalı fonksiyonlara değineyim hafiften<br />
htmlspecialchars-htmlentities<br />
htmlentities iso-8859-9 ve latin5 yani türkçe desteklemiyor ,ent_quotes,iso-8859-9 yapsanda nafile bu yüzden sayfanız utf-8 yada latin1 falansa kullanmanız yoksa benzeri işi yapan<br />
htmlspecialchars ı kullanmanızı öneririm mesala<br />
form yaptınız<br />
[php]<br />
&lt;?<br />
if(empty($_POST)) { ?&gt;<br />
&lt;form action=&#8221; method=&#8217;post&#8217;&gt;<br />
&lt;input type=text name=&#8217;icerik&#8217;&gt;<br />
&lt;input type=submit value=&#8217;Git&#8217;&gt;<br />
&lt;/form&gt;<br />
&lt;? } else {<br />
echo $_POST[icerik];<br />
}<br />
?&gt;<br />
[/php]gibi yazdırırsanız şuan hiç bir süzme işlemi yapmadınız normal insanlar kullanablir ama<br />
sizin bu iyineyitinizi suistimal edecek bir ton hacker-lamer bulmak mümkün onlar da sizi bulur yada&#8230;<br />
bu yüzden mesala oradan<br />
ahmet yazıp gönderebilir ama<br />
&lt;script&gt;&#8230;.&lt;/script&gt;<br />
&lt;script&gt;document.cookie&lt;/script&gt;<br />
daha bir ton zararlı kod varyasyonları var bunları mesala direk engelleyebilirsiniz<br />
buradan html bir kod gelmesini beklemiyorsanız <strong>htmlspecialchars </strong>ile direk tüm gelen html kodlarını egale edebilirsiniz sql de synatx hatalara verecek kodlar içinde <strong>addslashes </strong>ekliyoruz bunları topluça şöyle yazalım<br />
[php] $_POST[icerik]=addslashes(htmlspecialchars($_POST[icerik]));[/php]mesala hiç ama hiç htmlkod gelmesini beklemiyosunuz direk kökten html temizlik için<br />
[php] $_POST[icerik]=strip_tags($_POST[icerik]);[/php]fonksiyonunu kullanmanız yerinde olacaktır<br />
mysql e gireceğiniz verilere or union vs. lere replace yapıp slashes eklemek yeterli gibi görünsede php.net <strong>mysql_real_espace_string</strong> fonksiyonunu öneriyor güvenlik sayfasında<br />
yine diğre fonksiyonlar gibi yapıp post dizisinin input namesini [] keyi ile belirtip bir birine eşitleyebiliriz yada bir değişkene atayabiliriz yada yine aynı input keye ayarlıyacaksak<br />
üstte vermiştim tekrar yazayım</p>
<p>[php]<br />
&lt;?<br />
if(empty($_POST)) { ?&gt;<br />
&lt;form action=&#8221; method=&#8217;post&#8217;&gt;<br />
&lt;input type=text name=&#8217;icerik&#8217;&gt;<br />
&lt;input type=submit value=&#8217;Git&#8217;&gt;<br />
&lt;/form&gt;<br />
&lt;? } else {<br />
foreach($_POST as $saho=&gt;$ankabt) $_POST[$saho]=strip_tags($_POST[$saho]);<br />
echo $_POST[icerik];<br />
}<br />
?&gt;<br />
[/php]gibi kullanabiliriz<br />
birde bu foreach ı böyle inputtan gelen 15-20 veri gelirken hepsine uygulayıp çokdaha pratik olabilirsiniz diğer yöntem ise<br />
[php] $icerik=strip_tags($_POST[icerik]);[/php]gibi yapabilirsiniz<br />
yine sql e işleyecekseniz<br />
foreach kısmında dönerken veri<br />
[php] $_POST[$saho]=mysql_real_escape_string($_POST[$saho]);[/php]gibi kullanabilirsiniz&#8230;<br />
birdemesala<br />
get-posttan gelen tüm veriyi sql e işlemede slashes lemek sql den mesala<br />
fetch_array-row-assoc vs. array diziye atıyorsanız yani oradan da okurken stripslashes yaparak veriyi güvenli şekilde yazıp okuyabilirsiniz.<br />
&#8212;<br />
[php] foreach($_POST as $saho=&gt;$anka) $_POST[$saho]=@addslashes($_POST[$saho]);<br />
foreach($_GET as $saho=&gt;$anka) $_GET[$saho]=@addslashes($_GET[$saho]);[/php]&#8211;<br />
gelen tüm veriyi slashes ledik<br />
çıkan veride mesala<br />
&#8211;<br />
[php]$saho=mysql_fetch_array(mysql_query(&#8221;select adi from videolar where id=&#8217;5&#8242; &#8220;));<br />
foreach($saho as $an=&gt;$ka) $saho[$an]=stripslashes($saho[$an]);<br />
gibi kullanabilirsiniz[/php]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.saho.in/php-eksin-action/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>yerinde düzenleme javascript , onchange edit ~ saho</title>
		<link>http://www.saho.in/yerinde-duzenleme-javascript-onchange-edit-saho/</link>
		<comments>http://www.saho.in/yerinde-duzenleme-javascript-onchange-edit-saho/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 12:03:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[Yazılım]]></category>

		<guid isPermaLink="false">http://www.saho.in/?p=321</guid>
		<description><![CDATA[bir wm forumunda bir arkadaşımız istemiş pek destek vermiyorum ya artık :p öylesine bakıyordum bilen yok mu? Demiş bende gaza geldim hazırladım sıfırdan tamamen kendi ürünümdür sade oldu ama iş görür &#8230;
not: sql den düzenleme yaptırmak istiyorsanız 2 yöntem tavsiye edebilirim 1. si alttan gizli bir div açıp location.href=&#8221;sql_guncelle.php?veri=&#8221;+areaVal+&#8221;id=&#60;?php echo $_GET['id'];?&#62;&#8221; ye yönlendirip 
sql_guncelle den [...]]]></description>
			<content:encoded><![CDATA[<p>bir wm forumunda bir arkadaşımız istemiş pek destek vermiyorum ya artık :p öylesine bakıyordum bilen yok mu? Demiş bende gaza geldim hazırladım sıfırdan tamamen kendi ürünümdür sade oldu ama iş görür &#8230;</p>
<p><em>not: sql den düzenleme yaptırmak istiyorsanız 2 yöntem tavsiye edebilirim 1. si alttan gizli bir div açıp location.href=&#8221;sql_guncelle.php?veri=&#8221;+areaVal+&#8221;id=&lt;?php echo $_GET['id'];?&gt;&#8221; ye yönlendirip </em></p>
<p><em>sql_guncelle den gereken diğer işlemleri yapabilirsiniz veya simple , eyceks gibi sade kütüphane ler ile veriyi yine sql_guncelle gibi bir dosya ya post,get ile gönderip işleyebilirsiniz</em></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;code&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;div id&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;text&quot; &lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;onclick&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;duz('text','area')&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;saho&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;</div></td></tr></tbody></table></div>
<p></code></p>
<p>&lt;<span style="color: #0000bb;">div id</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"area" </span><span style="color: #0000bb;">style</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"display:none;"</span><span style="color: #007700;">&gt;<br />
&lt;</span><span style="color: #0000bb;">textarea name</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"area_x" </span><span style="color: #0000bb;">id</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"area_x"</span><span style="color: #007700;">&gt;&lt;/</span><span style="color: #0000bb;">textarea</span><span style="color: #007700;">&gt;<br />
&lt;</span><span style="color: #0000bb;">button onclick</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"duzenle('text','area')"</span><span style="color: #007700;">&gt;</span><span style="color: #0000bb;">duzenle</span><span style="color: #007700;">&lt;/</span><span style="color: #0000bb;">button</span><span style="color: #007700;">&gt;<br />
&lt;</span><span style="color: #0000bb;">button onclick</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"iptal('text','area')"</span><span style="color: #007700;">&gt;</span><span style="color: #0000bb;">iptal</span><span style="color: #007700;">&lt;/</span><span style="color: #0000bb;">button</span><span style="color: #007700;">&gt;<br />
&lt;/</span><span style="color: #0000bb;">div</span><span style="color: #007700;">&gt;</span></p>
<p>&lt;<span style="color: #0000bb;">br </span><span style="color: #007700;">/&gt;<br />
&lt;</span><span style="color: #0000bb;">a onclick</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"duz('text','area')"</span><span style="color: #007700;">&gt;</span><span style="color: #0000bb;">duz</span><span style="color: #007700;">&lt;/</span><span style="color: #0000bb;">a</span><span style="color: #007700;">&gt;</span></p>
<p>&lt;<span style="color: #0000bb;">script</span><span style="color: #007700;">&gt;<br />
function </span><span style="color: #0000bb;">duz</span><span style="color: #007700;">(</span><span style="color: #0000bb;">id</span><span style="color: #007700;">,</span><span style="color: #0000bb;">idx</span><span style="color: #007700;">) {<br />
</span><span style="color: #0000bb;">document</span><span style="color: #007700;">.</span><span style="color: #0000bb;">getElementById</span><span style="color: #007700;">(</span><span style="color: #0000bb;">idx</span><span style="color: #007700;">).</span><span style="color: #0000bb;">style</span><span style="color: #007700;">.</span><span style="color: #0000bb;">display</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"block"</span><span style="color: #007700;">;<br />
</span><span style="color: #0000bb;">document</span><span style="color: #007700;">.</span><span style="color: #0000bb;">getElementById</span><span style="color: #007700;">(</span><span style="color: #0000bb;">id</span><span style="color: #007700;">).</span><span style="color: #0000bb;">style</span><span style="color: #007700;">.</span><span style="color: #0000bb;">display</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"none"</span><span style="color: #007700;">;<br />
</span><span style="color: #0000bb;">divVal </span><span style="color: #007700;">= </span><span style="color: #0000bb;">document</span><span style="color: #007700;">.</span><span style="color: #0000bb;">getElementById</span><span style="color: #007700;">(</span><span style="color: #0000bb;">id</span><span style="color: #007700;">).</span><span style="color: #0000bb;">firstChild</span><span style="color: #007700;">.</span><span style="color: #0000bb;">nodeValue</span><span style="color: #007700;">;<br />
</span><span style="color: #0000bb;">document</span><span style="color: #007700;">.</span><span style="color: #0000bb;">getElementById</span><span style="color: #007700;">(</span><span style="color: #0000bb;">idx</span><span style="color: #007700;">+</span><span style="color: #dd0000;">"_x"</span><span style="color: #007700;">).</span><span style="color: #0000bb;">value</span><span style="color: #007700;">=</span><span style="color: #0000bb;">divVal</span><span style="color: #007700;">;<br />
}<br />
function </span><span style="color: #0000bb;">duzenle</span><span style="color: #007700;">(</span><span style="color: #0000bb;">id</span><span style="color: #007700;">,</span><span style="color: #0000bb;">idx</span><span style="color: #007700;">) {<br />
</span><span style="color: #0000bb;">document</span><span style="color: #007700;">.</span><span style="color: #0000bb;">getElementById</span><span style="color: #007700;">(</span><span style="color: #0000bb;">idx</span><span style="color: #007700;">).</span><span style="color: #0000bb;">style</span><span style="color: #007700;">.</span><span style="color: #0000bb;">display</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"none"</span><span style="color: #007700;">;<br />
</span><span style="color: #0000bb;">document</span><span style="color: #007700;">.</span><span style="color: #0000bb;">getElementById</span><span style="color: #007700;">(</span><span style="color: #0000bb;">id</span><span style="color: #007700;">).</span><span style="color: #0000bb;">style</span><span style="color: #007700;">.</span><span style="color: #0000bb;">display</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"block"</span><span style="color: #007700;">;<br />
</span><span style="color: #0000bb;">areaVal </span><span style="color: #007700;">= </span><span style="color: #0000bb;">document</span><span style="color: #007700;">.</span><span style="color: #0000bb;">getElementById</span><span style="color: #007700;">(</span><span style="color: #0000bb;">idx</span><span style="color: #007700;">+</span><span style="color: #dd0000;">"_x"</span><span style="color: #007700;">).</span><span style="color: #0000bb;">value</span><span style="color: #007700;">;<br />
</span><span style="color: #0000bb;">document</span><span style="color: #007700;">.</span><span style="color: #0000bb;">getElementById</span><span style="color: #007700;">(</span><span style="color: #0000bb;">id</span><span style="color: #007700;">).</span><span style="color: #0000bb;">innerHTML</span><span style="color: #007700;">=</span><span style="color: #0000bb;">areaVal</span><span style="color: #007700;">;<br />
}<br />
function </span><span style="color: #0000bb;">iptal</span><span style="color: #007700;">(</span><span style="color: #0000bb;">id</span><span style="color: #007700;">,</span><span style="color: #0000bb;">idx</span><span style="color: #007700;">){<br />
</span><span style="color: #0000bb;">document</span><span style="color: #007700;">.</span><span style="color: #0000bb;">getElementById</span><span style="color: #007700;">(</span><span style="color: #0000bb;">idx</span><span style="color: #007700;">).</span><span style="color: #0000bb;">style</span><span style="color: #007700;">.</span><span style="color: #0000bb;">display</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"none"</span><span style="color: #007700;">;<br />
</span><span style="color: #0000bb;">document</span><span style="color: #007700;">.</span><span style="color: #0000bb;">getElementById</span><span style="color: #007700;">(</span><span style="color: #0000bb;">id</span><span style="color: #007700;">).</span><span style="color: #0000bb;">style</span><span style="color: #007700;">.</span><span style="color: #0000bb;">display</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"block"</span><span style="color: #007700;">;<br />
}<br />
</span><span style="color: #0000bb;">&lt;/script&gt;</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.saho.in/yerinde-duzenleme-javascript-onchange-edit-saho/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
