You can use the function 'system' to execute shell commands including php.

Example:

system("curl https://znation.nl/page.php");
system("php page.php");

For more libcod functions see:...