Execute php file from another php
- by skiria
I try to call a php file that starts like
<?php
//Connection
function connection () {
...
I call from a php like:
<?php
exec ('/ /opt/lampp/htdocs/.../name.php)')
?>
I get:
line1-> cannot open ?: No such file
line 3 //Connection: not found
line 4 Syntax errror: "("
What happens? Why I can't execute it?