Members allan grossman Posted July 7, 2003 Members Share Posted July 7, 2003 One thought, though - It night not be a good idea to put the database username and password in a public page. I'd kinda prefer we didn't because if php ever hiccups the webserver will display the contents of a php file instead of executing it.I'd put the info in a separate file in another directory - call it config.inc.php or something like that and stick an .htaccess in there to deny access to anybody but the webserver user (apache). I can help you with the .htaccess file - I don't think you can set one in there that can be read only by the webserver without a little help from root Something like this in a directory called "admin" would work -require('./admin/config.inc.php');and set the variables there.Food for thought - I know you're still fooling around with this stuff and I don't speak php at all Link to comment Share on other sites More sharing options...
Members monark Posted July 7, 2003 Author Members Share Posted July 7, 2003 Originally posted by allan grossman One thought, though - It night not be a good idea to put the database username and password in a public page. I'd kinda prefer we didn't because if php ever hiccups the webserver will display the contents of a php file instead of executing it. I'd put the info in a separate file in another directory - call it config.inc.php or something like that and stick an .htaccess in there to deny access to anybody but the webserver user (apache). I can help you with the .htaccess file - I don't think you can set one in there that can be read only by the webserver without a little help from root Something like this in a directory called "admin" would work - require('./admin/config.inc.php'); and set the variables there. Food for thought - I know you're still fooling around with this stuff and I don't speak php at all good idea! Link to comment Share on other sites More sharing options...
Members monark Posted July 9, 2003 Author Members Share Posted July 9, 2003 well, the page is update so far.im working like crazy to get this php version goin.don't give up on me yet;) Link to comment Share on other sites More sharing options...
Members My bass in your face Posted July 9, 2003 Members Share Posted July 9, 2003 Curt, let me know when I can send you meeting pictures. Link to comment Share on other sites More sharing options...
Members monark Posted July 9, 2003 Author Members Share Posted July 9, 2003 send em if ya got.i'll try to get to that part when i can:) Link to comment Share on other sites More sharing options...
Members monark Posted July 10, 2003 Author Members Share Posted July 10, 2003 this thread is gonna be moved to the FAQ forums soon.just letting you all know. Link to comment Share on other sites More sharing options...
Members lug Posted November 19, 2019 Members Share Posted November 19, 2019 bump Link to comment Share on other sites More sharing options...
Moderators isaac42 Posted November 19, 2019 Moderators Share Posted November 19, 2019 Now you're pushing the limits! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.