php

Debian 5'e Memcached Servisi ve PHP Memcache PECL Eklentisi Kurulum

Debian 5 memcahed servisinin yüklenmesi

  1. #apt-get install memcached

Debian 5 PHP memcache PECL eklentisi yüklenmesi

  1. # apt-get install autoconf
  2. # cd /usr/local/src
  3. # wget http://pecl.php.net/get/memcache-2.2.5.tgz
  4. # tar zxvf memcache-2.2.5.tgz
  5. # cd memcache-2.2.5
  6. # phpize
  7. Configuring for:
  8. PHP Api Version: 20041225
  9. Zend Module Api No: 20060613
  10. Zend Extension Api No: 220060519
  11. # ./configure
  12. # make
  13. # make install
  14. Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/

TinyMCE HTML Metin Editörü Kullanımı

Öncelikle, basit bir html formu post eden ve php ile post edilen datayı okuyabilen bir yapımızın hazır olması gerekir. Çok basit olarak aşağıda biri html formu içeren diğeri php kodlarını içeren, iki adet örnek dosyayı görüyoruz.

form.html:

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  5. <title>TinyMCE HTML Metin Editörü Kullanımı</title>
  6. </head>

Syndicate content