谁能告诉我ASP和PHP脚本的区别在哪里,我怎么能看出来这是PHP脚本?

来源:百度知道 编辑:UC知道 时间:2024/05/14 13:32:37
还有我把PHP的脚本放到新建的ASP页里可以吗?
下面的代码是什么?我看这里除了这些都是JAVASCRIPT,还有就是表单了,我可不可以全复制到ASP页里?因为JS 和表单都可以通用的吧?
<head>

<!-- Title displayed in top of the webbrowser -->
<title>Power leveling Order Form</title>
<!-- The file with the style sheet -->
<link href="style.css" rel="stylesheet" type="text/css" />

<!--[if IE]>
<style type="text/css">

#footer
{
left:1px;
}

#core_right
{
height:300px;
margin-left:5px;
}
.content-box
{
margin-left:5px;
}

</style>
<![endif]-->

asp: <% ... %>
php: <? ... ?>

你贴得是html+jscript,ASP,PHP都能放

可以,你的是html内容,所以可以在php和asp中任意插,用include语句
但是必须把html,head,title,body全去掉,然后用<!-- #include file="你的文件名.php" -->