I am wondering if this is possible at all to pass a varibale into an included file in this manner, I know I can just set the variable but im wonder ig this would work this way as well or not?
//file_1.php
<?PHP
require_once "file_2.php?size=2";
?>
//file_2.php
<?PHP
$size = (!empty($_GET['size'])) ? $_GET['size'] : 1;
echo $size; //shows "2"
?>