How to save inclusion links when loading a new form in PHP?

First of all, I want to really apologize because my question does not clearly explain what I want to do. I wish my English was better.

However, the explanation:

I have a web form called index.php. On it, I included some "link paths" (as I call them):

<script>jqueryUI</script>
<?php include_once('a path.php'); ?>
<link href="<'my.css' rel="stylesheet" type="text/css" />

In my opinion, these are all inclusions.

And I have another form, say, "popup.php", which should be loaded when I click on the link to index.php.

What I need to do is that the new popup.php will inherit these inclusion paths (as I called them) automatically upon loading. In other words, I do not want to include these files twice due to incompatibility issues.

How to do it?

, , , , .

.

+3
1

, PHP, . , , include.php. , .

0

All Articles