ThespecifiedURLcannotbefound. PHP page test. php is an upload page that can be opened directly. However, if you accept the upload, the system prompts ThespecifiedURLcannotbefound. the code is absolutely correct! & Lt ;? Php The specified URL cannot be found.
The PHP page test. php is an upload page that can be opened directly, but when The upload is accepted, The system prompts The specified URL cannot be found. The code is absolutely correct!
Require_once dirname (_ FILE _). '/config. php ';
Require_once ROOT. 'checklogin. php'; // Check the logon status
If (isset ($ _ FILES ['file']) {
Echo 5; exit;
} Else {
Require_once ROOT. 'Templates/upload.htm ';
}
.
In server deployment, server a and server B perform load balancing, while test. php performs linux soft link to the hard disk of another physical machine. Why can I directly open test. php but cannot POST it ?.. The server WEBSERVER uses NGINX and does not know where the problem is...
------ Solution --------------------
Enable the error display function. Whether the included path is correct.
------ Solution --------------------
The specified URL cannot be found
The php feedback indicates that the php page to be executed is not found. Check the path. you can also view the php log/www. access. log and nginx access log.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service