DJMcCar12
15 Jun 2012, 08:20 AM
Hey guys so I'm trying to use a login function that I wrote on a seperate php file and I figured reqiure_once() was the right way to go. Unfortunately I'm having some problems using it.
My friend (I'm designing the website for him) is using GoDaddy as his hosting service and it's telling me that the absolute path should be '/home/##/#####/filename.php'. However, when I write:
require_once('/home/##/#####/myFile.php');
It throws an error saying that the file cannot be found. I've checked my syntax many times over and can't figure out what the problem is. Am I missing something obvious here?
Any help would be appreciated.
My friend (I'm designing the website for him) is using GoDaddy as his hosting service and it's telling me that the absolute path should be '/home/##/#####/filename.php'. However, when I write:
require_once('/home/##/#####/myFile.php');
It throws an error saying that the file cannot be found. I've checked my syntax many times over and can't figure out what the problem is. Am I missing something obvious here?
Any help would be appreciated.