广告联盟网

 找回密码
 注册
楼主: benkuang
打印 上一主题 下一主题

[注意]晕,有人拿这个分类信息来卖.我现在公布下载地址,喜欢的人就下吧

[复制链接]
41#
发表于 2007-7-15 | 只看该作者
开源麽
42#
发表于 2007-7-15 | 只看该作者
本地安装,选SIM语言包出现乱码!
43#
 楼主| 发表于 2007-7-15 | 只看该作者
<br><br><div class="msgbody"><div class="msgheader">QUOTE:</div><div class="msgborder">原帖由 <i>imwolf</i> 于 2007-7-15 10:04 发表 <a href="http://www.im286.com/redirect.php?goto=findpost&amp;pid=20552892&amp;ptid=2067672" target="_blank"><img src="http://www.im286.com/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://www.im286.com/images/common/back.gif');}" onmousewheel="return imgzoom(this);" alt="" /></a><br />本地安装,选SIM语言包出现乱码! </div></div><br>不是吧,上次我安装可以的,不是乱码
44#
发表于 2007-7-15 | 只看该作者
留位
45#
发表于 2007-7-15 | 只看该作者
<a href="http://w128556.s93.ufhost.com" target="_blank">http://w128556.s93.ufhost.com</a><br /><br /><br />我的怎么装不起来&nbsp; &nbsp;兄弟门帮看看什么原因?
46#
 楼主| 发表于 2007-7-15 | 只看该作者
<br><br><div class="msgbody"><div class="msgheader">QUOTE:</div><div class="msgborder">原帖由 <i>霹雳战警</i> 于 2007-7-15 10:47 发表 <a href="http://www.im286.com/redirect.php?goto=findpost&amp;pid=20553378&amp;ptid=2067672" target="_blank"><img src="http://www.im286.com/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://www.im286.com/images/common/back.gif');}" onmousewheel="return imgzoom(this);" alt="" /></a><br /><a href="http://w128556.s93.ufhost.com" target="_blank">http://w128556.s93.ufhost.com</a><br /><br /><br />我的怎么装不起来&nbsp; &nbsp;兄弟门帮看看什么原因? </div></div><br>因为你的空间register_globals关了<br /><br />请参考以下文章<br /><br />register_globals是php.ini里的一个配置,这个配置影响到php如何接收传递过来的参数,如果你的问题是:为什么我的表单无法传递数据?为什么我的程序无法得到传递过来的变量?等等,那么你需要仔细的阅读以下的内容。<br /><br />register_globals的值可以设置为:On或者Off,我们举一段代码来分别描述它们的不同。<br /><br /><br />&lt;form action=&quot;URL&quot;&gt;;<br />&lt;input type=&quot;text&quot; &gt;;<br />&lt;input type=&quot;password&quot; &gt;;<br />&lt;input type=&quot;submit&quot; value=&quot;login&quot;&gt;;<br />&lt;/form&gt;;<br /><br />当register_globals=Off的时候,下一个程序接收的时候应该用$_GET['user_name']和$_GET['user_pass']来接受传递过来的值。(注:当&lt;form&gt;;的method属性为post的时候应该用$_POST['user_name']和$_POST['user_pass'])<br /><br />当register_globals=On的时候,下一个程序可以直接使用$user_name和$user_pass来接受值。<br /><br />顾名思义,register_globals的意思就是注册为全局变量,所以当On的时候,传递过来的值会被直接的注册为全局变量直接使用,而Off的时候,我们需要到特定的数组里去得到它。所以,碰到上边那些无法得到值的问题的朋友应该首先检查一下你的register_globals的设置和你获取值的方法是否匹配。(查看可以用phpinfo()函数或者直接查看php.ini)<br /><br />那我们为什么要使用Off呢?原因有2:<br />1、php以后的新版本默认都用Off,虽然你可以设置它为On,但是当你无法控制服务器的时候,你的代码的兼容性就成为一个大问题,所以,你最好从现在就开始用Off的风格开始编程<br /><br />现在还有一个问题就是,以前用On风格写的大量脚本怎么办?<br />如果你以前的脚本规划得好,有个公共包含文件,比如config.inc.php一类的文件,在这个文件里加上以下的代码来模拟一下(这个代码不保证100%可以解决你的问题,因为我没有大量测试,但是我觉得效果不错)。<br /><br />&lt;?php<br />if (!ini_get(&quot;register_globals&quot;))<br />{<br />&nbsp; &nbsp; extract($_POST);<br />&nbsp; &nbsp; extract($_GET);<br />&nbsp; &nbsp; extract($_SERVER);<br />&nbsp; &nbsp; extract($_FILES);<br />&nbsp; &nbsp; extract($_ENV);<br />&nbsp; &nbsp; extract($_COOKIE);<br />&nbsp; &nbsp; extract($_REQUEST);<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; if ( isset($_SESSION) )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;extract($_SESSION);<br />&nbsp; &nbsp; }<br />}<br />?&gt;
47#
发表于 2007-7-15 | 只看该作者
支持共享
48#
发表于 2007-7-15 | 只看该作者
支持
49#
发表于 2007-7-15 | 只看该作者
支持
50#
发表于 2007-7-15 | 只看该作者
这个要支持
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|广告联盟网  

GMT, 2024-6-15 , Processed in 0.052617 second(s), 17 queries .

Powered by Discuz! X3.2

© 2005-2021 www.ggads.com GGADS 广告联盟网

快速回复 返回顶部 返回列表