cvs: phpdoc /tr/features cookies.xml images.xml

From: Date: Sat, 08 Dec 2001 03:30:37 +0000
Subject: cvs: phpdoc /tr/features cookies.xml images.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969339551@lists.php.net to get a copy of this message
tpug Fri Dec 7 22:30:37 2001 EDT Added files: /phpdoc/tr/features cookies.xml images.xml Log: complete translation, may be rechecked against english for changes Index: phpdoc/tr/features/cookies.xml +++ phpdoc/tr/features/cookies.xml <!-- $Revision: 1.1 $ --> <chapter id="features.cookies"> <title>Çerezler</title> <para> PHP, net bir &scedil;ekilde HTTP çerezlerini desteklemektedir. Çerezler, sitenizin ziyaretçilerinin taray&inodot;c&inodot;s&inodot;nda bilgi depolamak ve bu bilgiyi kullanarak tekrar gelen ziyaretçileri tan&inodot;mak için kullan&inodot;lan bir yöntemdir. Bu yöntemi kullanmak için <function>setcookie</function> fonksiyonu kullanabilirsiniz. Çerezler, HTTP ba&scedil;l&inodot;klar&inodot;n&inodot;n bir bölümüdür, dolay&inodot;s&inodot; ile <function>setcookie</function> fonksiyonu, taray&inodot;c&inodot;ya herhangi bir html ç&inodot;kt&inodot;s&inodot; gönderilmeden önce kullan&inodot;lmal&inodot;d&inodot;r. Bu s&inodot;n&inodot;rlama, <function>ba&scedil;l&inodot;k</function> fonksiyonu ile ayn&inodot;d&inodot;r. <para> Taray&inodot;c&inodot;dan sunucuya gönderilen bir çerez, GET veya POST yönteminde kullan&inodot;ld&inodot;&gbreve;&inodot; gibi, otomatik olarak PHP de&gbreve;i&scedil;kenlerine dönü&scedil;türülür. E&gbreve;er bir çerez ile birden çok de&gbreve;er saklamak istiyorsan&inodot;z, çerez ad&inodot;na <emphasis>[]</emphasis> eklemek yeterli olacakt&inodot;r. Detayl&inodot; bilgi için <function>setcookie</function> fonksiyonunu inceleyiniz.</para> </chapter> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: --> Index: phpdoc/tr/features/images.xml +++ phpdoc/tr/features/images.xml <!-- $Revision: 1.1 $ --> <chapter id="features.images"> <title>Resimlerin yarat&inodot;lmas&inodot; ve üzerinde oynanmas&inodot;</title> <simpara> PHP, sadece HTML olu&scedil;turmakla s&inodot;n&inodot;rl&inodot; de&gbreve;ildir. gif, PHP, png, jpg, wbmp, ve xpm gibi de&gbreve;i&scedil;ik formatlarda resim dosyalar&inodot; olu&scedil;turmak ve onlar&inodot; yönetmek içinde kullan&inodot;labilir. Daha da fazlas&inodot;, PHP resimleri do&gbreve;rudan taray&inodot;c&inodot;ya gönderebilmektedir. Tüm bunlar&inodot; yapabilmek için, PHP, GD kütüphanesi ile birlikte derlenmi&scedil; olmas&inodot; gerekmektedir. Kullanaca&gbreve;&inodot;n&inodot;z resim format&inodot;na ba&gbreve;l&inodot; olarak, PHP ve GD ba&scedil;ka kütüphanelerede ihtiyaç duyabilir. GD kütüphanesi, 1.6 sürümüyle gif format&inodot;n&inodot; desteklemeyi durdurmu&scedil;tur. </simpara> <para> <example> <title>PHP ile PNG Olu&scedil;turulmas&inodot;</title> <programlisting role="php"> &lt;?php Header("Content-type: image/png"); $string=implode($argv," "); $im = imageCreateFromPng("images/button1.png"); $orange = ImageColorAllocate($im, 220, 210, 60); $px = (imagesx($im)-7.5*strlen($string))/2; ImageString($im,3,$px,9,$string,$orange); ImagePng($im); ImageDestroy($im); ?> </programlisting> </example> Bu örnek, &lt;img src=&quot;button.php?text&quot;&gt; etiketi ile herhangi bir sayfaya eklenebilir. Yukar&inodot;daki button.php program&inodot;, &quot;text&quot; de&gbreve;i&scedil;kenini, bu örnekte oldu&gbreve;u gibi &quot;images/button1.png&quot; alt resmin üzerine yerle&scedil;tirip sonucu taray&inodot;c&inodot;ya gönderir. Bu, resmin üzerindeki yaz&inodot;y&inodot; de&gbreve;i&scedil;tirmek istedi&gbreve;inizde, herseferinde yeni bir resim çizmemek için oldukça kullan&inodot;&scedil;l&inodot; bir yoldur. Bu yöntemle dinamik olarak olu&scedil;turulur. </para> </chapter> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: -->

« previous php.doc (#969339551) next »