Click here to Skip to main content
16,014,392 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: help needed...!!! Pin
Colin Leitner28-Jul-02 23:04
Colin Leitner28-Jul-02 23:04 
QuestionFile Manager in ASP?? Pin
dannytired26-Jul-02 6:13
sussdannytired26-Jul-02 6:13 
AnswerRe: File Manager in ASP?? Pin
Philip Patrick26-Jul-02 23:34
professionalPhilip Patrick26-Jul-02 23:34 
Generalrot N encryption using Javascript Pin
'Anil' Radhakrishna25-Jul-02 19:48
'Anil' Radhakrishna25-Jul-02 19:48 
GeneralRe: rot N encryption using Javascript Pin
Colin Leitner26-Jul-02 2:43
Colin Leitner26-Jul-02 2:43 
GeneralRe: rot N encryption using Javascript Pin
alex.barylski26-Jul-02 7:41
alex.barylski26-Jul-02 7:41 
GeneralRe: rot N encryption using Javascript Pin
Colin Leitner26-Jul-02 8:14
Colin Leitner26-Jul-02 8:14 
QuestionDatabase security...? Pin
alex.barylski25-Jul-02 17:16
alex.barylski25-Jul-02 17:16 
Question:

Why is it such a bad thing to keep my connection string inside any *.php file...??? I've read from differ sources that so long as your database password/username are used inside PHP and your webserver is setup correctly this posesses no problems... (assuming because any PHP is exeuted on the server before being sent to the browser as PLAIN HTML?). However I have also read that you should store your database connection routines in an external PHP file somewhere other than your docroot and include into your main PHP code using require() or include()

What the hell does that mean...??? my doc root I am assuming is the directory on the server which is mapped to my IP/domain name???

example:
home/domain/mainwebsite_html
home/domain/mainwebsite_bin


However I don't think I can transfer files anywhere other than child folders I create or in the two listed above...or can I...??

If I FTP'ed a file under just home/ would this be considered somewhere other than docroot..?? if so why is this the safer method...??

Thanx in advance Smile | :)

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
AnswerRe: Database security...? Pin
Jeremy Falcon26-Jul-02 6:25
professionalJeremy Falcon26-Jul-02 6:25 
Questionhow to use Tree view Pin
Mustafai25-Jul-02 11:30
Mustafai25-Jul-02 11:30 
GeneralPublishing ASP.NET from VS.NET Pin
afronaut25-Jul-02 11:00
afronaut25-Jul-02 11:00 
Generaljavascript and forms Pin
Anonymous25-Jul-02 9:41
Anonymous25-Jul-02 9:41 
GeneralRe: javascript and forms Pin
alex.barylski25-Jul-02 17:01
alex.barylski25-Jul-02 17:01 
GeneralRe: javascript and forms Pin
l a u r e n27-Jul-02 1:43
l a u r e n27-Jul-02 1:43 
GeneralDSN Connection Pin
Pradhip25-Jul-02 7:49
Pradhip25-Jul-02 7:49 
GeneralRe: DSN Connection Pin
Philip Patrick26-Jul-02 23:37
professionalPhilip Patrick26-Jul-02 23:37 
QuestionForm processing with HTML embedded langs...??? Pin
alex.barylski24-Jul-02 23:59
alex.barylski24-Jul-02 23:59 
AnswerRe: Form processing with HTML embedded langs...??? Pin
benjymous25-Jul-02 0:52
benjymous25-Jul-02 0:52 
GeneralRe: Form processing with HTML embedded langs...??? Pin
alex.barylski25-Jul-02 16:55
alex.barylski25-Jul-02 16:55 
QuestionASP + ORacle Functions? Pin
Anonymous24-Jul-02 5:28
Anonymous24-Jul-02 5:28 
AnswerRe: ASP + ORacle Functions? Pin
Nick Parker24-Jul-02 16:54
protectorNick Parker24-Jul-02 16:54 
GeneralHTML Forms Pin
jerry0davis24-Jul-02 0:51
jerry0davis24-Jul-02 0:51 
GeneralRe: HTML Forms Pin
Paul Watson24-Jul-02 3:57
sitebuilderPaul Watson24-Jul-02 3:57 
GeneralRe: HTML Forms Pin
jerry0davis24-Jul-02 4:12
jerry0davis24-Jul-02 4:12 
GeneralRe: HTML Forms Pin
jerry0davis24-Jul-02 4:21
jerry0davis24-Jul-02 4:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.