实例介绍
基于thinkphp3.2.3实现的简单登录操作
【实例截图】
【核心代码】
think-demo
└── think-demo
├── admin.php
├── Application
│ ├── Admin
│ │ ├── Common
│ │ │ └── index.html
│ │ ├── Conf
│ │ │ ├── config.php
│ │ │ ├── config.php.bak
│ │ │ └── index.html
│ │ ├── Controller
│ │ │ ├── CommonController.class.php
│ │ │ ├── IndexController.class.php
│ │ │ ├── index.html
│ │ │ ├── LoginController.class.php
│ │ │ └── LoginController.class.php.bak
│ │ ├── index.html
│ │ ├── Model
│ │ │ └── index.html
│ │ └── View
│ │ ├── index.html
│ │ ├── Login
│ │ │ ├── index.html
│ │ │ └── index.html.bak
│ │ └── Public
│ │ └── assets
│ │ ├── css
│ │ │ ├── reset.css
│ │ │ ├── style.css
│ │ │ └── supersized.css
│ │ ├── img
│ │ │ ├── 1.jpg
│ │ │ ├── 2.jpg
│ │ │ ├── 3.jpg
│ │ │ ├── facebook.png
│ │ │ └── twitter.png
│ │ └── js
│ │ ├── html5.js
│ │ ├── jquery-1.8.2.min.js
│ │ ├── scripts.js
│ │ ├── supersized.3.2.7.min.js
│ │ └── supersized-init.js
│ ├── Common
│ │ ├── Common
│ │ │ └── index.html
│ │ ├── Conf
│ │ │ ├── config.php
│ │ │ └── index.html
│ │ └── index.html
│ ├── Home
│ │ ├── Common
│ │ │ └── index.html
│ │ ├── Conf
│ │ │ ├── config.php
│ │ │ └── index.html
│ │ ├── Controller
│ │ │ ├── IndexController.class.php
│ │ │ └── index.html
│ │ ├── index.html
│ │ ├── Model
│ │ │ └── index.html
│ │ └── View
│ │ └── index.html
│ ├── index.html
│ └── Runtime
│ ├── Cache
│ │ ├── Admin
│ │ │ ├── 32ec6c906c117a7c2bf504769276d87a.php
│ │ │ ├── b39761fdd01eadcd4b8a82f371520558.php
│ │ │ └── d804d3df35baebce1ca6edf36fce0ae8.php
│ │ ├── Home
│ │ │ ├── b39761fdd01eadcd4b8a82f371520558.php
│ │ │ └── index.html
│ │ └── index.html
│ ├── Data
│ │ └── index.html
│ ├── index.html
│ ├── Logs
│ │ ├── Admin
│ │ │ ├── 15_08_24.log
│ │ │ └── 15_08_25.log
│ │ ├── Home
│ │ │ ├── 15_08_24.log
│ │ │ ├── 15_08_25.log
│ │ │ └── index.html
│ │ └── index.html
│ └── Temp
│ └── index.html
├── composer.json
├── index.php
├── Public
│ └── README.md
├── Runtime
│ ├── Cache
│ │ ├── Admin
│ │ │ ├── b39761fdd01eadcd4b8a82f371520558.php
│ │ │ └── index.html
│ │ └── index.html
│ ├── Data
│ │ └── index.html
│ ├── index.html
│ ├── Logs
│ │ ├── Admin
│ │ │ ├── 15_08_24.log
│ │ │ └── index.html
│ │ └── index.html
│ └── Temp
│ └── index.html
├── ThinkPHP
│ ├── Common
│ │ └── functions.php
│ ├── Conf
│ │ ├── convention.php
│ │ └── debug.php
│ ├── Lang
│ │ ├── en-us.php
│ │ ├── pt-br.php
│ │ ├── zh-cn.php
│ │ └── zh-tw.php
│ ├── Library
│ │ ├── Behavior
│ │ │ ├── AgentCheckBehavior.class.php
│ │ │ ├── BorisBehavior.class.php
│ │ │ ├── BrowserCheckBehavior.class.php
│ │ │ ├── BuildLiteBehavior.class.php
│ │ │ ├── CheckActionRouteBehavior.class.php
│ │ │ ├── CheckLangBehavior.class.php
│ │ │ ├── ChromeShowPageTraceBehavior.class.php
│ │ │ ├── ContentReplaceBehavior.class.php
│ │ │ ├── CronRunBehavior.class.php
│ │ │ ├── FireShowPageTraceBehavior.class.php
│ │ │ ├── ParseTemplateBehavior.class.php
│ │ │ ├── ReadHtmlCacheBehavior.class.php
│ │ │ ├── RobotCheckBehavior.class.php
│ │ │ ├── ShowPageTraceBehavior.class.php
│ │ │ ├── ShowRuntimeBehavior.class.php
│ │ │ ├── TokenBuildBehavior.class.php
│ │ │ ├── UpgradeNoticeBehavior.class.php
│ │ │ └── WriteHtmlCacheBehavior.class.php
│ │ ├── Org
│ │ │ ├── Net
│ │ │ │ ├── Http.class.php
│ │ │ │ └── IpLocation.class.php
│ │ │ └── Util
│ │ │ ├── ArrayList.class.php
│ │ │ ├── CodeSwitch.class.php
│ │ │ ├── Date.class.php
│ │ │ ├── Rbac.class.php
│ │ │ ├── Stack.class.php
│ │ │ └── String.class.php
│ │ ├── Think
│ │ │ ├── App.class.php
│ │ │ ├── Auth.class.php
│ │ │ ├── Behavior.class.php
│ │ │ ├── Build.class.php
│ │ │ ├── Cache
│ │ │ │ └── Driver
│ │ │ │ ├── Apachenote.class.php
│ │ │ │ ├── Apc.class.php
│ │ │ │ ├── Db.class.php
│ │ │ │ ├── Eaccelerator.class.php
│ │ │ │ ├── File.class.php
│ │ │ │ ├── Memcache.class.php
│ │ │ │ ├── Memcached.class.php
│ │ │ │ ├── Memcachesae.class.php
│ │ │ │ ├── Redis.class.php
│ │ │ │ ├── Shmop.class.php
│ │ │ │ ├── Sqlite.class.php
│ │ │ │ ├── Wincache.class.php
│ │ │ │ └── Xcache.class.php
│ │ │ ├── Cache.class.php
│ │ │ ├── Controller
│ │ │ │ ├── HproseController.class.php
│ │ │ │ ├── JsonRpcController.class.php
│ │ │ │ ├── RestController.class.php
│ │ │ │ ├── RpcController.class.php
│ │ │ │ └── YarController.class.php
│ │ │ ├── Controller.class.php
│ │ │ ├── Crypt
│ │ │ │ └── Driver
│ │ │ │ ├── Base64.class.php
│ │ │ │ ├── Crypt.class.php
│ │ │ │ ├── Des.class.php
│ │ │ │ ├── Think.class.php
│ │ │ │ └── Xxtea.class.php
│ │ │ ├── Crypt.class.php
│ │ │ ├── Db
│ │ │ │ ├── Driver
│ │ │ │ │ ├── Firebird.class.php
│ │ │ │ │ ├── Mongo.class.php
│ │ │ │ │ ├── Mysql.class.php
│ │ │ │ │ ├── Oracle.class.php
│ │ │ │ │ ├── Pgsql.class.php
│ │ │ │ │ ├── Sqlite.class.php
│ │ │ │ │ └── Sqlsrv.class.php
│ │ │ │ ├── Driver.class.php
│ │ │ │ └── Lite.class.php
│ │ │ ├── Db.class.php
│ │ │ ├── Dispatcher.class.php
│ │ │ ├── Exception.class.php
│ │ │ ├── Hook.class.php
│ │ │ ├── Image
│ │ │ │ └── Driver
│ │ │ │ ├── Gd.class.php
│ │ │ │ ├── GIF.class.php
│ │ │ │ └── Imagick.class.php
│ │ │ ├── Image.class.php
│ │ │ ├── Log
│ │ │ │ └── Driver
│ │ │ │ ├── File.class.php
│ │ │ │ └── Sae.class.php
│ │ │ ├── Log.class.php
│ │ │ ├── Model
│ │ │ │ ├── AdvModel.class.php
│ │ │ │ ├── MergeModel.class.php
│ │ │ │ ├── MongoModel.class.php
│ │ │ │ ├── RelationModel.class.php
│ │ │ │ └── ViewModel.class.php
│ │ │ ├── Model.class.php
│ │ │ ├── Page.class.php
│ │ │ ├── Route.class.php
│ │ │ ├── Session
│ │ │ │ └── Driver
│ │ │ │ ├── Db.class.php
│ │ │ │ └── Memcache.class.php
│ │ │ ├── Storage
│ │ │ │ └── Driver
│ │ │ │ ├── File.class.php
│ │ │ │ └── Sae.class.php
│ │ │ ├── Storage.class.php
│ │ │ ├── Template
│ │ │ │ ├── Driver
│ │ │ │ │ ├── Ease.class.php
│ │ │ │ │ ├── Lite.class.php
│ │ │ │ │ ├── Mobile.class.php
│ │ │ │ │ ├── Smart.class.php
│ │ │ │ │ └── Smarty.class.php
│ │ │ │ ├── TagLib
│ │ │ │ │ ├── Cx.class.php
│ │ │ │ │ └── Html.class.php
│ │ │ │ └── TagLib.class.php
│ │ │ ├── Template.class.php
│ │ │ ├── Think.class.php
│ │ │ ├── Upload
│ │ │ │ └── Driver
│ │ │ │ ├── Bcs
│ │ │ │ │ ├── bcs.class.php
│ │ │ │ │ ├── mimetypes.class.php
│ │ │ │ │ └── requestcore.class.php
│ │ │ │ ├── Bcs.class.php
│ │ │ │ ├── Ftp.class.php
│ │ │ │ ├── Local.class.php
│ │ │ │ ├── Qiniu
│ │ │ │ │ └── QiniuStorage.class.php
│ │ │ │ ├── Qiniu.class.php
│ │ │ │ ├── Sae.class.php
│ │ │ │ └── Upyun.class.php
│ │ │ ├── Upload.class.php
│ │ │ ├── Verify
│ │ │ │ ├── bgs
│ │ │ │ │ ├── 1.jpg
│ │ │ │ │ ├── 2.jpg
│ │ │ │ │ ├── 3.jpg
│ │ │ │ │ ├── 4.jpg
│ │ │ │ │ ├── 5.jpg
│ │ │ │ │ ├── 6.jpg
│ │ │ │ │ ├── 7.jpg
│ │ │ │ │ └── 8.jpg
│ │ │ │ └── ttfs
│ │ │ │ ├── 1.ttf
│ │ │ │ ├── 2.ttf
│ │ │ │ ├── 3.ttf
│ │ │ │ ├── 4.ttf
│ │ │ │ ├── 5.ttf
│ │ │ │ └── 6.ttf
│ │ │ ├── Verify.class.php
│ │ │ └── View.class.php
│ │ └── Vendor
│ │ ├── Boris
│ │ │ ├── Boris.php
│ │ │ ├── CLIOptionsHandler.php
│ │ │ ├── ColoredInspector.php
│ │ │ ├── Config.php
│ │ │ ├── DumpInspector.php
│ │ │ ├── EvalWorker.php
│ │ │ ├── ExportInspector.php
│ │ │ ├── Inspector.php
│ │ │ ├── ReadlineClient.php
│ │ │ └── ShallowParser.php
│ │ ├── EaseTemplate
│ │ │ ├── template.core.php
│ │ │ └── template.ease.php
│ │ ├── Hprose
│ │ │ ├── HproseClassManager.php
│ │ │ ├── HproseClient.php
│ │ │ ├── HproseCommon.php
│ │ │ ├── HproseFormatter.php
│ │ │ ├── HproseHttpClient.php
│ │ │ ├── HproseHttpServer.php
│ │ │ ├── HproseIO.php
│ │ │ ├── HproseIOStream.php
│ │ │ ├── HproseReader.php
│ │ │ ├── HproseTags.php
│ │ │ └── HproseWriter.php
│ │ ├── jsonRPC
│ │ │ ├── jsonRPCClient.php
│ │ │ └── jsonRPCServer.php
│ │ ├── phpRPC
│ │ │ ├── bigint.php
│ │ │ ├── compat.php
│ │ │ ├── dhparams
│ │ │ │ ├── 1024.dhp
│ │ │ │ ├── 128.dhp
│ │ │ │ ├── 1536.dhp
│ │ │ │ ├── 160.dhp
│ │ │ │ ├── 192.dhp
│ │ │ │ ├── 2048.dhp
│ │ │ │ ├── 256.dhp
│ │ │ │ ├── 3072.dhp
│ │ │ │ ├── 4096.dhp
│ │ │ │ ├── 512.dhp
│ │ │ │ ├── 768.dhp
│ │ │ │ └── 96.dhp
│ │ │ ├── dhparams.php
│ │ │ ├── pecl
│ │ │ │ └── xxtea
│ │ │ │ ├── config.m4
│ │ │ │ ├── config.w32
│ │ │ │ ├── CREDITS
│ │ │ │ ├── INSTALL
│ │ │ │ ├── LICENSE
│ │ │ │ ├── php_xxtea.c
│ │ │ │ ├── php_xxtea.dsp
│ │ │ │ ├── php_xxtea.h
│ │ │ │ ├── php_xxtea.sln
│ │ │ │ ├── php_xxtea.vcproj
│ │ │ │ ├── README
│ │ │ │ ├── test
│ │ │ │ │ └── test.php
│ │ │ │ ├── xxtea.c
│ │ │ │ └── xxtea.h
│ │ │ ├── phprpc_client.php
│ │ │ ├── phprpc_date.php
│ │ │ ├── phprpc_server.php
│ │ │ └── xxtea.php
│ │ ├── README.txt
│ │ ├── SmartTemplate
│ │ │ ├── class.smarttemplatedebugger.php
│ │ │ ├── class.smarttemplateparser.php
│ │ │ └── class.smarttemplate.php
│ │ ├── Smarty
│ │ │ ├── debug.tpl
│ │ │ ├── plugins
│ │ │ │ ├── block.textformat.php
│ │ │ │ ├── function.counter.php
│ │ │ │ ├── function.cycle.php
│ │ │ │ ├── function.fetch.php
│ │ │ │ ├── function.html_checkboxes.php
│ │ │ │ ├── function.html_image.php
│ │ │ │ ├── function.html_options.php
│ │ │ │ ├── function.html_radios.php
│ │ │ │ ├── function.html_select_date.php
│ │ │ │ ├── function.html_select_time.php
│ │ │ │ ├── function.html_table.php
│ │ │ │ ├── function.mailto.php
│ │ │ │ ├── function.math.php
│ │ │ │ ├── modifier.capitalize.php
│ │ │ │ ├── modifiercompiler.cat.php
│ │ │ │ ├── modifiercompiler.count_characters.php
│ │ │ │ ├── modifiercompiler.count_paragraphs.php
│ │ │ │ ├── modifiercompiler.count_sentences.php
│ │ │ │ ├── modifiercompiler.count_words.php
│ │ │ │ ├── modifiercompiler.default.php
│ │ │ │ ├── modifiercompiler.escape.php
│ │ │ │ ├── modifiercompiler.from_charset.php
│ │ │ │ ├── modifiercompiler.indent.php
│ │ │ │ ├── modifiercompiler.lower.php
│ │ │ │ ├── modifiercompiler.noprint.php
│ │ │ │ ├── modifiercompiler.string_format.php
│ │ │ │ ├── modifiercompiler.strip.php
│ │ │ │ ├── modifiercompiler.strip_tags.php
│ │ │ │ ├── modifiercompiler.to_charset.php
│ │ │ │ ├── modifiercompiler.unescape.php
│ │ │ │ ├── modifiercompiler.upper.php
│ │ │ │ ├── modifiercompiler.wordwrap.php
│ │ │ │ ├── modifier.date_format.php
│ │ │ │ ├── modifier.debug_print_var.php
│ │ │ │ ├── modifier.escape.php
│ │ │ │ ├── modifier.regex_replace.php
│ │ │ │ ├── modifier.replace.php
│ │ │ │ ├── modifier.spacify.php
│ │ │ │ ├── modifier.truncate.php
│ │ │ │ ├── outputfilter.trimwhitespace.php
│ │ │ │ ├── shared.escape_special_chars.php
│ │ │ │ ├── shared.literal_compiler_param.php
│ │ │ │ ├── shared.make_timestamp.php
│ │ │ │ ├── shared.mb_str_replace.php
│ │ │ │ ├── shared.mb_unicode.php
│ │ │ │ ├── shared.mb_wordwrap.php
│ │ │ │ └── variablefilter.htmlspecialchars.php
│ │ │ ├── SmartyBC.class.php
│ │ │ ├── Smarty.class.php
│ │ │ └── sysplugins
│ │ │ ├── smarty_cacheresource_custom.php
│ │ │ ├── smarty_cacheresource_keyvaluestore.php
│ │ │ ├── smarty_cacheresource.php
│ │ │ ├── smarty_config_source.php
│ │ │ ├── smarty_internal_cacheresource_file.php
│ │ │ ├── smarty_internal_compile_append.php
│ │ │ ├── smarty_internal_compile_assign.php
│ │ │ ├── smarty_internal_compilebase.php
│ │ │ ├── smarty_internal_compile_block.php
│ │ │ ├── smarty_internal_compile_break.php
│ │ │ ├── smarty_internal_compile_call.php
│ │ │ ├── smarty_internal_compile_capture.php
│ │ │ ├── smarty_internal_compile_config_load.php
│ │ │ ├── smarty_internal_compile_continue.php
│ │ │ ├── smarty_internal_compile_debug.php
│ │ │ ├── smarty_internal_compile_eval.php
│ │ │ ├── smarty_internal_compile_extends.php
│ │ │ ├── smarty_internal_compile_foreach.php
│ │ │ ├── smarty_internal_compile_for.php
│ │ │ ├── smarty_internal_compile_function.php
│ │ │ ├── smarty_internal_compile_if.php
│ │ │ ├── smarty_internal_compile_include.php
│ │ │ ├── smarty_internal_compile_include_php.php
│ │ │ ├── smarty_internal_compile_insert.php
│ │ │ ├── smarty_internal_compile_ldelim.php
│ │ │ ├── smarty_internal_compile_nocache.php
│ │ │ ├── smarty_internal_compile_private_block_plugin.php
│ │ │ ├── smarty_internal_compile_private_function_plugin.php
│ │ │ ├── smarty_internal_compile_private_modifier.php
│ │ │ ├── smarty_internal_compile_private_object_block_function.php
│ │ │ ├── smarty_internal_compile_private_object_function.php
│ │ │ ├── smarty_internal_compile_private_print_expression.php
│ │ │ ├── smarty_internal_compile_private_registered_block.php
│ │ │ ├── smarty_internal_compile_private_registered_function.php
│ │ │ ├── smarty_internal_compile_private_special_variable.php
│ │ │ ├── smarty_internal_compile_rdelim.php
│ │ │ ├── smarty_internal_compile_section.php
│ │ │ ├── smarty_internal_compile_setfilter.php
│ │ │ ├── smarty_internal_compile_while.php
│ │ │ ├── smarty_internal_config_file_compiler.php
│ │ │ ├── smarty_internal_configfilelexer.php
│ │ │ ├── smarty_internal_configfileparser.php
│ │ │ ├── smarty_internal_config.php
│ │ │ ├── smarty_internal_data.php
│ │ │ ├── smarty_internal_debug.php
│ │ │ ├── smarty_internal_filter_handler.php
│ │ │ ├── smarty_internal_function_call_handler.php
│ │ │ ├── smarty_internal_get_include_path.php
│ │ │ ├── smarty_internal_nocache_insert.php
│ │ │ ├── smarty_internal_parsetree.php
│ │ │ ├── smarty_internal_resource_eval.php
│ │ │ ├── smarty_internal_resource_extends.php
│ │ │ ├── smarty_internal_resource_file.php
│ │ │ ├── smarty_internal_resource_php.php
│ │ │ ├── smarty_internal_resource_registered.php
│ │ │ ├── smarty_internal_resource_stream.php
│ │ │ ├── smarty_internal_resource_string.php
│ │ │ ├── smarty_internal_smartytemplatecompiler.php
│ │ │ ├── smarty_internal_templatebase.php
│ │ │ ├── smarty_internal_templatecompilerbase.php
│ │ │ ├── smarty_internal_templatelexer.php
│ │ │ ├── smarty_internal_templateparser.php
│ │ │ ├── smarty_internal_template.php
│ │ │ ├── smarty_internal_utility.php
│ │ │ ├── smarty_internal_write_file.php
│ │ │ ├── smarty_resource_custom.php
│ │ │ ├── smarty_resource.php
│ │ │ ├── smarty_resource_recompiled.php
│ │ │ ├── smarty_resource_uncompiled.php
│ │ │ └── smarty_security.php
│ │ ├── spyc
│ │ │ ├── composer.json
│ │ │ ├── COPYING
│ │ │ ├── examples
│ │ │ │ ├── yaml-dump.php
│ │ │ │ └── yaml-load.php
│ │ │ ├── php4
│ │ │ │ ├── 5to4.php
│ │ │ │ ├── spyc.php4
│ │ │ │ └── test.php4
│ │ │ ├── README.md
│ │ │ ├── Spyc.php
│ │ │ ├── spyc.yaml
│ │ │ └── tests
│ │ │ ├── comments.yaml
│ │ │ ├── DumpTest.php
│ │ │ ├── failing1.yaml
│ │ │ ├── indent_1.yaml
│ │ │ ├── IndentTest.php
│ │ │ ├── ParseTest.php
│ │ │ ├── quotes.yaml
│ │ │ └── RoundTripTest.php
│ │ └── TemplateLite
│ │ ├── class.compiler.php
│ │ ├── class.config.php
│ │ ├── class.template.php
│ │ └── internal
│ │ ├── compile.compile_config.php
│ │ ├── compile.compile_custom_block.php
│ │ ├── compile.compile_custom_function.php
│ │ ├── compile.compile_if.php
│ │ ├── compile.generate_compiler_debug_output.php
│ │ ├── compile.include.php
│ │ ├── compile.parse_is_expr.php
│ │ ├── compile.section_start.php
│ │ ├── debug.tpl
│ │ ├── template.build_dir.php
│ │ ├── template.config_loader.php
│ │ ├── template.destroy_dir.php
│ │ ├── template.fetch_compile_include.php
│ │ └── template.generate_debug_output.php
│ ├── LICENSE.txt
│ ├── logo.png
│ ├── Mode
│ │ ├── Api
│ │ │ ├── App.class.php
│ │ │ ├── Controller.class.php
│ │ │ ├── Dispatcher.class.php
│ │ │ └── functions.php
│ │ ├── api.php
│ │ ├── common.php
│ │ ├── Sae
│ │ │ └── convention.php
│ │ └── sae.php
│ ├── ThinkPHP.php
│ └── Tpl
│ ├── dispatch_jump.tpl
│ ├── page_trace.tpl
│ └── think_exception.tpl
└── think.sql
100 directories, 433 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论