location='/manage'"; 2. Add code "header("Content-type: text/html; charset=utf8); "."/> location='/manage'"; 2. Add code "header("Content-type: text/html; charset=utf8); ".">

Home  >  Article  >  Backend Development  >  What to do if php jump fails

What to do if php jump fails

藏色散人
藏色散人Original
2020-10-10 09:15:103241browse

Solution to PHP jump failure: 1. Use js code "<script>location='/manage'</script>"; 2. Add code "header("Content-type: text /html; charset=utf8);".

What to do if php jump fails

Recommended: "PHP Video Tutorial"

Question code:

What to do if php jump fails

1. You can try using javascript to jump to the page. echo "<script>location='/manage'</script>";

2. For encoding issues, write header("Content-type: text/html; charset=utf-8");

The above is the detailed content of What to do if php jump fails. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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