use*_*642 0 html javascript css php jquery
我在这个论坛上搜索了很多,以隐藏一些信息,如脚本include和css,我找不到任何有效的解决方案
这就是我在PHP脚本中所做的事情
<html>
<head><?php include('mylibrary/my_include.php');?></head>
<body>
<div></div>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
在视图源我得到这样的
<html>
<head>
<!-- My function -->
<script type='text/javascript' src='Library/My_fun.js'></script>
<!-- Index -->
<link type="text/css" rel="stylesheet" href="Index/Index.css" />
<link type="text/css" rel="stylesheet" href="JS/jquery-ui.css" />
</head>
<body>
<div></div>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
我想隐藏在'mylibrary/my_include.php'中的视图源中的js和css ,是否可以这样做?或任何替代解决方案仅在viewsource或任何其他内容中显示以下内容
<head><?php include('mylibrary/my_include.php');?></head>
Run Code Online (Sandbox Code Playgroud)