摘要:
一、ThinkPHP的介绍 //了解 MVC M - Model 模型 工作:负责数据的操作 V - View 视图(模板) 工作:负责前台页面显示 编写html代码 C - Controller 控制器(模块) 工作:... 阅读全文
摘要:
一、ThinkPHP的介绍 //了解 MVC M - Model 模型 工作:负责数据的操作 V - View 视图(模板) 工作:负责前台页面显示 编写html代码 C - Controller 控制器(模块) 工作:... 阅读全文
摘要:
jrhmpt01:/root/lwp# cat data.html 首页上一页111212/12 首页上一页111212/12 jrhmpt01:/root/lwp# cat c1.pl use ... 阅读全文
摘要:
jrhmpt01:/root/lwp# cat data.html 首页上一页111212/12 首页上一页111212/12 jrhmpt01:/root/lwp# cat c1.pl use ... 阅读全文
摘要:
use LWP::UserAgent;use utf8;use DBI; use POSIX;use Data::Dumper;use HTML::TreeBuilder; use HTML::TreeBuilder::XPath;my $ua = LWP::UserAgent->new;... 阅读全文
摘要:
gbk编码:jrhmpt01:/root/lwp# cat x2.pl use LWP::UserAgent;use DBI;$user="root";$passwd='R00t,uHagt.0511';$dbh="";$dbh = DBI->connect("dbi:mysql:databa... 阅读全文
摘要:
gbk编码:jrhmpt01:/root/lwp# cat x2.pl use LWP::UserAgent;use DBI;$user="root";$passwd='R00t,uHagt.0511';$dbh="";$dbh = DBI->connect("dbi:mysql:databa... 阅读全文
摘要:
use LWP::UserAgent;use utf8;use DBI; $user="root"; $passwd='xxx'; $dbh=""; $dbh = DBI->connect("dbi:mysql:database=zjzc_vote;host=14.5.5.57;por... 阅读全文
摘要:
use LWP::UserAgent;use utf8;use DBI; $user="root"; $passwd='xxx'; $dbh=""; $dbh = DBI->connect("dbi:mysql:database=zjzc_vote;host=14.5.5.57;por... 阅读全文
摘要:
php 接口示例: public function dev(){ $m=new Model('machine_info'); $ip=$_GET['ip']; echo $ip; //$arr=$m->select(); $arr=$m->find($ip); var_d... 阅读全文