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? Quote 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? Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/64460-solved-problem-with-paths/#findComment-321372 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.