I cant seem to get the realpath function to work with variables is there a way I can fix this? When I use variables in the function it returns nothing I know the pathname works
realpath() returns FALSE on failure, e.g. if the file does not exist. http://php.net/realpath
Check your variables, dude