写验证码 private #显示验证码 def validation_code_image image = session[:validation_admin].code_image send_data image, :type => 'image/jpeg', :disposition => 'inline' end 我使用private 然后 当前类用到 def login if session[:operator] flash[:notice] = "您已经登录,重新登陆,请先注销!" r ...
verify :session => :user, :add_flash => { :notice => "请先登录,谢谢合作!"}, :redirect_to => { :action => "/shop/login"} 想转向shop控制器 当前是member控制器 请问怎么做啊? 像上面代码那样会报Routing Error no route found to match "/member_center//shop/login" with {:method=>:get} 这样的错误...
原文,我的blog 昨天晚上启动script/console 然后提示我: /usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require': no such file to load -- readline (LoadError) from /usr/local/lib/ruby/1.8/irb/completion.rb:10 from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `require' from /usr/local/li ...
I carry your heart with me , I carry it in my heart , I am never without it . Anywhere I go , you go , my dear . And whatever is done by only me , is you doing , my darling. I fear no fate.. ...
  • 14:35
  • 浏览 (172)
  • 评论 (0)
工具:Nessus(最好的开放源代码风险评估工具) 网址:http://www.nessus.org/ 类别:开放源码 平台:Linux/BSD/Unix 简介:Nessus是一款可以运行在Linux、BSD、Solaris以及其他一些系统上的远程安全扫描软件。它...
  • 09:44
  • 浏览 (183)
  • 评论 (0)
Ubuntu中: Windows --------- Ubuntu Internet Explorer --------- Firefox, Opera Microsoft Office --------- OpenOffice.org, 永中office QQ---------Gaim+挂件,LumaQQ Winamp -------- Xmms,beep-...
  • 08:58
  • 浏览 (186)
  • 评论 (0)
2007-09-29

ʹ

ʹ
  • 08:49
  • 浏览 (198)
  • 评论 (0)
一、花生壳For Linux安装步骤 1. 下载适合您的unix/linux版本的安装包文件(http://wstatic.xunlei.com/content/7AF21A28AB74C16049773101F8635BA130788407.html),使用root身份解压缩安装包 # tar -zvx...
  • 02:35
  • 浏览 (236)
  • 评论 (0)
1.视频配置,步骤如下:(适用于大部分杂牌摄像头) (1).先在http: //mxhaard.free.fr/download.html下载最新的的包gspcav1-20070508.tar.gz,或者见附件(针对 2.6.11以上的内核,查看内核版本:cat /proc/version...
  • 03:00
  • 浏览 (419)
  • 评论 (0)
服务器端: ====== 修改httpd.conf 查找: AddDefaultCharset ISO-8859-1 改成: #AddDefaultCharset ISO-8859-1 AddDefaultCharset off 这种方式关掉了服务器的默认语言的发送,这样仅凭html文件头中设置...
  • 02:35
  • 浏览 (328)
  • 评论 (0)
nishizhen
搜索本博客
博客分类
最近加入圈子
存档
最新评论