Latest News
>> << Carousel
Headline
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
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
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
Google Reader
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..
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
原創
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
curl CURLOPT_BINARYTRANSFER can’t not got Content-Disposition filename for u
[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
Normal
-
3 Unix Shell Scripts – User Activity, View Processes, Display Memory
/bin/bash w > /tmp/a echo “Total number of unique users logged in currently” cat /tmp/a| sed ’1,2d’ | awk ‘{print $1}’ | uniq | wc -l echo “” echo “List of unique users logged in currently” cat /tmp/a | sed ’1,2d’| awk ‘{print $1}’ …
- Emacs Macro Tutorial: How to Record and Play
- CPU-LOADing Detect function
- Spicing Up Your Website With jQuery Goodness
Linux like
-
[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/