avillanu Posted August 12, 2007 Share Posted August 12, 2007 I have a config.php file with a my MySQL info I'd like to set up a subdirectory "Admin" How do I access config.php from PHP files in my admin subdirectory? Link to comment https://forums.phpfreaks.com/topic/64460-solved-problem-with-paths/ Share on other sites More sharing options...
balistic Posted August 12, 2007 Share Posted August 12, 2007 I have a config.php file with a my MySQL info I'd like to set up a subdirectory "Admin" How do I access config.php from PHP files in my admin subdirectory? ../config.php will allow you to access the file from the previous directory, is that what you meant? Link to comment https://forums.phpfreaks.com/topic/64460-solved-problem-with-paths/#findComment-321366 Share on other sites More sharing options...
avillanu Posted August 12, 2007 Author Share Posted August 12, 2007 yes thanks Link to comment https://forums.phpfreaks.com/topic/64460-solved-problem-with-paths/#findComment-321372 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.