I wanted to use PHP do do a little thing, but I needed to know how to get a variable from an external document (say external.php) and use it in a function in a PHP document (internal.php). I was thinking maybe something like this:
External.php Kod
$variable = "true";
Internal.php Kod
if ($GETFROM{'/external.php'}['variable'])
echo "It worked";
Böyle bir şey yapmak için herhangi bir yolu var mı?