mardi 29 décembre 2015

include external php files(not in laravel directory) in laravel

I want to include an external PHP file into my service provider, that file is in a different folder. Like my file is in folder1 and this folder is at same level as laravel is.

   C:\xampp\htdocs\registration\php\file.php //this is file
   C:\xampp\htdocs\_problem_sharing\app\AppServiceProvider

This is how I am trying right now

include_once "/../../../registration/php/user_info.php";



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire