请问:下面代码运行为何运行出现错误。信息:error loading page

花果山人66 2015-08-24 10:58:06
代码1:index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" name="viewport" content="width=device-width,initial-scale=1"/>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" />
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>
<style>img{max-width:100%;}</style>
<title>My first</title>
</head>
<body>
<div data-role="page">
<div data-role="header"><h1>My First Mobile Site</h1></div>
<div data-role="content">
<form id="login" name="login" action="login.php" method="POST">
<div data-role="fieldcontain">
<label for="username">Username:</label>
<input type="text" name="username" id="username" value=""/><br/>
</div>
<div data-role="fieldcontain">
<label for="password">Password:</label>
<input type="password" name="password" id="password" value=""/><br/>
</div>
<input type="hidden" name="hiddenInput" id="hiddenInput" value="secret message"/>
<input type="submit" name="loginSubmit" id="loginSubmit" value="Login"/>
</form>
</div>
</div>
</body>
</html>


代码二:login.php
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" name="viewport" content="width=device-width,initial-scale=1"/>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" />
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>
<title>My first 2</title>
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>My First Mobile Site 2</h1>
</div>
<div data-role="content">
<p>Usernamr:"<strong><?php echo $_POST['username'];?></strong>"</p>
<a href="index.html" data-rel="back" data-role="button">Go Back</a>
</div>
</div>
</body>
</html>
...全文
656 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
花果山人66 2015-08-26
  • 打赏
  • 举报
回复
怎么没有回复?问题太简单,还是太复杂?
花果山人66 2015-08-25
  • 打赏
  • 举报
回复
谢谢,问题依然。
街头小贩 2015-08-24
  • 打赏
  • 举报
回复

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" name="viewport" content="width=device-width,initial-scale=1"/>
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" />
    <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>
    <title>My first 2</title>
</head>
<body>
    <div data-role="page">
        <div data-role="header">
            <h1>My First Mobile Site 2</h1>
        </div>
        <div data-role="content">
            <p>Usernamr:<strong><?php echo $_POST['username'];?></strong></p>
            <a href="index.html" data-rel="back" data-role="button">Go Back</a>
        </div>
    </div>
</body>
</html>
街头小贩 2015-08-24
  • 打赏
  • 举报
回复
<p>Usernamr:<strong><?php echo $_POST['username'];?></strong></p>
YOLO系列是基于深度学习的端到端实时目标检测方法。 PyTorch版的YOLOv5轻量而性能高,更加灵活和易用,当前非常流行。 本课程将手把手地教大家使用labelImg标注和使用YOLOv5训练自己的数据集。课程实战分为两个项目:单目标检测(足球目标检测)和多目标检测(足球和梅西同时检测)。 本课程的YOLOv5使用ultralytics/yolov5,在Windows系统上做项目演示。包括:安装YOLOv5、标注自己的数据集、准备自己的数据集、修改配置文件、使用wandb训练可视化工具、训练自己的数据集、测试训练出的网络模型和性能统计。 希望学习Ubuntu上演示的同学,请前往 《YOLOv5(PyTorch)实战:训练自己的数据集(Ubuntu)》课程链接:https://edu.csdn.net/course/detail/30793  本人推出了有关YOLOv5目标检测的系列课程。请持续关注该系列的其它视频课程,包括:《YOLOv5(PyTorch)目标检测实战:训练自己的数据集》Ubuntu系统 https://edu.csdn.net/course/detail/30793Windows系统 https://edu.csdn.net/course/detail/30923《YOLOv5(PyTorch)目标检测:原理与源码解析》课程链接:https://edu.csdn.net/course/detail/31428《YOLOv5目标检测实战:Flask Web部署》课程链接:https://edu.csdn.net/course/detail/31087《YOLOv5(PyTorch)目标检测实战:TensorRT加速部署》课程链接:https://edu.csdn.net/course/detail/32303《YOLOv5目标检测实战:Jetson Nano部署》课程链接:https://edu.csdn.net/course/detail/32451《YOLOv5+DeepSORT多目标跟踪与计数精讲》课程链接:https://edu.csdn.net/course/detail/32669《YOLOv5实战口罩佩戴检测》课程链接:https://edu.csdn.net/course/detail/32744《YOLOv5实战中国交通标志识别》课程链接:https://edu.csdn.net/course/detail/35209《YOLOv5实战垃圾分类目标检测》课程链接:https://edu.csdn.net/course/detail/35284       

87,843

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧