requires downloading the file (from the file path) to include. It does not request this file via apache (or another web server), so you cannot pass query strings this way.
If you need to transfer data to a file, you can simply define a standard php variable.
Example
<?php $a_variable = "data"; require_once('../path/to/url/page.php'); ?>
Please note: the variable must be set before calling include / require, otherwise it will not be available.
Codemwnci
source share