枫铖2017-11-30 16:50:06
The path cannot be written like this in the environment 127.0.0.1 or localhost
PHP中文网2017-11-29 15:25:49
Accessing the file directly through the browser will be treated as a text document, so the content of PHP will be displayed directly.
When accessed through the domain name, the result will be the content parsed by the PHP environment
浮夸2017-11-29 14:40:50
PHP code must be implemented through the server. HTML can be opened directly like you do. PHP must be opened locally by entering localhost or 127.0.0.1 and the path/file name.