Home > Backend Development > PHP Tutorial > When downloading software from the website, an error message is reported. The request is not supported.

When downloading software from the website, an error message is reported. The request is not supported.

WBOY
Release: 2016-09-09 08:27:59
Original
1103 people have browsed it

1. I immediately thought that it might be a cross-domain problem
2. I immediately added this sentence to the php fileheader("Access-Control-Allow-Origin:*");
3. Then I I tested it on this machine using the second-level domain name mapped by peanut shells, and I was able to download it after logging in.
4. I would like to ask all the masters here if my thinking is correct (the Internet speed at home is slow and I need to solve this problem urgently tomorrow morning, so this is the only way I can ask). I kneel down here! ! !

This picture is an error message
When downloading software from the website, an error message is reported. The request is not supported.

Reply content:

1. I immediately thought that it might be a cross-domain problem
2. I immediately added this sentence to the php fileheader("Access-Control-Allow-Origin:*");
3. Then I I tested it on this machine using the second-level domain name mapped by peanut shells, and I was able to download it after logging in.
4. I would like to ask all the masters here if my thinking is correct (the Internet speed at home is slow and I need to solve this problem urgently tomorrow morning, so this is the only way I can ask). I kneel down here! ! !

This picture is an error message
When downloading software from the website, an error message is reported. The request is not supported.

Related labels:
php
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