Embed a file in several others [solved]

To do with I said in the subject I have to use necessarily include function (wirth absolute path, in remote, it seems impossible)?
I know that via javascript I can have a div from another file (even other server), with a code the following:

<script>
$( "#new" ).load( "/your-path/your-file.php #your-div" );
</script>

But could I insert a whole file?

I noticed that for my needs I can create a div of almost all that file and so get what I need to get (in other files).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.