PHP How to maintain the SESSION and the consequent Some Thoughts

Posted under Article, Development, Featured, PHP on Saturday, 20 February 2010 by Jack
A recent project, which has a relatively large form, it requires users to complete a lot of time, many users have spent untold hardships after the completion of a submission was found SESSION expired, the system quit, it has led the research, as well as how to set SESSION the need to maintain...
PHP How to maintain the SESSION and the consequent Some Thoughts

Why PHP-FPM?

Posted under Article, Development, Featured, PHP on Saturday, 20 February 2010 by Jack
Source: http://php-fpm.anight.org/ wiki: http://www.php-fpm.com/ PHP-FPM not only makes configuration of FastCGI pools, but also enhances some of the FastCGI internals and increases error reporting, script terminiation, etc. This table has a simple comparison between the most popular methods...
Why PHP-FPM?

Using php to detect proxy

Posted under Development, PHP on Tuesday, 12 January 2010 by Jack
Able to detect most of the visit through a proxy server ip. [code lang="php"] ...
Using php to detect proxy

PHP vs. Ruby on Rails. An evolutionary story of a Web Developer and his tools.

Posted under Article, Development, Featured, PHP on Tuesday, 1 December 2009 by Jack
A comparison between the #5 language and the #1 framework (ranked lovability by me!). When it comes to programming, more specifically the development of web applications, it is important to consider all the tools of the trade before using the one that is going to be used for the job. For some...
PHP vs. Ruby on Rails. An evolutionary story of a Web Developer and his tools.

php/python/perl read directory

Posted under Article, PHP, Perl, Python on Monday, 2 November 2009 by Jack
PHP Code: [code lang="php"] function process_files( path ) {     if( is_dir( $path ) )     {          if ( $dh = opendir( $path ) )          {             while( ( $fname = readdir( $dh ) ) !== false...
php/python/perl read directory

PHP Function: register_shutdown_function()

Posted under Article, Development, Featured, PHP on Monday, 2 November 2009 by Jack
Since i’ve started programming in PHP i’ve found that there are some very interesting and useful functions native to the language that are buried deep in the very extensive PHP documentation. Sometimes you want to do something with your code and you end up writing lines and lines of elaborate...
PHP Function: register_shutdown_function()

To enhance the performance of PHP mode to change the distribution of Zend Engine

Posted under Article, Featured, PHP on Friday, 23 October 2009 by Jack
From the PHP5.1 start, PHP provides the users of Zend VM implementation of the choice of interface distribution methods. Zend in the implementation of the virtual machine, when compiling the generated op_array for each one opline the opcode will be distributed to the appropriate processor...
To enhance the performance of PHP mode to change the distribution of Zend Engine

WebShell Check Shell for PHP

Posted under Article, PHP on Tuesday, 6 October 2009 by Jack
WebShell Check Shell for PHP [code lang="html"] #!/bin/sh #************************************************************ #WebShell Check Shell for PHP #************************************************************ HOSTIP=`ifconfig eth0 |grep 'inet addr'|awk '{print $2;}'|cut -d:...
WebShell Check Shell for PHP

The busy Java developer’s guide to Scala: Dive deeper into Scala concurrency

Posted under Article, Development, Featured, Java on Friday, 28 August 2009 by Jack
In the last article, I talked about the importance of building concurrent code (whether it's in Scala or not) and some of the problems and issues facing developers in doing so, including not locking too much, not locking too little, avoiding deadlocks, avoiding spinning up too many threads, and so...
The busy Java developer’s guide to Scala: Dive deeper into Scala concurrency

PHP website performance improve method

Posted under Article, PHP on Wednesday, 26 August 2009 by Jack
Here are some methods may help you to improve php the performance 1: object code cache Each request need to recompile the object code, if you use the cache, then may avoided, so that you can make your php program to get faster. The following programs can use: A) Ioncube:...
PHP website performance improve method