Ayrı bir dosyadan kod eklemek veya çalıştırmak için PHP bir yolu var mı?
Örneğin, 2 dosya varsa:
a.php, hangi içerir:
<?php echo "i'm a.php"; ?>
ve b.php ihtiva eden:
<?php
echo "i'm b.php";
// some code here to "execute" a.php so that it prints i'm a.php as the output.
?>
B.php çalıştırıldığında göstermesi gerekir:
i'm b.php
i'm a.php