摘要: <?php//php编程:两数相除,如何取商的整数部分?$a=8;$b=3;$out= $a/$b;echo '无取整:'.$out.'<br>';echo '进一法取整:'.ceil($out).'<br>';echo '舍去法取整:'.floor($out).'<br>';echo '对变数转成 阅读全文
posted @ 2016-03-24 10:05 幽灵小枫 阅读(815) 评论(0) 推荐(0) 编辑
摘要: if( move_uploaded_file($_FILES['file']['tmp_name'],$filepath.$_FILES['file']['name'])) { echo '文件上传成功'; } else { echo '文件上传失败'; } if ($_FILES['file'][ 阅读全文
posted @ 2016-03-24 10:03 幽灵小枫 阅读(158) 评论(0) 推荐(0) 编辑
摘要: php编辑器:sublime text 这个工具虽然收费,但是可以无限期免费试用 推荐sublime插件 1 Package Control 2 Emmet 3 jQuery 4 SublimeCodeIntel 5 Follow Function PHP 6 DocBlockr mysql管理:S 阅读全文
posted @ 2016-03-24 10:02 幽灵小枫 阅读(188) 评论(0) 推荐(0) 编辑
摘要: <meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui" /><meta name="apple-mobile-web-app-capable" content="yes"/><meta name= 阅读全文
posted @ 2016-03-24 10:01 幽灵小枫 阅读(205) 评论(0) 推荐(0) 编辑