add php gd (graphics directly) support in ubuntu
#sudo apt-get install php5-gd
then, restart web service
#sudo service lighttpd restart //or #sudo service apache2 restart
add php gd (graphics directly) support in ubuntu
#sudo apt-get install php5-gd
then, restart web service
#sudo service lighttpd restart //or #sudo service apache2 restart
php upload file, File input (or “upload”) in HTML forms, Uploading multiple files, PHP – File Upload
enable javascript and other HTML element in wordpress MU. open wp-includes/kses.php find following line
$allowedposttags = array(
add following codes
'script' => array( 'type' => array(), 'src' => array(), 'language' => array() ), 'noscript' => array( ), 'object' => array( 'height' => array(), 'width' => array(), 'type' => array(), 'data' => array(), 'allowfullscreen' => array(), 'id' => array() ), 'param' => array( 'name' => array(), 'value' => array() ), 'embed' => array( 'width' => array(), 'height' => array(), 'type' => array(), 'src' => array(), 'allowfullscreen' => array() ), 'coolcode' => array( 'lang' => array() ), //over
phpRPG is an open source project established since 2001. The aim of the project is to develop a web-based RPG (role-playing game) using a powerful server-side scripting engine called PHP and its best known open source database companion MySQL.
very simple CMS system build by php. it provides support for mysql database, but not support template.
CakePHP, it’s really good PHP framework. I have just tried it for building blog less than 15 mins. easy for using. here is a tutorial for build blog in 15 mins. official manual is available at here.
method of communication between flash and php(asp, jsp, pysp,ruby):
1. a little bit data: using loadVariables(flash 4 up), getURL(Flash 4 up), loadvars(flash 6 up), send request to http server example of getURL(“http://some?some=some”)
2. much more data example of array and object, using xml. php can product a xml file, using actionscript read xml file.
using Loader and Label, insert external picture and text.
the picture url and text can from xml producted by php or any other server side script.
flash actionscript2 can load server site xml file. include xml producted by php.
lighttpd with php configuration has been finished. It speed a lots of time. but, currently, they are fully working. php with fastcgi model is better than mod_php of apache server.
I found command “lighty-enable-mod fastcgi” is very useful in this task.
there are two very good facebook development tutorial, Facebooker Tutorial is a facebook apps used for facebook development tutorial. other one is Facebook PHP Tutorial, it is for php programming with facebook api.