|
.htaccess文件
RewriteEngine on
RewriteCond $1 !^(index\.php|images|js|robots\.txt)
RewriteRule ^(.*)$ /code/index.php/$1 [L]
表单
<script type="text/javascript" src="<?php echo base_url();?>js/reg.js"></script>
<body>
<form action="user/get" method="post" id="form1" name="form1" >
<input type="text" id="username" name="username">
<input type="submit" id="sid" name="sid" >
</form>
</body>
我现在引入不进来这个JS,怎么回事? |
|