php实战第十一天
今天学习了做安装包
这里是HTML模板
[html]
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>瀑布流留言板管理系统</title>
<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"></head>
<body>
<div class="container">
<div class="container-fluid">
<div class="row-fluid">
<div class="span4">
<h3>瀑布流记事本安装包</h3>
</div>
</div>
</div>
<form class="form-horizontal" action="install.php" method="post" >
<div class="control-group">
<label class="control-label" for="content">MYSQL主机</label>
<div class="controls">
<input class="span4" type="text" name="m_server" value="localhost" placeholder="mysql数据库的地址">
<span class="help-inline">你的数据库所在IP,一般是localhost</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="userName">数据库用户名</label>
<div class="controls">
<input class="span4" type="text" name="m_userName" value="root" placeholder="mysql数据库登陆用户名">
<span class="help-inline">你的MySQL帐户。</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="userName">数据库密码</label>
<div class="controls">
<input class="span4" type="text" name="m_password" value="1234" placeholder="mysql数据库登陆密码">
<span class="help-inline">你的MySQL密码。</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="userName">数据库名称</label>
<div class="controls">
<input class="span4" type="text" name="m_dbName" value="db_liuyan" placeholder="数据库名称">
<span class="help-inline">你的数据库名称,请先确认此数据库存在。</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="userName">网站的标题</label>
<div class="controls">
<input class="span4" type="text" name="c_title" value="我的瀑布流留言板" placeholder="网站的标题">
<span class="help-inline">设置网站的标题</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="userName">后台登陆用户名</label>
<div class="controls">
<input class="span4" type="text" name="adminUser" value="admin" placeholder="后台登陆用户名">
<span class="help-inline">登陆后台所用的用户名</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="userName">后台登陆密码</label>
<div class="controls">
<input class="span4" type="text" name="adminPassword" value="admin" placeholder="后台登陆密码">
<span class="help-inline">登陆后台所用的密码</span>
</div>
</div>
<div class="control-group">
<div class="controls">
<input class="btn btn-info" type="submit" name="submit" value="安装">
</div>
</div>
</form>
</div>
</body>
<script src="../js/jquery-2.0.1.min.js"></script>
<script type="text/javascript" src="../js/bootstrap.min.js"><
补充:Web开发 , php ,