如: . $result[‘channel_name’] . ‘’; $fields_all = $fields_all . $field; } //$fields_all = html_entity_decode($fields_all); //grab values from form if any ////////////////////////////// $form_submitted = $_POST[‘form_submitted’];//check if form has been submitted $title = $_POST[‘title’]; $description...
安装PHPmotion时遇到问题:
Method Not AllowedThe requested method POST is not allowed for the URL /videx/cgi-bin/uu_upload.pl.
经过搜索发现如下解决方法:在主服务器配置文件中,使用Options指令显式地允许特定目录中CGI的执行:<Directory /usr/local/apache/htdocs/somedir>Options +ExecCGI上述指令使Apache允许CGI文件的执行。另外,还必须告诉服务器哪些文件是CGI文件。下面的AddHandler指令告诉服务器所有带有cgi或pl后缀的文件是CGI程序:AddHandler cgi-script cgi pl
原文地址:http://bbs.chinaunix.net/viewthread.php?tid=960709
http://phpmotion.com/forum/index.php?topic=5133.0
How Install FFMPEG,Mencoder,Flvtool – The easy way!
A lot of people are getting hiring people to install FFMPEG as they think it’s a difficult task, but it’s much easier than you think if you follow these instructions. You should have root access & basic Linux knowledge to the server to follow these instructions.
Login to your box SSH as root!
Create a directory to do our work in
mkdir ~/ffmpegcd ~/ffmpeg
Get all the so...
UTC是格林威治时间,CST是中国标准时间,很显然CST=UTC+8。基于此,如果你的CMOS是本地时间(也即CST时间),并且你想使用本地时间,那么你需要做如下修改:shell>sudo vim /etc/default/rcS (找到关于utc的设置)#utc=yes #注释掉,并改为noutc=no #保存退出如果你本地时间还不准确的话,可以这样修改:shell>sudo date -s MM/DD/YYshell>sudo date -s hh:mmshell>sudo /etc/init.d/hwclock.sh restart #将修改后的正确时间写入cmos修改过程中,可能出现执行命令时,提示距将来时间太早,不用太在意这种提示,重起后在修改。