我知道有个配置url_rewrite_program可以对url进行重写,我想对cookie重写能办到吗?有什么配制方法吗?或者只能修改源码?
by mister9527 - 服务器应用 - 2011-06-15 23:54:17 阅读(2472) 回复(0)
写一个注册页面,要让用户选择所会的语言,Checkbox[] 注册信息要求添写的比较多,所以想cookie存取提交信息, cookie怎样存取数组 老菜们有好的解决方法也请指教一下, [ 本帖最后由 Unicorn_angel 于 2005-11-23 15:33 编辑 ]
怀着无比期待的心情再问一个问题 json需要用双引号的。 如果我有个数组里面含有变量。如何处理?? #!c:/perl/bin/perl.exe ## modules json test use CGI; use strict; use warnings; # read the CGI params my $cgi = CGI->new; my $username = $cgi->param("username"); my $password = $cgi->param("password"); my $username = "myname"; # create a json string according to the database result ### ok version o...
如何将c里的数组转换才json呢? my_object = json_object_new_object(); json_object_object_add(my_object,"0", json_object_new_int(12)); 这样? 我的是二维数组怎么办? int xyarr[200][2]; 就是这个数组
本帖最后由 zjdick 于 2013-08-01 17:49 编辑 求教大神 我想在一个php页面传多个sql的结果到前端,我用的代码如下:[code] $sql1="xxxx"; $sql2="xxxx"; $n=0; $result =mysql_query($sql_1); while($row = mysql_fetch_array($result)){ $data1[$n]=array( "dd"=>$row["dd"], "it"=>$row["it"] ); $n++; } $result =mysql_query($sql_2); while($row = mysql_fetch_array($re...
返回来的格式如下: 我在js中要用 var result = Request.responseText; result.message; result.content; result.goodslist.code_id; result.goodslist.code_name; 的格式来获取返回的值, 请问该怎么弄,谢谢!
现在squid能正常使用。但是 识别cookie总是不同用户直接错误。 就是说你能读到别人的cookie 环境变量 HTTP_cookie 就是错的 以前使用apache做代理时候是重写的源码解决的。