tripleM Posted September 19, 2009 Share Posted September 19, 2009 Hi, I got PHP Code which is working somewhere. My job is to change DataBase name(SQLServer) hosted internally and need to run it internally. But I am unable to find , where the connection to SQLServer details have been provided. Even i searched for mssql_xx() function in the entire folder. But no luck. Could any one please tell me where could be the connection details? And also i found some where like include($Dir."Plugs/.LibStd/newfile.php"). What is .LibStd here. Because i am unable to find that.LibStd inside Plugs folder? I guess, if i find .LibStd folder and newfile.php, there could be the connection details. Thanks, tripleM Link to comment https://forums.phpfreaks.com/topic/174776-not-able-to-find-connection-details-in-php-code/ Share on other sites More sharing options...
Handy PHP Posted September 19, 2009 Share Posted September 19, 2009 So that ".LibStd" is a hidden folder... Most software automatically hides any files or folders on a server that start with a period. You'll have to manually type the directory name into your FTP client or filemanager. Most software that hides these folders and files have a setting to show such files if you turn it on. Usually, connection details are kept in the root under a file called config.php or something similar but since this script has a directory that has been purposefully hidden, it is probably in there. Good Luck, Handy PHP Link to comment https://forums.phpfreaks.com/topic/174776-not-able-to-find-connection-details-in-php-code/#findComment-921109 Share on other sites More sharing options...
tripleM Posted September 19, 2009 Author Share Posted September 19, 2009 No Luck . Actually i am getting the following error Warning: include(C:/Apache/localfolder/Plugins/.LibStd/sample.php) [function.include]: failed to open stream: No such file or directory in C:\Program Files\Apache Group\Apache2\htdocs\Apache\localfolder\Plugins\Users\login.php on line 8 Warning: include() [function.include]: Failed opening 'C:/Apache/localfolder/Plugins/.LibStd/sample.php' for inclusion (include_path='.;C:\php5\pear') in C:\Program Files\Apache Group\Apache2\htdocs\Apache\localfolder\Plugins\Users\login.php on line 8. Thanks, tripleM Link to comment https://forums.phpfreaks.com/topic/174776-not-able-to-find-connection-details-in-php-code/#findComment-921117 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.