PHP doing an include statement in a single file but many files will be affected
<p>Does someone know how to make a script that is always included in a php file.
<br>
For Example, I have an index.php, I wanted to include script.php by doing <code>include 'script.php';</code>
Again, I have a login.php and I wanted to include script.php by doing <code>include 'script.php';</code></p>

<p>I think this is very tiring to do and I think this is not a good idea because it is very repetitive. Is there a way where I can include <code>script.php</code> without doing include in each of the file? Like I should do that in a single file then everything would be affected.</p>

<p>Any idea would be greatly appreciated and rewarded. Thanks! :)</p>
