http://wirapongc.blogspot.com/

เนื้อหา

- แก้ไขการเพิ่มผู้ขนส่งไม่ได้ ใน virtuemart

- เว็บที่ให้เราโปรโมท blog เพื่อทำ seo

- การใช้ gmail smtp ใน joomla 1.5

- ความเข้าใจผิดบางประการเกี่ยวกับ Joomla!

- โมดูลเก็บสถิติผู้เยี่ยมชมเว็บไซต์ Vinaora Visitors Counter

 

 

 

 

Getting start Zend Framework

posted on 06 Dec 2008 23:18 by junglai  in Php

สิ่งที่ Zend Framework จำเป็นต้องใช้

  • PHP 5.1.4 หรือมากกว่าก็ได้
  • MySql 4.0+
  • Web Server ที่รองรับ mod_rewrite functionality     

เริ่มต้น Zend Framework   

ขั้นตอนการติดตั้ง

  • ติดตั้ง AppServe ก่อน

             c:/AppServ

                           /Apache2.2

                           /php5

                           /MySQL

                           /www

  • Upzip ไฟล์ zf_tutorial-150.zip ไปไว้ใน Folder www ที่ลง AppServ ไว้

             c:/AppServ

                           ...

                           /www

                                   /zf-tutorial-150

                                              /application

                                              /public

                                              /library

  • Copy Folder Zend จาก ZendFramework-version/library ไปไว้ที่ /zf-tutorial-150/library
  • สร้าง Database ตาม ไฟล์ sbschema.sql จาก /zf-tutorial-150/application/dbschema.sql
  • แก้ไข Config Database ที่ /zf-tutorial-150/application/config.ini

ไฟล์ : config.ini

[general]

db.adapter = PDO_MYSQL

db.params.host = localhost

db.params.username = root  (username ที่ใช้ login เข้าสู่ database)

db.params.password = 1234 (password ที่ใช้ login เข้าสู่ database)

db.params.dbname = zf_test (database name)            

  • แก้ไฟล์ httpd.conf ที่ /AppServ/Apache2.2/conf/httpd.conf ให้หาบรรทัดที่เขียนว่า #LoadModule rewrite_module modules/mod_rewrite.so แล้ว # ออก เพื่อเปิดใช้งาน
  • แก้ไฟล์  php.ini หาบรรทัดที่เขียนว่า ;extension=php_pdo.dll และ ;extension=php_pdo_mysql.dll แล้วเอา ; ออก เพื่อเปิดใช้งาน ถ้าหาแล้วไม่มี ก็ให้พิมพ์เข้าไปเลย
  • เรียก http://localhost/zf-tutorial-150/ หรือใส่ path ตามที่ได้วาง app ไว้

    

edit @ 7 Dec 2008 01:18:12 by .:: Junglai ::.

PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide

posted on 06 Dec 2008 19:59 by junglai  in E-books
        It hasn't taken Web developers long to discover that when it comes to creating dynamic, database-driven Web sites, MySQL and PHP provide a winning open source combination. Add this book to the mix, and there's no limit to the powerful, interactive Web sites that developers can create. With step-by-step instructions, complete scripts, and expert tips to guide readers, veteran author and database designer Larry Ullman gets right down to business: After grounding readers with separate discussions of first the scripting language (PHP) and then the database program (MySQL), he goes on to cover security, sessions and cookies, and using additional Web tools, with several sections devoted to creating sample applications. This guide is indispensable for intermediate- to advanced level Web designers who want to replace their static sites with something dynamic. In this edition, the bulk of the new material covers the latest versions of both technologies: PHP 6 (due out in 2008) and MySQL 5 (available now). The book's publication date is likely to beat the official release of PHP 6, making it one of the first books available on the subject.
Download:rapidshare.com 

edit @ 6 Dec 2008 21:47:52 by .:: Junglai ::.

Flash and PHP Bible

posted on 06 Dec 2008 19:49 by junglai  in E-books

Quickly develop dynamic Flash applications with PHP

demand for rich Internet applications (RIAs) such as complete storefronts and interactive surveys is skyrocketing, as is the pressure to create these dynamic apps overnight and at low cost. This in-depth Bible provides the step-by-step instructions you need to quickly create RIAs in Flash using cost-effective, open-source PHP programming tools. You'll learn how PHP works, when you should use it in Flash, and above all, vital security techniques for keeping your interactive sites secure.

*Install, configure, and explore the basics of PHP
*Connect Flash to PHP and PHP to MySQL
*Create contact forms and search capabilities
*Clean, store, and check your interactive data
*Apply advanced security techniques
*Develop an RSS reader or banner tracking with PHP
*Extend Flash and PHP with third-party libraries
*Learn best practices for backing up and updating your server

Download:rapidshare.com 

Download:depositfiles.com  

PHP Object-Oriented Solutions

posted on 06 Dec 2008 19:44 by junglai  in E-books
 
        With the surge of popularity of PHP 5, and with PHP 6 just around the corner, Object-Oriented Programming is now an important consideration for PHP developers. This version-neutral book is a gentle introduction to Object-Oriented Programming (OOP) that wont overburden you with complex theory. It teaches you the essential basics of OOP that youll need to know before moving onto a more advanced level, and includes a series of pre-packaged scripts that you can incorporate into your existing sites with the minimum of effort. It shows how OOP can be used to create reusable and portable code by walking you through a series of simple projects. The projects feature the sorts of things developers run up against every day, and include a validator for filtering user input, a simple Date class that avoids the need to remember all the esoteric format codes in PHP, and an XML generator.

*Teaches the fundamentals of OOP
*Simple projects show how OOP concepts work in the real world
*Pre-packaged scripts can easily be added to your own projects
What youll learn
*PHP features, such as the Standard PHP Library (SPL), that are poorly documented or ignored by existing books
*How to develop classes of their own
*OOP in easy-to-understand language without getting bogged down in dense theory
*Solid foundations for developers wishing to delve more deeply into OOP
*How to leverage the strengths of OOP as a means for creating reusable code that can be used successfully within a procedural context
*How to code for both PHP 5 and 6

 Download:rapidshare.com   

Download:depositfiles.com 

edit @ 6 Dec 2008 19:54:21 by .:: Junglai ::.