Forum Moderators: coopster
Example:
echo '<pre>';
print_r(get_defined_vars());
echo '</pre>';
Try this in a script where you included the file you want to protect to see what variables are being defined.
In order to get the format that you want you have to go through the array and echo the index and its content using a loop.
It is my understanding that you want the variables just to check to see if your included file is passing variables?