suchen

Heim  >  Fragen und Antworten  >  Hauptteil

Was ist der Unterschied zwischen 360-Browser und IE-Browser? ? ?

//form.html

<html>

<head>

<meta charset="utf-8">

<title>Rookie-Tutorial (runoob.com)</title>

</head>

<body>

<form action="welcome.php" method="post">

Name: <input type="text" name="fname"> ;

Alter: <input type="text" name="age">

<input type="submit" value="Submit">

</form>

</body> ;

</html>

//welcome.php

<?php

header("content-type:text/html;charset=utf-8");

$name =$_POST['fname'];

$age=$_POST['age'] ;

echo $name;

echo $age;

?>

Diese beiden Codes sind im IE, Es kann normal im Google-Browser ausgeführt werden, jedoch nicht im 360-Browser. Warum?

刘进乾刘进乾1549 Tage vor3011

Antworte allen(1)Ich werde antworten

  • 灭绝师太

    灭绝师太2020-11-11 09:18:38

    360浏览器F12检查一下,是兼容性问题,为360浏览器上独立写一套能正常显示的代码,然后2者比较差异 然后你就知道为什么了,然后你就积累了兼容性的经验。

    Antwort
    0
  • StornierenAntwort