I'm using jQuery load to update the content of a div when I click a button. Is there any way to make the loaded file (include.php) see the constant defined in index.php?
index.php:
define('CONSTANT', TRUE);
<div id="mydiv"></div>
<button onclick="$("#mydiv").load("include.php")">
include.php...