Why does an HTML iframe work properly, but does PHP's include return "file not find?


In PHP, I want to show a static HTML file in the index.php file. When I useiframe everything works OK, but I want use theinclude function. I use__FILE__ or__DIR__ but the problem remains.
Which differences exist between the HTMLiframe and PHP'sinclude?

People are also looking for solutions to the problem: php - Laravel Class 'InterventionImageImageServiceProvider' not found


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.