Is it possible to
make a separate php file with variables declared in the file executed by an fopen statement to the seperate php file.... so
it would be like having a file called example.php within it i have a variable declared, $var = 500;
I then use fopen to open up a php file called file.php that has the following code <?php echo $var; ?>
how would i get it to say 500 instead of just the code itself..
I do not want the file to execute the code written in it. I am calling it so i can copy it instead of having to manually recreate each individual page and fill in the different changes
make a separate php file with variables declared in the file executed by an fopen statement to the seperate php file.... so
it would be like having a file called example.php within it i have a variable declared, $var = 500;
I then use fopen to open up a php file called file.php that has the following code <?php echo $var; ?>
how would i get it to say 500 instead of just the code itself..
I do not want the file to execute the code written in it. I am calling it so i can copy it instead of having to manually recreate each individual page and fill in the different changes