Wednesday, April 26, 2017

How to include php file in another php file

How to include php file in another php file
How to include php file in another php file?

    <?php include("example.php"); ?>

Sample example.php file content:

<?php
    function _encrypt($in)
    {
        /*Your code here*/
        return $out;
    }

    function _decrypt($in)
    {
        /*Your code here*/
        return $out;
    }
?>

No comments:

Post a Comment