-
求高手帮忙,一道古老的PHP笔试题在HTML语言中,页面头部的meta标记可以用来输出文件的编码格式,以下是一个标准的meta语句 请使用PHP语言写一个函数,把一个标准HTML页面中的类似meta标记中的charset部分值改为big5 请注意: 1.需要处理完整的html页面,即不光此meta语句 2.忽略大小写 3.'和"在此处是可以互换的 4.'Cqiugaoshoubangm 时间:08-29 + 阅读全文
-
帮忙解决一个新手问题PHPcode推荐位位置:<selectid="source"name="source"style="width:150px"><optionvalue=""selected>请选择</option><?phpforeach($GLOBALS['source_recommend']as$_k=>$_v)LiveAsaMonster 时间:08-29 + 阅读全文
-
PHP无限分类 不知道问题出现在那里了PHPcodefunctioncatatree($parentid=0){global$r;echo'<ul>';foreach($rAS$key=>$value){if($parentid==$value["parentid"]){?><li><divclass="ul_info"><?phnananjoy 时间:08-29 + 阅读全文
-
linux下2个权限相同的文件夹 一个friends_list可以遍历文件夹读和写 guest_book就不能linux下2个权限相同的文件夹一个friends_list可以遍历文件夹读和写guest_book就不能报这个错提示failedtoopendir:Permissiondenied伟大的程序员们这个该怎么解决!!!!kyoabczhx 时间:08-29 + 阅读全文
-
下拉框选择内容,跳转页面的问题新手求教,通过下拉框中选择的值,点击提交按钮跳转到另一个页面显示出来,怎么写?index.php如下:PHPcode<formaction="info.php"method="post"id="form1"><selectname="userName"><optionvalue="">用户名</option><opthi_allen_liu 时间:08-29 + 阅读全文
-
ImageTTFText x y 参数arrayImageTTFText(intim,intsize,intangle,intx,inty,intcol,stringfontfile,stringtext);中xy参数是以字体哪个位置为原点啊??php.net上说“x,y所表示的坐标定义了第一个字符的基本点(大概是字符的左下角)”hopewtc 时间:08-29 + 阅读全文
-
php require_once Failed opening required 错误如何解决<?phprequire_once'../../service/Service.php';执行到这里出错错误提示是:CompileError:/littlephpcms/admin/lib/db/conn_front.phpline2-require_once()[<ahref='function.require'>function.require<suncheng_hong 时间:08-29 + 阅读全文