Forum Moderators: mack
I want to know how to execute a php file from another file.
I just don't want to use INCLUDE('file.php') function because i'll have problems with paths.
So, I just want to RUN it not CALL it or include it.
Example
index.php:
<?php
EXECUTE 'www.mysite.com/file.php';
my cotent...
?>
Thanks in advance.
$path="/me/user/site/public_html";
include "$path/file.php";
Use a full location that way it will be correct no matther where within the "pyramid" your page is located.
Hope this helps.
Mack.