Home > Backend Development > PHP Tutorial > PHP Eclipse从html页面跳转PHP页面问题

PHP Eclipse从html页面跳转PHP页面问题

WBOY
Release: 2016-06-23 13:37:08
Original
1284 people have browsed it

1、问题

由html页面跳转到PHP页面时,PHP页面的内容无法解析,仅仅返回PHP页面内容。

2、解决方案

将跳转到PHP页面的路径改为绝对路径

3、实例

Copy after login

<span style="font-size:18px;"><form action="http://localhost/Workspace/FirstPHP/TestPost.php" method="post" enctype="multipart/form-data"></form></span>
Copy after login


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template