In dreamweaver, html cannot write php Dreamweaver php HTML
Use The written code will not be executed. open the browser and check that the source code is commented out. why?
As follows,
Reply to discussion (solution)
The PHP file will be compiled and executed by the server.
The php file will only be compiled and executed by the server. my homepage is html, and then I can determine if I have logged on to the session implementation and want to change it to a php page?
The php file will only be compiled and executed by the server. my homepage is html, and then I can determine if I have logged on to the session implementation and want to change it to a php page?
Use the php page
Html can only be static
The php file will only be compiled and executed by the server. my homepage is html, and then I can determine if I have logged on to the session implementation and want to change it to a php page?
Use the php page
Html can only be static. but I think the main pages of other people are index.html, and they also have login judgments?
That is determined by ajax.
Or rewrite the url.
That is determined by ajax.
Or rewrite the url. okay, isn't it true that php can be embedded anywhere?
That is determined by ajax.
Or rewrite the url. okay, isn't it true that php can be embedded anywhere?
Who said that?
PHP ("PHP: Hypertext Preprocessor") is a widely used open-source multi-purpose scripting language that can be embedded into HTML.
... Can I use. php as the homepage?
PHP ("PHP: Hypertext Preprocessor") is a widely used open-source multi-purpose scripting language that can be embedded into HTML.
... Can I use. php as the homepage?
Yes. you can use index. php on the homepage.
If you want to implement the index.html format, you can use URL rewriting.
PHP ("PHP: Hypertext Preprocessor") is a widely used open-source multi-purpose scripting language that can be embedded into HTML.
... Can I use. php as the homepage?
Yes. you can use index. php on the homepage.
If you want to use the index.html format, you can use URL rewriting to implement simplicity.
You can search for pseudo-static estimates to solve your problem.
Thank you! I used ajax to solve the problem.
Your HTML execution of PHP depends on your WEB server. the default configuration is not to execute PHP in HTML.