Subscribe to Headline

Headline

9 Useful PHP Functions and Features You Need to Know

9 Useful PHP Functions and Features You Need to Know

Shared by 小董 的確很優~ 1. Functions with Arbitrary Number of Arguments You may already know that PHP allows you to define functions with optional arguments

Object-Oriented PHP for Beginners

Object-Oriented PHP for Beginners

Shared by 小董 會利用物件導向的確可以省很多事 但誤用會多更多事 For many PHP programmers, object-oriented programming is a frightening concept, full of complicated syntax and other roadblocks. As detailed in my book, Pro PHP and jQuery, you’ll learn the concepts behind object-oriented programming (OOP), a style of coding in which related actions are grouped into classes to aid in creating more-compact, effective code. Understanding Object-Oriented Programming Object-oriented programming is a style of coding that allows developers to group similar tasks into classes

NotePad++ 5.7 in windows7 support php function list

NotePad++ 5.7 in windows7 support php function list

This case spend me so much time . Step 1. Download this file FunctionList.zip Step 2. Install notepad++ 5.7 and don’t install with %APPDATA% Step 3. unzip the FunctionList.zip and… Read more »

Subscribe to Google Reader

Google Reader

Advanced Windows Batch File Scripting

Advanced Windows Batch File Scripting

Shared by 小董 這樣的一篇關於windows batch file技巧的文章 近年少見 推!! First off, this is a single windows .bat file that I have written to do advanced batch scripting the easy way, meaning it’s mostly a series of functions you can call from the script or within other functions for extremely modular code. Before you get all bent out of shape by my choice of words (“easy, modular”), when I say this is advanced I mean for Windows .bat files, one of the worlds worst scripting languages, but it works on all windows versions so it’s ideal for things like autorun, autoplay, custom startups, usb drives, etc..

FreeBSD 上使用 wkhtmltopdf 做網頁擷取

FreeBSD 上使用 wkhtmltopdf 做網頁擷取

Shared by 小董 天阿 育典哥們 你看了也可以瞑目了 阿門~ 以往要用程式控制將網頁輸出pdf或擷取網頁,都是件浩大工程. 這次介紹如何在FreeBSD 命令列模式下即可輕易辦到,並且不需龐大的X Windows 圖形系統適合在server上跑. 以下是軟體原文介紹

9 Useful PHP Functions and Features You Need to Know

9 Useful PHP Functions and Features You Need to Know

Shared by 小董 的確很優~ 1. Functions with Arbitrary Number of Arguments You may already know that PHP allows you to define functions with optional arguments

Subscribe to 原創

原創

Gatorhost pdo don’t support sqlite3

Gatorhost pdo don’t support sqlite3

Greetings,
The sqlite PDO extension appears to be loaded properly. However, it appears that the extension supports sqlite2, but not sqlite3. Currently, I see the use of sqlite3 in your scripts. You will need to use sqlite2 instead in order for them to work properly. I apologize for the inconvenience.

Please feel free to ask if you need anything else at all.

use curl to got Content-Disposition filename

use curl to got Content-Disposition filename

curl CURLOPT_BINARYTRANSFER can’t not got Content-Disposition filename for u

[php-editor] USE PHP_Beautifier in Notepad++

[php-editor] USE PHP_Beautifier in Notepad++

This is the way to use PHP_Beautifier to formate php in notepad++ and output to clipboard Install PHP_Beautifier via http://pear.php.net/package/PHP_Beautifier Make sure your notepad++ have NPPExec Add Execute like this… Read more »

Subscribe to Normal

Normal

Subscribe to Linux like

Linux like

  • [xgettext ]when charset=CHARSET

    [xgettext ]when charset=CHARSET

    Damm~~bug! Need to use sed to replace CHARSET~ xgettext –language=php –from-code=utf-8 –output=”/defraction-light-red/defraction-light-red.po” -D /defraction-light-red/*.php sed –in-place /defraction-light-red/defraction-light-red.po –expression=s/charset=CHARSET/charset=UTF-8/