Answer the question
In order to leave comments, you need to log in
Is it permissible to make a php page on includes?
It is necessary to make a one-pager for a person who can break the code if he edits it.
I want to make a php page and include php files with content in it. Which to give to a person for editing, and only share the directory with them.
But somewhere I remember something that a lot of inclusions is not correct.
Is this true, and if so, what is the best way to implement it in my case?
ZYZH CMS to fasten in this case, I think it's redundant.
Answer the question
In order to leave comments, you need to log in
What is "acceptable"?
You have to do as you see fit. Thinking "What if they think that I'm a sussi-pusi govnokoder" is a bad idea.
The article seems to hint.
No need to complicate.
Well, actually, the era of namespaces and autoloaders has long been. That is why they try to avoid inclusions. But in your case, why not? :)
I may be wrong, feel free to correct me.
But instead of include it is better to use require.
www.php.su/require_once
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question