Home > Backend Development > PHP Tutorial > PHP5.2升级PHP5.3的有关问题

PHP5.2升级PHP5.3的有关问题

WBOY
Release: 2016-06-13 12:48:15
Original
799 people have browsed it

PHP5.2升级PHP5.3的问题
我以前的环境是PHP5.2.8是IIS以ISAPI的方式挂载的,现在我更换成了PHP5.3.14是IIS+FastCGI方式挂载的,结果就悲剧了以前下面这段程序是可以运行的,但是现在就无法运行了
function kc_f_singleupload($id,$path,$filetype=0,$count=1,$width=1000,$height=1000){
global $king;
$s.="";
$s.=kc_icon('a9',$king->lang->get('system/common/singleupload')).$king->lang->get('system/common/singleupload');
$s.="
";
$s.=" 剪裁";
$s.='
<script><br /> var uploaddialog=$.artdialog({title:false,content:"图片上传中,请稍候...",show:false});<br /> var uploader = new plupload.Uploader({<br /> runtimes : "flash",<br /> browse_button : "pickfiles",<br /> container: "pickfiles",<br /> max_file_size : "20mb",<br /> max_file_count: '.$count.',<br /> rename: true,<br /> unique_names: true,<br /> url : "/system/manage.php?action=iframe&CMD=plupload&filetype=0&is=1&&KingCMS_Admin='.$_COOKIE['KingCMS_Admin'].'",<br /> resize : {width : 1920, height : 1080, quality : 90},<br /> flash_swf_url: "../ui/plupload/plupload.flash.swf",<br /> filters : [{title : "图片文件", extensions : "jpg,gif,png"}],<br /> init: {<br /> FileUploaded: function (up, file, info) { <br /> uploaddialog.hide();<br /> info.response=eval("(" + info.response + ")");<br /> $("#'.$id.'").val(info.response.result);<br /> up.stop();<br /> },<br /> BeforeUpload:function(){<br /> uploaddialog.show();<br /> },<br /> FilesAdded:function(up, files) {<br /> uploader.start();<br /> }<br /> }<br /> });<br /> uploader.init();<br /> </script>';
return $s;
}

提示$s.="";出错,请各位帮忙看看是怎么回事,谢谢啦……

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template