<?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>ÜGEnet.com</title>
	<atom:link href="http://www.ugenet.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ugenet.com</link>
	<description>A. Bahadır ÜGE  - Freelance, Senior Web Application Developer, since 1998</description>
	<lastBuildDate>Tue, 24 Apr 2012 10:35:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>ODTÜ IEEE &#8211; Gelecekte Kariyer etkinliğinde Kayıt ve Sayım sistemi yine devrede</title>
		<link>http://www.ugenet.com/2012/03/odtu-ieee-gelecekte-kariyer-etkinliginde-kayit-ve-sayim-sistemi-yine-devrede/</link>
		<comments>http://www.ugenet.com/2012/03/odtu-ieee-gelecekte-kariyer-etkinliginde-kayit-ve-sayim-sistemi-yine-devrede/#comments</comments>
		<pubDate>Mon, 19 Mar 2012 12:48:00 +0000</pubDate>
		<dc:creator>Bahadır ÜGE</dc:creator>
				<category><![CDATA[Proje]]></category>
		<category><![CDATA[Gelecekte Kariyer]]></category>
		<category><![CDATA[IEEE]]></category>

		<guid isPermaLink="false">http://www.ugenet.com/?p=115</guid>
		<description><![CDATA[ODTÜ IEEE Grubunun yeni etkinliğine sayım sistemimizle destek vermeye devam ediyoruz. Gelecekte Kariyer konulu yeni etkinlik ile bilgi için tıklayabilirisiniz. &#8220;Gelecekte Kariyer Gelecekte Kariyer ODTÜ başta olmak üzere tüm Türkiye’den gelecek katılımcıların gelecekte yönelebilecekleri yeni alanların tanıtımının ve tartışmasının yer alacağı yeni bir etkinliktir. Bu etkinlik “Mezun olduktan sonra ne yapacağım?” sorusuna değil, bir hazırlık [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ODTÜ IEEE Grubunun yeni etkinliğine sayım sistemimizle destek vermeye devam ediyoruz.</strong></p>
<p>Gelecekte Kariyer konulu yeni etkinlik ile bilgi için <a title="Gelecekte Kariyer" href="http://gelecektekariyer.org/" target="_blank">tıklayabilirisiniz</a>.</p>
<p><em>&#8220;Gelecekte Kariyer</em></p>
<p><em>Gelecekte Kariyer ODTÜ başta olmak üzere tüm Türkiye’den gelecek katılımcıların gelecekte yönelebilecekleri yeni alanların tanıtımının ve tartışmasının yer alacağı yeni bir etkinliktir. Bu etkinlik “Mezun olduktan sonra ne yapacağım?” sorusuna değil, bir hazırlık öğrencisinin bile “Mezun olduktan 5 yıl sonra ne iş yapıyor olacağım?” sorusuna cevap bulmaya ve katılımcılara ilgilendikleri sektörün 10 yıl sonrasını göstermeye çalışacağımız bir etkinliktir.</em></p>
<p><em>2 gün sürecek etkinlik 20-21 Mart tarihleri arasın ODTÜ Kültür ve Kongre Merkezinde gerçekleştirilecektir. Gelişmiş ve kullanılan değil, gelişen ve henüz hayatımıza girmemiş konuların uzmanlar tarafından öğrencilere sunulduğu paralel oturumlarden oluşup şirketlerin yanısıra konusunda uzman akademisyenlerin de oturumlarda yer alacağı bir etkinlik olacaktır.</em></p>
<p><em>Farklı sektörlerden ağırlayacağımız konuşmacılar sayesinde yeni teknoloji veya sistemlerin geleceğinin bütün ayrıntılarıyla işleneceği bir etkinlik olmasını planlamaktayız. Bu etkinlik katılımcıların hem yeni teknolojileri ve sistemleri tanımalarına hem de onların geliştirilmesinin hangi ayağında yer alabileceklerini belirlemelerine yardımcı olacaktır. Etkinliğimiz ODTÜ Teknokent, HSBC ve Arçelik’in sponsorluğunda gerçekleşecektir.&#8221;</em></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.ugenet.com%2F2012%2F03%2Fodtu-ieee-gelecekte-kariyer-etkinliginde-kayit-ve-sayim-sistemi-yine-devrede%2F&amp;title=ODT%C3%9C%20IEEE%20%E2%80%93%20Gelecekte%20Kariyer%20etkinli%C4%9Finde%20Kay%C4%B1t%20ve%20Say%C4%B1m%20sistemi%20yine%20devrede" id="wpa2a_2">Paylaş</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ugenet.com/2012/03/odtu-ieee-gelecekte-kariyer-etkinliginde-kayit-ve-sayim-sistemi-yine-devrede/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CodeIgniter&#8217;da index.php yönlendirmesini kaldırmak</title>
		<link>http://www.ugenet.com/2012/02/codeigniterda-index-php-yonlendirmesini-kaldirmak/</link>
		<comments>http://www.ugenet.com/2012/02/codeigniterda-index-php-yonlendirmesini-kaldirmak/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 13:50:26 +0000</pubDate>
		<dc:creator>Bahadır ÜGE</dc:creator>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Codeigniter]]></category>

		<guid isPermaLink="false">http://www.ugenet.com/?p=104</guid>
		<description><![CDATA[Apache Web Server üzerinde oluşturduğunuz CodeIgineter projenizin URL kısmında yer alan ve ana yönlendirme işlemlerini yüklenen &#8220;index.php&#8221; dosyasının adres çubuğundan kaldırılmasını ve düz bir permalink zinciri oluşturmayı düşünüyorsanız. basit bir kaç adımla bunu halledebilirsiniz. Öncelikle bu index.php dosyasının bulunduğu, yani uygulamamızın kök dizininde bir .htaccess yaratmalıyız. Projemize örnek bir URL ile ifade etmemiz gerekirse. http://sunucu/projem/index.php/controlleradi [...]]]></description>
			<content:encoded><![CDATA[<p>Apache Web Server üzerinde oluşturduğunuz CodeIgineter projenizin URL kısmında yer alan ve ana yönlendirme işlemlerini yüklenen &#8220;index.php&#8221; dosyasının adres çubuğundan kaldırılmasını ve düz bir permalink zinciri oluşturmayı düşünüyorsanız. basit bir kaç adımla bunu halledebilirsiniz.</p>
<p>Öncelikle bu index.php dosyasının bulunduğu, yani uygulamamızın kök dizininde bir .htaccess yaratmalıyız.</p>
<p>Projemize örnek bir URL ile ifade etmemiz gerekirse.</p>
<p><strong>http://sunucu/projem/index.php/controlleradi</strong> şeklinde bir projemiz var olsun ve dikkat ederseniz projenin root klasörü <strong>&#8220;projem&#8221;</strong> adında bir subfolder, <strong>&#8220;index.php&#8221;</strong> dosyamız bu  folder altında.</p>
<p>Burada gereken gereken .htaccess dosyasının içeriği :</p>
<p><code>RewriteEngine on<br />
RewriteCond $1 !^(index\.php|images|robots\.txt)<br />
RewriteRule ^(.*)$ /projem/index.php/$1 [L]</code></p>
<p>şeklinde olacak.</p>
<p>Burada  2 satırdaki ReWriteCond bu klasördeki redirectionların dışında kalacak olan dosya ve   klasörleri kurallarını belirliyor.<br />
Yani bu dizinde kendi yarattığınız &#8220;css&#8221; ve &#8220;javascript&#8221; klasröleri olduğunu varsayarsak ve bu klasörlerin altındaki dostyaları çağırmamız gerekiyorsa ReWriteCond tanımı,</p>
<p><code>RewriteCond $1 !^(index\.php|images|robots\.txt|css|javascript)</code></p>
<p>şeklinde revize edilmelidir. Bu satıra göre <strong>index.php</strong> ,<strong> robots.txt</strong>, <strong>css</strong> ve <strong>javascript</strong> klasörü altındaki tüm dosyalar re-direction&#8217;dan etkilenmeyecektir.</p>
<p>ReWrite Rule&#8217;umuz ise  Apache sunucusunu DOCUMENT_ROOT klasörünü başlangıç olarak alacak şekilde dizinlenecektir. Projemiz index.php dosyası kök dizindeki projem klasörü altında olduğu için</p>
<p><code>RewriteRule ^(.*)$ <strong>/projem/index.php/</strong>$1 [L]</code></p>
<p>şeklinde tanıtılmıştır. Şayet direk kök dizindeyseniz ;</p>
<p><code>RewriteRule ^(.*)$ <strong>/index.php/</strong>$1 [L] </code></p>
<p>şeklinde bir tanım yapılmalıydı.</p>
<p><strong>.htaccess</strong> dosyasını oluşturduktan sonra, <strong>application/config/config.php</strong> dosyası içerisindeki,</p>
<p><code> $config['index_page'] = 'index.php';</code></p>
<p>satırını</p>
<p><code>$config['index_page'] = ''; </code></p>
<p>şeklinde tanımlamlıyız.</p>
<p>Artık projemizi</p>
<p><strong>http://sunucu/projem/controlleradi </strong><br />
veya<br />
<strong>http://sunucu/controlleradi</strong> </p>
<p>şeklinde çağırabiliriz.</p>
<p><strong>Detaylı bilgi :</strong> <a href="http://codeigniter.com/user_guide/general/urls.html">http://codeigniter.com/user_guide/general/urls.html</a> adresine bakabilirsiniz.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.ugenet.com%2F2012%2F02%2Fcodeigniterda-index-php-yonlendirmesini-kaldirmak%2F&amp;title=CodeIgniter%E2%80%99da%20index.php%20y%C3%B6nlendirmesini%20kald%C4%B1rmak" id="wpa2a_4">Paylaş</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ugenet.com/2012/02/codeigniterda-index-php-yonlendirmesini-kaldirmak/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Dersleri</title>
		<link>http://www.ugenet.com/2011/12/php-dersleri/</link>
		<comments>http://www.ugenet.com/2011/12/php-dersleri/#comments</comments>
		<pubDate>Sat, 17 Dec 2011 13:17:59 +0000</pubDate>
		<dc:creator>Bahadır ÜGE</dc:creator>
				<category><![CDATA[Genel SQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Proje]]></category>
		<category><![CDATA[Codeigniter]]></category>
		<category><![CDATA[JQUERY]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP Dersleri]]></category>
		<category><![CDATA[PHP eğitimi]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[PosgreSQL]]></category>
		<category><![CDATA[veritabanı]]></category>
		<category><![CDATA[web programlama]]></category>
		<category><![CDATA[Web Sitesi]]></category>
		<category><![CDATA[XAJAX]]></category>

		<guid isPermaLink="false">http://www.ugenet.com/?p=100</guid>
		<description><![CDATA[Şayet profesyonel anlamda PHP öğrenmek, Web siteleri ve Uygulamalar oluşturmak istiyorsanız. Bizimle irtibata geçiniz. PHP Temelleri OOP (Object Oriented Programming) PHP XAJAX Kütüphanesi, JQUERY, Codeigniter Framework Veritabanları ve PHP, PDO kütüphanesi Web Servisleri, JSON, XML, SOAP v.b. Netbeans IDE ile proje yönetimi]]></description>
			<content:encoded><![CDATA[<p>Şayet profesyonel anlamda PHP öğrenmek, Web siteleri ve Uygulamalar oluşturmak istiyorsanız. Bizimle irtibata geçiniz.</p>
<ol>
<li>PHP Temelleri</li>
<li>OOP (Object Oriented Programming) PHP</li>
<li>XAJAX Kütüphanesi, JQUERY, Codeigniter Framework</li>
<li>Veritabanları ve PHP, PDO kütüphanesi</li>
<li>Web Servisleri, JSON, XML, SOAP v.b.</li>
<li>Netbeans IDE ile proje yönetimi</li>
</ol>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.ugenet.com%2F2011%2F12%2Fphp-dersleri%2F&amp;title=PHP%20Dersleri" id="wpa2a_6">Paylaş</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ugenet.com/2011/12/php-dersleri/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>indirimsistemi.com yayında</title>
		<link>http://www.ugenet.com/2011/03/indirimsistemi-com-yayinda/</link>
		<comments>http://www.ugenet.com/2011/03/indirimsistemi-com-yayinda/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 13:04:48 +0000</pubDate>
		<dc:creator>Bahadır ÜGE</dc:creator>
				<category><![CDATA[Genel]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Proje]]></category>
		<category><![CDATA[fırsat]]></category>
		<category><![CDATA[fırsat sitesi]]></category>
		<category><![CDATA[frame]]></category>
		<category><![CDATA[indirim sistemi]]></category>
		<category><![CDATA[şehir fırsatı]]></category>
		<category><![CDATA[serenas]]></category>
		<category><![CDATA[serenas group]]></category>

		<guid isPermaLink="false">http://www.ugenet.com/?p=95</guid>
		<description><![CDATA[Çalıştığım şirket olan Serenas Group &#8211; Frame Yazılım ve Müh. Ltd. Şti adına geliştirmiş olduğum fırsat sitesi nihayet yayın hayatına geçti. Görsel tasarımını Cem Önder ve ekibimden Levent Acar&#8217;ın gerçekleştirdiği indirimsistemi farklı bir anlayış ile şehir fırsatlarını şehir fırsatçılarının hizmetine sunuyor. Facebook linki : http://www.facebook.com/indirimsistemi http://www.indirimsistemi.com]]></description>
			<content:encoded><![CDATA[<p>Çalıştığım şirket olan Serenas Group &#8211; Frame Yazılım ve Müh. Ltd. Şti adına geliştirmiş olduğum fırsat sitesi nihayet yayın hayatına geçti. Görsel tasarımını Cem Önder ve ekibimden Levent Acar&#8217;ın gerçekleştirdiği indirimsistemi farklı bir anlayış ile şehir fırsatlarını şehir fırsatçılarının hizmetine sunuyor.</p>
<p>Facebook linki : <a href=" http://www.facebook.com/indirimsistemi" target="_blank">http://www.facebook.com/indirimsistemi</a></p>
<p><a href="http://www.indirimsistemi.com">http://www.indirimsistemi.com</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.ugenet.com%2F2011%2F03%2Findirimsistemi-com-yayinda%2F&amp;title=indirimsistemi.com%20yay%C4%B1nda" id="wpa2a_8">Paylaş</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ugenet.com/2011/03/indirimsistemi-com-yayinda/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sayım ve Oturum sistemi desteği ile KGG &#8216; 2011&#8242;deyiz.</title>
		<link>http://www.ugenet.com/2011/02/sayim-ve-oturum-sistemi-destegi-ile-kgg-2011deyiz/</link>
		<comments>http://www.ugenet.com/2011/02/sayim-ve-oturum-sistemi-destegi-ile-kgg-2011deyiz/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 07:56:42 +0000</pubDate>
		<dc:creator>Bahadır ÜGE</dc:creator>
				<category><![CDATA[Duyuru / Haber]]></category>
		<category><![CDATA[Genel]]></category>
		<category><![CDATA[Kampüs Gelişim Günleri]]></category>
		<category><![CDATA[KGG]]></category>
		<category><![CDATA[KGG 2011]]></category>
		<category><![CDATA[Oturum Kayıt yazılımı]]></category>
		<category><![CDATA[Oturum Sayma]]></category>
		<category><![CDATA[Salonlar]]></category>
		<category><![CDATA[Sayım sistemleri]]></category>

		<guid isPermaLink="false">http://www.ugenet.com/?p=85</guid>
		<description><![CDATA[IEEE ODTÜ Öğrenci Kolu&#8217;nun bu sene 2-4 Mart 2011 &#8216;de 6.sını düzenleyeceği Kampüs Gelişim Günleri &#8217;11, yine çok kapsamlı bir şekilde hazırlanıyor. Her sene olduğu gibi yine öğrencilerin en çok merak ettiği, en çok ilgi gösterdiği konularla yine ODTÜ KKM&#8217;de. Misyonu öğrencilere maksimum fayda sağlamak olan KGG her üniversiteden her bölümden her sınıftan öğrenciye hitap [...]]]></description>
			<content:encoded><![CDATA[<div>
<p><a href="http://www.ugenet.com/wp-content/uploads/2011/02/metu_kurumsal.gif"><img class="alignleft size-full wp-image-86" style="float: left;" title="metu_kurumsal" src="http://www.ugenet.com/wp-content/uploads/2011/02/metu_kurumsal.gif" alt="" width="150" height="126" /></a>IEEE ODTÜ Öğrenci Kolu&#8217;nun bu sene 2-4 Mart 2011 &#8216;de 6.sını düzenleyeceği  Kampüs Gelişim Günleri &#8217;11, yine çok kapsamlı bir şekilde hazırlanıyor. Her sene  olduğu gibi yine öğrencilerin en çok merak ettiği, en çok ilgi gösterdiği  konularla yine ODTÜ KKM&#8217;de.</p>
<p>Misyonu öğrencilere maksimum fayda sağlamak  olan KGG her üniversiteden her bölümden her sınıftan öğrenciye hitap eden bir  içeriğe sahip. Her sene olduğu gibi bu sene de KGG öğrencilere birçok sektörü  üst düzey yöneticelerden öğrenme ve birçok teknolojiyi onları yaratan  insanlardan dinleme fırsatı sunuyor.</p>
<ul>
<li>Workshoplar</li>
<li> CEO forum</li>
<li> Son  teknolojiler</li>
<li> Özel eğitimler</li>
<li> Söyleşiler</li>
</ul>
<p>Detaylı bilgi için, resmi web sitesine bakabilirsiniz : <a href="http://www.kampusgelisimgunleri.com/" target="_blank">http://www.kampusgelisimgunleri.com/</a></p>
<p>Hepsini bir arada öğrencilere  sunacak ve en yüksek faydayı sağlayacaktır.</p>
<p><em>UGENET.com olarak, katılımcıların takibi, salon sayım sistemleri, kayıt işlemleri için gerekli online yazılım hizmetleri geçtiğimiz senelerde olduğu gibi bu sene de tarafımızdan yürütülecektir. Kendilerine başarılar dileriz.</em></p>
</div>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.ugenet.com%2F2011%2F02%2Fsayim-ve-oturum-sistemi-destegi-ile-kgg-2011deyiz%2F&amp;title=Say%C4%B1m%20ve%20Oturum%20sistemi%20deste%C4%9Fi%20ile%20KGG%20%E2%80%98%202011%E2%80%B2deyiz." id="wpa2a_10">Paylaş</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ugenet.com/2011/02/sayim-ve-oturum-sistemi-destegi-ile-kgg-2011deyiz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpMyAdmin ‘in zorlandığı yerler için EMS MySQL Manager</title>
		<link>http://www.ugenet.com/2010/06/phpmyadmin-in-zorlandigi-yerler-icin-ems-mysql-manager/</link>
		<comments>http://www.ugenet.com/2010/06/phpmyadmin-in-zorlandigi-yerler-icin-ems-mysql-manager/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 19:30:55 +0000</pubDate>
		<dc:creator>Bahadır ÜGE</dc:creator>
				<category><![CDATA[Duyuru / Haber]]></category>
		<category><![CDATA[Genel]]></category>
		<category><![CDATA[Genel SQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[EMS]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL Manager]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[tablo]]></category>
		<category><![CDATA[veritabanı]]></category>

		<guid isPermaLink="false">http://www.ugenet.com/w/?p=50</guid>
		<description><![CDATA[. Wndows tabanlı bir uygulama olan EMS MySQL Manager, kolay kullanımı, esnek ara&#231;ları, virtual olarak bir &#231;ok sorunu kolaylıkla halletmesi&#160; sayesinden web uygulamaları oluşturanların sağ kolu oluyor. Tabloları birbiriyle ilişkilendirip bu ilişki neticesini diagram olarak g&#246;rmek isteyenler i&#231;in virtual database diagram aracı, projelerinizin i&#231;inde kaybolmadan projeksiyon yapıp geleceği g&#246;rmenizi sağlıyor. phpMyAdmin &#252;zerinde SQL dili kullarak [...]]]></description>
			<content:encoded><![CDATA[<p>.<img style="float:left" src="http://sqlmanager.net/i/box/mysql/manager.gif" alt="EMS MySQL Manager" /></p>
<p>Wndows tabanlı bir uygulama olan EMS MySQL Manager, kolay kullanımı, esnek ara&ccedil;ları, virtual olarak bir &ccedil;ok sorunu kolaylıkla halletmesi&nbsp; sayesinden web uygulamaları oluşturanların sağ kolu oluyor.</p>
<p>Tabloları birbiriyle ilişkilendirip bu ilişki neticesini diagram olarak g&ouml;rmek isteyenler i&ccedil;in virtual database diagram aracı, projelerinizin i&ccedil;inde kaybolmadan projeksiyon yapıp geleceği g&ouml;rmenizi sağlıyor.</p>
<p>phpMyAdmin &uuml;zerinde SQL dili kullarak yarattığınız, trigger ve foreign keyleri sadece s&uuml;r&uuml;kle bırak şeklideki mouse hareketleri oluşturma yeteneği onu daha eşsiz kılıyor.</p>
<p>Sunucınıza SSH ile erişip virtual olarak hazırladığınız sorguları sunucu &uuml;zerinde &ccedil;alıştırma imkanı ise harika. Profesyonel MySQL veritabanı y&ouml;netimi i&ccedil;in bizzat kullanıyor ve tavsiye ediyoruz.</p>
<p>Data detaylı bilgi i&ccedil;in <a target="_blank" href="http://sqlmanager.net/en/products/mysql/manager/features">tıklayınız.</a></p>
<p>A. Bahadır &Uuml;GE</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.ugenet.com%2F2010%2F06%2Fphpmyadmin-in-zorlandigi-yerler-icin-ems-mysql-manager%2F&amp;title=phpMyAdmin%20%E2%80%98in%20zorland%C4%B1%C4%9F%C4%B1%20yerler%20i%C3%A7in%20EMS%20MySQL%20Manager" id="wpa2a_12">Paylaş</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ugenet.com/2010/06/phpmyadmin-in-zorlandigi-yerler-icin-ems-mysql-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>javascript ile 2 farklı formdaki bir alandan diğerine değer atama</title>
		<link>http://www.ugenet.com/2010/06/javascript-ile-2-farkli-formdaki-bir-alandan-digerine-deger-atama/</link>
		<comments>http://www.ugenet.com/2010/06/javascript-ile-2-farkli-formdaki-bir-alandan-digerine-deger-atama/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 19:28:30 +0000</pubDate>
		<dc:creator>Bahadır ÜGE</dc:creator>
				<category><![CDATA[Genel]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.ugenet.com/w/?p=46</guid>
		<description><![CDATA[Bazen iki farklı form üzerindeki değerlerin birbirine atanmasına ihtiyaç duyulabilir.&#160; Bunun için basit javascript kodu ile amacınıza ulaşabilirsiniz. Formlarınızı oluştururken mutlaka forma ve form elementlerine ID atamayı unutmayın.&#160; Bu ID&#39;lerin eşsiz (Unique) olmasına dikkat edin. Bir DOM kodunda ID&#39;ler asla çakışmamalıdır.&#160; Ben genelde forma verilen name (Ad) ile ID alanını aynı değerde tutmayı tercih ederim. [...]]]></description>
			<content:encoded><![CDATA[<p>Bazen iki farklı form üzerindeki değerlerin birbirine atanmasına ihtiyaç duyulabilir.&nbsp; Bunun için basit javascript kodu ile amacınıza ulaşabilirsiniz.</p>
<p>Formlarınızı oluştururken mutlaka forma ve form elementlerine ID atamayı unutmayın.&nbsp; Bu ID&#39;lerin eşsiz (Unique) olmasına dikkat edin. Bir DOM kodunda ID&#39;ler asla çakışmamalıdır.&nbsp; Ben genelde forma verilen name (Ad) ile ID alanını aynı değerde tutmayı tercih ederim.</p>
<p><span style="color: rgb(51, 153, 102);"><em>&lt;form method=&quot;post&quot; action=&quot;&quot; id=&quot;deneme1&quot; name=&quot;deneme1&quot;&gt;<br />&nbsp;&nbsp;&nbsp; &lt;input name=&quot;text1&quot; id=&quot;text1&quot; type=&quot;text&quot; /&gt;<br />&nbsp;&nbsp;&nbsp; &lt;input name=&quot;Submit1&quot; type=&quot;button&quot; value=&quot;submit&quot; onclick=&quot;bak(); return false;&quot; /&gt;<br />&lt;/form&gt;</em></span></p>
<p>&quot;deneme1&quot; adında bir form oluşturduk. 2 adet input mevcut bunlardan biri button diğeri text tipinde.&nbsp; text1 alanına girilen değeri onclick olayı ile bak() adlı bir javascript&#39;e gönderip, bunun &quot;deneme2&quot; formundaki &quot;text2&quot; input&#39;una değer olarak atanmasını sağlayacağız. </p>
<p><span style="color: rgb(51, 153, 102);"><em>&lt;form method=&quot;post&quot; action=&quot;&quot; id=&quot;deneme2&quot; name=&quot;deneme2&quot;&gt;<br />&nbsp;&nbsp;&nbsp; &lt;input name=&quot;text2&quot; id=&quot;text2&quot; type=&quot;text&quot; /&gt;<br />&lt;/form&gt;</em></span> </p>
<p>javascript ise ;</p>
<p><span style="color: rgb(51, 153, 102);"><em>&lt;script type=&quot;text/javascript&quot;&gt;<br />function bak()<br />{<br />document.forms[&#39;deneme2&#39;].text2.value = document.forms[&#39;deneme1&#39;].text1.value;<br />return;<br />}<br />&lt;/script&gt;</em></span></p>
<p>şeklinde olacak.</p>
<p class="style1"><strong>Sonuç :</strong></p>
<p class="style1"><img src="http://www.ugenet.com/images/javaornek1.jpg" border="0" alt="Java Örnek 1" />&nbsp;</p>
<p>Aynı işlemi aritmetik işlem uygulayarak örneklemenizi çoğaltabilirsiniz. Tüm Browser&#39;larda çalıştığını göreceksiniz.</p>
<p>İyi&nbsp; projelerinizde kullanmanız dileğiyle,<br />&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.ugenet.com%2F2010%2F06%2Fjavascript-ile-2-farkli-formdaki-bir-alandan-digerine-deger-atama%2F&amp;title=javascript%20ile%202%20farkl%C4%B1%20formdaki%20bir%20alandan%20di%C4%9Ferine%20de%C4%9Fer%20atama" id="wpa2a_14">Paylaş</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ugenet.com/2010/06/javascript-ile-2-farkli-formdaki-bir-alandan-digerine-deger-atama/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP, Xajax kütüphanesi ile CSS ve Stillerle oynamak.</title>
		<link>http://www.ugenet.com/2010/06/php-xajax-kutuphanesi-ile-css-ve-stillerle-oynamak/</link>
		<comments>http://www.ugenet.com/2010/06/php-xajax-kutuphanesi-ile-css-ve-stillerle-oynamak/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 19:27:22 +0000</pubDate>
		<dc:creator>Bahadır ÜGE</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[XAJAX]]></category>

		<guid isPermaLink="false">http://www.ugenet.com/w/?p=44</guid>
		<description><![CDATA[XAJAX, PHP ile geliştirilmiş bir AJAX kütüphanesidir. Javascript ile neredeyse hiç boğuşmadan PHP foksiyonlarının yetenekleri ile eşsiz uygulamalar geliştirilebilen bu kütüphaneyihttp://xajaxproject.org/ adresinden indirebilirsiniz. XAJAX Kütüphanesi ile&#160; CSS ve stillerde çalışmak adına aşağıdaki kodları incelemenizi tavsiye ediyorum.Burada dikkat edilmesi gereken husus stilleri assign ederken, javascript syntaxlarında olduğu gibi &#34;-&#34; tire kullanmadan, 2. kelimenin baş harfi birinci [...]]]></description>
			<content:encoded><![CDATA[<p>XAJAX, PHP ile geliştirilmiş bir AJAX kütüphanesidir. Javascript ile neredeyse hiç boğuşmadan PHP foksiyonlarının yetenekleri ile eşsiz uygulamalar geliştirilebilen bu kütüphaneyi<a href="http://xajaxproject.org/">http://xajaxproject.org/</a> adresinden indirebilirsiniz.</p>
<p>XAJAX Kütüphanesi ile&nbsp; CSS ve stillerde çalışmak adına aşağıdaki kodları incelemenizi tavsiye ediyorum.<br />Burada dikkat edilmesi gereken husus stilleri assign ederken, javascript syntaxlarında olduğu gibi &quot;-&quot; tire kullanmadan, 2. kelimenin baş harfi birinci kelimeye bitişik ve büyük harfle tanımlanmalıdır.</p>
<p>Bune göre aşağıdaki örneklere bakacak olursak;</p>
<p><strong>bakcground-color &#8211; backgroundColor,<br />font-wieght &#8211; fontWeight</strong> şeklinde yazılmıştır.</p>
<p><code><span style="color: #CCCCCC"><span style="color: #0000BB">&lt;?php&nbsp;<br /></span><span style="color: #FF8000">//&nbsp;xajax&nbsp;kütüphanesini&nbsp;include&nbsp;ediyoruz.<br /></span><span style="color: #007700">include(</span><span style="color: #DD0000">"config/xajax/xajax_core/xajax.inc.php"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$xajaxDeneme&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">xajax</span><span style="color: #007700">();&nbsp;</span><span style="color: #FF8000">//&nbsp;$xajaxDeneme&nbsp;adında&nbsp;bir&nbsp;xajax&nbsp;objesi&nbsp;oluşturuyoruz.</p>
<p>/*&nbsp;Değişik&nbsp;olaylar&nbsp;için&nbsp;oluşturduğumuz&nbsp;xajax<br />*&nbsp;&nbsp;fonksiyonlarını&nbsp;register&nbsp;ediyoruz.&nbsp;<br />*/<br /></span><span style="color: #0000BB">$xajaxDeneme</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">registerFunction</span><span style="color: #007700">(</span><span style="color: #DD0000">"arkaPlanRengiDegistir"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$xajaxDeneme</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">registerFunction</span><span style="color: #007700">(</span><span style="color: #DD0000">"textYazi"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$xajaxDeneme</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">registerFunction</span><span style="color: #007700">(</span><span style="color: #DD0000">"kalinYazi"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$xajaxDeneme</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">registerFunction</span><span style="color: #007700">(</span><span style="color: #DD0000">"punto20Yap"</span><span style="color: #007700">);</p>
<p></span><span style="color: #FF8000">/*<br />*&nbsp;Xajax&nbsp;ile&nbsp;oluşalabilecek&nbsp;hata&nbsp;v.b.&nbsp;<br />*&nbsp;gibi&nbsp;durumları&nbsp;izlemek&nbsp;için&nbsp;debug&nbsp;metodunu<br />*&nbsp;açıyoruz.<br />*&nbsp;false&nbsp;:&nbsp;pasif<br />*&nbsp;true&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;aktif<br />*/<br /></span><span style="color: #0000BB">$xajaxDeneme</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setFlag</span><span style="color: #007700">(</span><span style="color: #DD0000">"debug"</span><span style="color: #007700">,</span><span style="color: #0000BB">false</span><span style="color: #007700">);</p>
<p></span><span style="color: #FF8000">//&nbsp;Fonsiyonlar&nbsp;işleme&nbsp;alacak&nbsp;olan&nbsp;metodu&nbsp;çağıralım.<br /></span><span style="color: #0000BB">$xajaxDeneme</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">processRequest</span><span style="color: #007700">();</p>
<p>echo&nbsp;</span><span style="color: #DD0000">'&lt;html&gt;'</span><span style="color: #007700">;<br />echo&nbsp;</span><span style="color: #DD0000">'&lt;head&gt;'</span><span style="color: #007700">;<br /></span><span style="color: #FF8000">/*&nbsp;Xajax&nbsp;javascript&nbsp;dosylarınının&nbsp;oluşturulmasını&nbsp;sağlayalım.<br />*&nbsp;&nbsp;bu&nbsp;metodu&nbsp;&lt;body&gt;&nbsp;tag'i&nbsp;sonrasında&nbsp;veya&nbsp;<br />*&nbsp;&lt;/head&gt;&nbsp;tag'inden&nbsp;önce&nbsp;tanımlamak&nbsp;gerekir.<br />*/</p>
<p></span><span style="color: #0000BB">$xajaxDeneme</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">printJavascript</span><span style="color: #007700">(</span><span style="color: #DD0000">'config/xajax/'</span><span style="color: #007700">);&nbsp;<br />echo&nbsp;</span><span style="color: #DD0000">'&lt;/head&gt;'</span><span style="color: #007700">;<br />echo&nbsp;</span><span style="color: #DD0000">'&lt;body&gt;'</span><span style="color: #007700">;</p>
<p></span><span style="color: #FF8000">//&nbsp;Üzerinde&nbsp;işlem&nbsp;yapacağımız&nbsp;bir&nbsp;tag&nbsp;yaratıp&nbsp;ona&nbsp;bir&nbsp;id&nbsp;verdik&nbsp;<br /></span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">'&lt;div&nbsp;id="degisecekYazi"&gt;DENEME&nbsp;YAZISI&lt;/div&gt;'</span><span style="color: #007700">;<br />echo&nbsp;</span><span style="color: #DD0000">'&lt;p&gt;'</span><span style="color: #007700">;<br />echo&nbsp;</span><span style="color: #DD0000">'&lt;input&nbsp;type="button"&nbsp;value="KIRMIZI&nbsp;ARKA&nbsp;PLAN"&nbsp;onclick="xajax_arkaPlanRengiDegistir();&nbsp;return&nbsp;false;"&gt;'</span><span style="color: #007700">;<br />echo&nbsp;</span><span style="color: #DD0000">'&nbsp;-&nbsp;'</span><span style="color: #007700">;<br />echo&nbsp;</span><span style="color: #DD0000">'&lt;input&nbsp;type="button"&nbsp;value="SARI&nbsp;YAZI"&nbsp;onclick="xajax_textYazi();&nbsp;return&nbsp;false;"&gt;'</span><span style="color: #007700">;<br />echo&nbsp;</span><span style="color: #DD0000">'&nbsp;-&nbsp;'</span><span style="color: #007700">;<br />echo&nbsp;</span><span style="color: #DD0000">'&lt;input&nbsp;type="button"&nbsp;value="KALINYAZI"&nbsp;onclick="xajax_kalinYazi();&nbsp;return&nbsp;false;"&gt;'</span><span style="color: #007700">;<br />echo&nbsp;</span><span style="color: #DD0000">'&nbsp;-&nbsp;'</span><span style="color: #007700">;<br />echo&nbsp;</span><span style="color: #DD0000">'&lt;input&nbsp;type="button"&nbsp;value="20&nbsp;PT&nbsp;YAP"&nbsp;onclick="xajax_punto20Yap();&nbsp;return&nbsp;false;"&gt;'</span><span style="color: #007700">;<br />echo&nbsp;</span><span style="color: #DD0000">'&lt;/p&gt;'</span><span style="color: #007700">;<br />echo&nbsp;</span><span style="color: #DD0000">'&lt;/body&gt;'</span><span style="color: #007700">;<br />echo&nbsp;</span><span style="color: #DD0000">'&lt;/html&gt;'</span><span style="color: #007700">;</p>
<p></span><span style="color: #FF8000">/**<br />&nbsp;*&nbsp;Çağrıldığı&nbsp;zaman&nbsp;DIV'in&nbsp;arkaplanını&nbsp;kırmızı&nbsp;yapar<br />&nbsp;*<br />&nbsp;*&nbsp;@return&nbsp;XML<br />&nbsp;*/<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">arkaPlanRengiDegistir</span><span style="color: #007700">()<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objResponse&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">xajaxResponse</span><span style="color: #007700">();&nbsp;</span><span style="color: #FF8000">//&nbsp;Xajax&nbsp;Response&nbsp;oluşturuyoruz.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objResponse</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">assign</span><span style="color: #007700">(</span><span style="color: #DD0000">"degisecekYazi"</span><span style="color: #007700">,</span><span style="color: #DD0000">"style.backgroundColor"</span><span style="color: #007700">,</span><span style="color: #DD0000">"red"</span><span style="color: #007700">);&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">$objResponse</span><span style="color: #007700">;<br />}</p>
<p></span><span style="color: #FF8000">/**<br />&nbsp;*&nbsp;Çağrıldığı&nbsp;zaman&nbsp;DIV'in&nbsp;içindeki&nbsp;text'i&nbsp;sar&nbsp;yapar<br />&nbsp;*<br />&nbsp;*&nbsp;@return&nbsp;XML<br />&nbsp;*/<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">textYazi</span><span style="color: #007700">()<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objResponse&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">xajaxResponse</span><span style="color: #007700">();&nbsp;</span><span style="color: #FF8000">//&nbsp;Xajax&nbsp;Response&nbsp;oluşturuyoruz.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objResponse</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">assign</span><span style="color: #007700">(</span><span style="color: #DD0000">"degisecekYazi"</span><span style="color: #007700">,</span><span style="color: #DD0000">"style.color"</span><span style="color: #007700">,</span><span style="color: #DD0000">"yellow"</span><span style="color: #007700">);&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">$objResponse</span><span style="color: #007700">;<br />}</p>
<p></span><span style="color: #FF8000">/**<br />&nbsp;*&nbsp;Çağrıldığı&nbsp;zaman&nbsp;DIV'in&nbsp;içindeki&nbsp;text'i&nbsp;kalın&nbsp;yazar<br />&nbsp;*<br />&nbsp;*&nbsp;@return&nbsp;XML<br />&nbsp;*/<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">kalinYazi</span><span style="color: #007700">()<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objResponse&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">xajaxResponse</span><span style="color: #007700">();&nbsp;</span><span style="color: #FF8000">//&nbsp;Xajax&nbsp;Response&nbsp;oluşturuyoruz.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objResponse</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">assign</span><span style="color: #007700">(</span><span style="color: #DD0000">"degisecekYazi"</span><span style="color: #007700">,</span><span style="color: #DD0000">"style.fontWeight"</span><span style="color: #007700">,</span><span style="color: #DD0000">"bold"</span><span style="color: #007700">);&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">$objResponse</span><span style="color: #007700">;<br />}</p>
<p></span><span style="color: #FF8000">/**<br />&nbsp;*&nbsp;Çağrıldığı&nbsp;zaman&nbsp;DIV'in&nbsp;içindeki&nbsp;text'i&nbsp;20&nbsp;punto&nbsp;yazar<br />&nbsp;*<br />&nbsp;*&nbsp;@return&nbsp;XML<br />&nbsp;*/<br /></span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">punto20Yap</span><span style="color: #007700">()<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objResponse&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">xajaxResponse</span><span style="color: #007700">();&nbsp;</span><span style="color: #FF8000">//&nbsp;Xajax&nbsp;Response&nbsp;oluşturuyoruz.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objResponse</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">assign</span><span style="color: #007700">(</span><span style="color: #DD0000">"degisecekYazi"</span><span style="color: #007700">,</span><span style="color: #DD0000">"style.fontSize"</span><span style="color: #007700">,</span><span style="color: #DD0000">"20pt"</span><span style="color: #007700">);&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">$objResponse</span><span style="color: #007700">;<br />}<br /></span><span style="color: #0000BB">?&gt;</span></span></code></p>
<p>şayet varolan bir css class&#39;ını bir ID atamak gerekiyorsa bunun için </p>
<p><code><span style="color: #CCCCCC"><span style="color: #FF8000">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objResponse</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">assign</span><span style="color: #007700">(</span><span style="color: #DD0000">"degisecekYazi"</span><span style="color: #007700">,</span><span style="color: #DD0000">"className&quot;</span><span style="color: #007700">,</span><span style="color: #DD0000">"denemesitili&quot;</span><span style="color: #007700">);&nbsp;</span></span></code></p>
<p>şeklinde bir tanım yapmak gerekir. Buradan da anlaşılacağı üzere&nbsp; attribute<strong>class</strong>  olarak değil <strong>className</strong> olarak tanımlanmıştır.</p>
<p>İyi kodlarda kullanmanız dileğiyle.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.ugenet.com%2F2010%2F06%2Fphp-xajax-kutuphanesi-ile-css-ve-stillerle-oynamak%2F&amp;title=PHP%2C%20Xajax%20k%C3%BCt%C3%BCphanesi%20ile%20CSS%20ve%20Stillerle%20oynamak." id="wpa2a_16">Paylaş</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ugenet.com/2010/06/php-xajax-kutuphanesi-ile-css-ve-stillerle-oynamak/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xajax ile Form Validasyonu ( Xajax Form Validation)</title>
		<link>http://www.ugenet.com/2010/06/xajax-ile-form-validasyonu-xajax-form-validation/</link>
		<comments>http://www.ugenet.com/2010/06/xajax-ile-form-validasyonu-xajax-form-validation/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 19:22:17 +0000</pubDate>
		<dc:creator>Bahadır ÜGE</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[XAJAX]]></category>

		<guid isPermaLink="false">http://www.ugenet.com/w/?p=38</guid>
		<description><![CDATA[XAJAX ile PHP&#8217;nin tüm control structure&#8217;larını kullanıp form doğrulamak mümkün. Aşağıdaki kısa tanımlara bakarak bunu kolaylıkla yapabilirsiniz. Daha önceki makaleleri inceleyerek XAJAX ile ilgili temel bilgileri edinip bu makaleyi ona göre kullanmanızı tavsiye ederim. &#60;?php ini_set("display_errors","on"); error_reporting(6143); include("xajax/xajax_core/xajax.inc.php"); $xajax = new xajax(); $xajax->setFlag("debug",true); $xajax->registerFunction("formKontrol"); $xajax->processRequest(); $xajax->printJavascript("xajax/"); ?> &#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> [...]]]></description>
			<content:encoded><![CDATA[<p>XAJAX ile PHP&#8217;nin tüm control structure&#8217;larını kullanıp form doğrulamak mümkün. Aşağıdaki kısa tanımlara bakarak bunu kolaylıkla yapabilirsiniz.</p>
<p>Daha önceki makaleleri inceleyerek XAJAX ile ilgili temel bilgileri edinip bu makaleyi ona göre kullanmanızı tavsiye ederim.</p>
<p><code>
<pre style='color:#000000;background:#ffffff;'><span style='color:#a65700; background:#ffffe8; '>&lt;?php</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#400000; background:#ffffe8; '>ini_set</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#0000e6; background:#ffffe8; '>"display_errors"</span><span style='color:#808030; background:#ffffe8; '>,</span><span style='color:#0000e6; background:#ffffe8; '>"on"</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#400000; background:#ffffe8; '>error_reporting</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#008c00; background:#ffffe8; '>6143</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#800000; background:#ffffe8; font-weight:bold; '>include</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#0000e6; background:#ffffe8; '>"xajax/xajax_core/xajax.inc.php"</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>$xajax</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#808030; background:#ffffe8; '>=</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#800000; background:#ffffe8; font-weight:bold; '>new</span><span style='color:#000000; background:#ffffe8; '> xajax</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>$xajax</span><span style='color:#808030; background:#ffffe8; '>-</span><span style='color:#808030; background:#ffffe8; '>></span><span style='color:#000000; background:#ffffe8; '>setFlag</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#0000e6; background:#ffffe8; '>"debug"</span><span style='color:#808030; background:#ffffe8; '>,</span><span style='color:#800000; background:#ffffe8; font-weight:bold; '>true</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>$xajax</span><span style='color:#808030; background:#ffffe8; '>-</span><span style='color:#808030; background:#ffffe8; '>></span><span style='color:#000000; background:#ffffe8; '>registerFunction</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#0000e6; background:#ffffe8; '>"formKontrol"</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>$xajax</span><span style='color:#808030; background:#ffffe8; '>-</span><span style='color:#808030; background:#ffffe8; '>></span><span style='color:#000000; background:#ffffe8; '>processRequest</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>$xajax</span><span style='color:#808030; background:#ffffe8; '>-</span><span style='color:#808030; background:#ffffe8; '>></span><span style='color:#000000; background:#ffffe8; '>printJavascript</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#0000e6; background:#ffffe8; '>"xajax/"</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#a65700; background:#ffffe8; '>?></span>
<span style='color:#004a43; '>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "</span><span style='color:#5555dd; '>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</span><span style='color:#004a43; '>"></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>html</span><span style='color:#274796; '> xmlns</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"http://www.w3.org/1999/xhtml"</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>head</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>meta</span><span style='color:#274796; '> </span><span style='color:#074726; '>http-equiv</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"Content-Language"</span><span style='color:#274796; '> </span><span style='color:#074726; '>content</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"tr"</span><span style='color:#274796; '> </span><span style='color:#a65700; '>/></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>meta</span><span style='color:#274796; '> </span><span style='color:#074726; '>http-equiv</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"Content-Type"</span><span style='color:#274796; '> </span><span style='color:#074726; '>content</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"text/html; charset=utf-8"</span><span style='color:#274796; '> </span><span style='color:#a65700; '>/></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>title</span><span style='color:#a65700; '>></span>XAJAX FORM VALIDATION BY A<span style='color:#008c00; '>.</span> BAHADIR UGE<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>title</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>head</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>body</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>form</span><span style='color:#274796; '> </span><span style='color:#074726; '>method</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"post"</span><span style='color:#274796; '> </span><span style='color:#074726; '>name</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"userLoginForm"</span><span style='color:#274796; '> </span><span style='color:#074726; '>id</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"userLoginForm"</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>fieldset</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>legend</span><span style='color:#a65700; '>></span>User Login<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>legend</span><span style='color:#a65700; '>></span><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>br</span><span style='color:#a65700; '>/></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>label</span><span style='color:#a65700; '>></span>Username :<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>label</span><span style='color:#a65700; '>></span><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>br</span><span style='color:#274796; '> </span><span style='color:#a65700; '>/></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>input</span><span style='color:#274796; '> </span><span style='color:#074726; '>name</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"username"</span><span style='color:#274796; '> </span><span style='color:#074726; '>id</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"username"</span><span style='color:#274796; '> </span><span style='color:#074726; '>type</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"text"</span><span style='color:#274796; '> </span><span style='color:#a65700; '>/></span><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>br</span><span style='color:#274796; '> </span><span style='color:#a65700; '>/></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>label</span><span style='color:#a65700; '>></span>Password :<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>label</span><span style='color:#a65700; '>></span><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>br</span><span style='color:#274796; '> </span><span style='color:#a65700; '>/></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>input</span><span style='color:#274796; '> </span><span style='color:#074726; '>name</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"password"</span><span style='color:#274796; '> </span><span style='color:#074726; '>id</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"password"</span><span style='color:#274796; '> </span><span style='color:#074726; '>type</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"password"</span><span style='color:#274796; '> </span><span style='color:#a65700; '>/></span><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>br</span><span style='color:#274796; '> </span><span style='color:#a65700; '>/></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>br</span><span style='color:#274796; '> </span><span style='color:#a65700; '>/></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>input</span><span style='color:#274796; '> </span><span style='color:#074726; '>type</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"button"</span><span style='color:#274796; '> </span><span style='color:#074726; '>value</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"Giriş"</span><span style='color:#274796; '> </span><span style='color:#074726; '>onclick</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"xajax_formKontrol(xajax.getFormValues('userLoginForm')); return false;"</span><span style='color:#a65700; '>/></span> <span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>fieldset</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>form</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>body</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>html</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; background:#ffffe8; '>&lt;?php</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#800000; background:#ffffe8; font-weight:bold; '>function</span><span style='color:#000000; background:#ffffe8; '> formKontrol</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#000000; background:#ffffe8; '>$formData</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#800080; background:#ffffe8; '>{</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#000000; background:#ffffe8; '>$objResponse</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#808030; background:#ffffe8; '>=</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#800000; background:#ffffe8; font-weight:bold; '>new</span><span style='color:#000000; background:#ffffe8; '> xajaxResponse</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800000; background:#ffffe8; font-weight:bold; '>if</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#800000; background:#ffffe8; font-weight:bold; '>isset</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#000000; background:#ffffe8; '>$formData</span><span style='color:#808030; background:#ffffe8; '>[</span><span style='color:#0000e6; background:#ffffe8; '>"username"</span><span style='color:#808030; background:#ffffe8; '>]</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#696969; background:#ffffe8; '>// $formdata dizisinde "username" elemanı varmı kontrol ediliyor.</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800080; background:#ffffe8; '>{</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#696969; background:#ffffe8; '>/* Gelen username içeriğinin boş yada sayısal olup olmadığı kontrol ediliyor.</span>
<span style='color:#696969; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Siz burada gelen değerin varlığını veritabanından bile sorgulayabilir,</span>
<span style='color:#696969; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;bu kullanıcı adının var olup olmadığını öğrenebilirsiniz. Ya da</span>
<span style='color:#696969; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;istediğiniz koşulu, yani size uyan koşulu  yazabilirsiniz.</span>
<span style='color:#696969; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;*/</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800000; background:#ffffe8; font-weight:bold; '>if</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#400000; background:#ffffe8; '>trim</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#000000; background:#ffffe8; '>$formData</span><span style='color:#808030; background:#ffffe8; '>[</span><span style='color:#0000e6; background:#ffffe8; '>"username"</span><span style='color:#808030; background:#ffffe8; '>]</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#808030; background:#ffffe8; '>=</span><span style='color:#808030; background:#ffffe8; '>=</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#0000e6; background:#ffffe8; '>''</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#808030; background:#ffffe8; '>|</span><span style='color:#808030; background:#ffffe8; '>|</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#400000; background:#ffffe8; '>is_numeric</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#000000; background:#ffffe8; '>$formData</span><span style='color:#808030; background:#ffffe8; '>[</span><span style='color:#0000e6; background:#ffffe8; '>"username"</span><span style='color:#808030; background:#ffffe8; '>]</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800080; background:#ffffe8; '>{</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#696969; background:#ffffe8; '>// Olumsuz durumda ekrana hata mesajı yazdırılıyor ve forma geri dönülüyor.</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#000000; background:#ffffe8; '>$objResponse</span><span style='color:#808030; background:#ffffe8; '>-</span><span style='color:#808030; background:#ffffe8; '>></span><span style='color:#000000; background:#ffffe8; '>alert</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#0000e6; background:#ffffe8; '>"Username alanı boş yada sayısal değer içeremez !"</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#000000; background:#ffffe8; '>$objResponse</span><span style='color:#808030; background:#ffffe8; '>-</span><span style='color:#808030; background:#ffffe8; '>></span><span style='color:#000000; background:#ffffe8; '>script</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#0000e6; background:#ffffe8; '>"document.forms['userLoginForm'].username.select();"</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800000; background:#ffffe8; font-weight:bold; '>return</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#000000; background:#ffffe8; '>$objResponse</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800080; background:#ffffe8; '>}</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800080; background:#ffffe8; '>}</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800000; background:#ffffe8; font-weight:bold; '>else</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800080; background:#ffffe8; '>{</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#000000; background:#ffffe8; '>$objResponse</span><span style='color:#808030; background:#ffffe8; '>-</span><span style='color:#808030; background:#ffffe8; '>></span><span style='color:#000000; background:#ffffe8; '>alert</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#0000e6; background:#ffffe8; '>"Username değeri boş"</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800000; background:#ffffe8; font-weight:bold; '>return</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#000000; background:#ffffe8; '>$objResponse</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800080; background:#ffffe8; '>}</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800000; background:#ffffe8; font-weight:bold; '>if</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#800000; background:#ffffe8; font-weight:bold; '>isset</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#000000; background:#ffffe8; '>$formData</span><span style='color:#808030; background:#ffffe8; '>[</span><span style='color:#0000e6; background:#ffffe8; '>"password"</span><span style='color:#808030; background:#ffffe8; '>]</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#696969; background:#ffffe8; '>// $formdata dizisinde "password" elemanı varmı kontrol ediliyor.</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800080; background:#ffffe8; '>{</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#696969; background:#ffffe8; '>// Username için yapılan tanımların tamamı burası içinde geçerli.</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800000; background:#ffffe8; font-weight:bold; '>if</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#400000; background:#ffffe8; '>trim</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#000000; background:#ffffe8; '>$formData</span><span style='color:#808030; background:#ffffe8; '>[</span><span style='color:#0000e6; background:#ffffe8; '>"password"</span><span style='color:#808030; background:#ffffe8; '>]</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#808030; background:#ffffe8; '>=</span><span style='color:#808030; background:#ffffe8; '>=</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#0000e6; background:#ffffe8; '>''</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#808030; background:#ffffe8; '>|</span><span style='color:#808030; background:#ffffe8; '>|</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#400000; background:#ffffe8; '>is_numeric</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#000000; background:#ffffe8; '>$formData</span><span style='color:#808030; background:#ffffe8; '>[</span><span style='color:#0000e6; background:#ffffe8; '>"password"</span><span style='color:#808030; background:#ffffe8; '>]</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800080; background:#ffffe8; '>{</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#696969; background:#ffffe8; '>// Olumsuz durumda ekrana hata mesajı yazdırılıyor ve forma geri dönülüyor.</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#000000; background:#ffffe8; '>$objResponse</span><span style='color:#808030; background:#ffffe8; '>-</span><span style='color:#808030; background:#ffffe8; '>></span><span style='color:#000000; background:#ffffe8; '>alert</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#0000e6; background:#ffffe8; '>"Password alanı boş yada sayısal değer içeremez !"</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#000000; background:#ffffe8; '>$objResponse</span><span style='color:#808030; background:#ffffe8; '>-</span><span style='color:#808030; background:#ffffe8; '>></span><span style='color:#000000; background:#ffffe8; '>script</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#0000e6; background:#ffffe8; '>"document.forms['userLoginForm'].password.select();"</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800000; background:#ffffe8; font-weight:bold; '>return</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#000000; background:#ffffe8; '>$objResponse</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800080; background:#ffffe8; '>}</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800080; background:#ffffe8; '>}</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800000; background:#ffffe8; font-weight:bold; '>else</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800080; background:#ffffe8; '>{</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#000000; background:#ffffe8; '>$objResponse</span><span style='color:#808030; background:#ffffe8; '>-</span><span style='color:#808030; background:#ffffe8; '>></span><span style='color:#000000; background:#ffffe8; '>alert</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#0000e6; background:#ffffe8; '>"Password değeri boş"</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800000; background:#ffffe8; font-weight:bold; '>return</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#000000; background:#ffffe8; '>$objResponse</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800080; background:#ffffe8; '>}</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#696969; background:#ffffe8; '>/* Her iki koşulun karşılanması durumunda</span>
<span style='color:#696969; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;buraya istediğiniz değeri yazdırabilir, istediğiniz işlemi yaptırabilirsiniz.</span>
<span style='color:#696969; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;Loginin olumlu olması durumnda session değerlerini oluşturup,</span>
<span style='color:#696969; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;login istenen sayfaya $objResponse->redirect("URL"); methodu ile gönderim yapabilirsiniz.</span>
<span style='color:#696969; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;*/</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#000000; background:#ffffe8; '>$objResponse</span><span style='color:#808030; background:#ffffe8; '>-</span><span style='color:#808030; background:#ffffe8; '>></span><span style='color:#000000; background:#ffffe8; '>alert</span><span style='color:#808030; background:#ffffe8; '>(</span><span style='color:#0000e6; background:#ffffe8; '>"Değerler doğru olarak girildi"</span><span style='color:#808030; background:#ffffe8; '>)</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#000000; background:#ffffe8; '>&#xa0;&#xa0;&#xa0;&#xa0;</span><span style='color:#800000; background:#ffffe8; font-weight:bold; '>return</span><span style='color:#000000; background:#ffffe8; '> </span><span style='color:#000000; background:#ffffe8; '>$objResponse</span><span style='color:#800080; background:#ffffe8; '>;</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#800080; background:#ffffe8; '>}</span><span style='color:#000000; background:#ffffe8; '></span>
<span style='color:#a65700; background:#ffffe8; '>?></span>
</pre>
<p></code>
<p>Detaylı sorularınız için aşağıdaki formu doldurup, sorularınızı yöneltebilirsiniz. İyi günlerde kullanmanız dileğiyle</p>
<p><strong>A. Bahadır ÜGE</strong></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.ugenet.com%2F2010%2F06%2Fxajax-ile-form-validasyonu-xajax-form-validation%2F&amp;title=Xajax%20ile%20Form%20Validasyonu%20%28%20Xajax%20Form%20Validation%29" id="wpa2a_18">Paylaş</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ugenet.com/2010/06/xajax-ile-form-validasyonu-xajax-form-validation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP ‘de veritabanı için PDO sürücüsünü öneriyoruz.</title>
		<link>http://www.ugenet.com/2010/04/php-de-veritabani-icin-pdo-surucusunu-oneriyoruz/</link>
		<comments>http://www.ugenet.com/2010/04/php-de-veritabani-icin-pdo-surucusunu-oneriyoruz/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 16:07:40 +0000</pubDate>
		<dc:creator>Bahadır ÜGE</dc:creator>
				<category><![CDATA[Genel SQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.ugenet.com/w/?p=30</guid>
		<description><![CDATA[PDO &#39;PHP Data Object&#39; (PHP Data Nesneleri) kısaltmasından oluşmuş, PHP kodları ile veritabanlarına erişmek için hafif ve tutarlı bir arabirim tanımıdır. PDO arayüzü, işlevleri olarak her veritabanı sürücüsüne özgü sıradan eklenti, veritabanına özgü özellikleri açığa çıkarabilir. Bir çok veritabanına, aynı PDO metotlarını kullanarak erişebilme şansınızı size sunar. PDO özelliğini kullanabilmek için php.ini &#39;de PDO sürücüsünü [...]]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://tr.php.net/manual/en/book.pdo.php">PDO</a> &#39;PHP Data Object&#39; (PHP Data Nesneleri) kısaltmasından oluşmuş, PHP kodları ile veritabanlarına erişmek için hafif ve tutarlı bir arabirim tanımıdır.</p>
<p>PDO arayüzü, işlevleri olarak her veritabanı sürücüsüne özgü sıradan eklenti, veritabanına özgü özellikleri açığa çıkarabilir.</p>
<p>Bir çok veritabanına, aynı PDO metotlarını kullanarak erişebilme şansınızı size sunar. PDO özelliğini kullanabilmek için php.ini &#39;de PDO sürücüsünü aktif hale getirmiş olmanız gerekir. </p>
<p><img alt="PDO " src="http://www.ugenet.com/images/pdo.gif" width="179" height="186" style="float:left;padding-right:5px;" />PDO sürücü ile <a target="_blank" href="http://www.google.com.tr/aclk?sa=L&amp;ai=CalP5sJ3NS_bRPMOj_gal77XgA9jS3cYBioK2ohGqyMsGCAAQASC2VFCk88u6______8BYJnmnYaAIcgBAakCp9h1bN9-pj6qBBxP0Ols-5oFD8aBD62qpBO9UUgIEKGEBzRm0oBigAWQTg&amp;sig=AGiWqtziSjAvhXWhMiLtJ0K2vTjP2c39yQ&amp;q=http://www.microsoft.com/everybodysbusiness/tr/tr/products/sql-server-2008.aspx%3FWT.mc_id%3DSEARCH%26WT.srch%3D1">MS SQL Server</a>, <a target="_blank" href="http://www.firebirdsql.org/">Firebird/Interbase</a>,<a target="_blank" href="http://www.ibm.com/software/data/informix/">IBM, Informix,</a> <a target="_blank" href="http://www.mysql.com/">MySQL</a>,<a target="_blank" href="http://www.oracle.com/">Oracle</a>,<a target="_blank" href="http://www.ibm.com/db2">ODBC and DB2,</a><a target="_blank" href="http://www.postgresql.org/">PostgreSQL</a>,<a target="_blank" href="http://sqlite.org/">SQLite</a>,<a target="_blank" href="http://www.4d.com/">4D</a> veritabanlarına bağlanabilir ve yönetebilirsiniz. Bu sayede SQL standartlarına sadık kalarak, kod üzerinde bağlantı ayaları haricinde bir değişiklik yapmadan veritabanı dönüşümü yapmanız mümkün olur.</p>
<p>PDO bir veritabanı soyutlaması sağlamaz; SQL deyimini yeniden yazılması ya da olmayan özelliklerin tanımlanmasını sağlamaz.</p>
<p>PHP 5.0 &#39;ın<a target="_blank" href="http://tr.wikipedia.org/wiki/Nesne_Yönelimli_Programlama">Object Oriented</a> (Nesne Yönelimli) mimarisi ile doğmuştur. PHP 5.1 ile PDO sürücüsüyle, PHP 5.0 ile de PECL uzantısı olarak kullanılır. Object Oriented menşeli olduğundan daha önceki sürümler ile çalışmaz.</p>
<p>Bir sonraki makale&#39;de PDO ile örnek bir MySQL veritabanı sorgulayacağız.</p>
<p><strong>A. Bahadır ÜGE</strong></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.ugenet.com%2F2010%2F04%2Fphp-de-veritabani-icin-pdo-surucusunu-oneriyoruz%2F&amp;title=PHP%20%E2%80%98de%20veritaban%C4%B1%20i%C3%A7in%20PDO%20s%C3%BCr%C3%BCc%C3%BCs%C3%BCn%C3%BC%20%C3%B6neriyoruz." id="wpa2a_20">Paylaş</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.ugenet.com/2010/04/php-de-veritabani-icin-pdo-surucusunu-oneriyoruz/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

