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 ;? Phprequire_oncedirname (_ FILE _). config. php; require_o 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.