Click here to Skip to main content
15,887,746 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
AnswerRe: PHP Form is not working. Pin
Gerben Jongerius30-Nov-11 22:03
Gerben Jongerius30-Nov-11 22:03 
GeneralRe: PHP Form is not working. Pin
m_kukulka5-Dec-11 8:05
m_kukulka5-Dec-11 8:05 
AnswerRe: PHP Form is not working. Pin
kannan pichumani8-Dec-11 1:31
kannan pichumani8-Dec-11 1:31 
QuestionFrom name & email Pin
Jassim Rahma28-Nov-11 4:42
Jassim Rahma28-Nov-11 4:42 
AnswerRe: From name & email Pin
Graham Breach28-Nov-11 7:40
Graham Breach28-Nov-11 7:40 
QuestionPROPERTIES file in PHP Pin
Aniket S Kulkarni28-Nov-11 2:35
Aniket S Kulkarni28-Nov-11 2:35 
AnswerRe: PROPERTIES file in PHP Pin
Mohibur Rashid28-Nov-11 19:16
professionalMohibur Rashid28-Nov-11 19:16 
AnswerRe: PROPERTIES file in PHP Pin
Aniket S Kulkarni28-Nov-11 19:49
Aniket S Kulkarni28-Nov-11 19:49 
Thank you. Smile | :)
I studied on the topics you provided.

I think, Java uses properties files because Java code gets compiled into binary format and therefore making any code changes becomes difficult. By removing configuration values of a text file, Java enables people to change the configuration without recompiling.

PHP, on the other hand, is not compiled into binary. Therefore, the PHP files are always editable by a a plain text editor. Most PHP apps handle configuration options by placing them into a separate PHP file with lots of comments describing each setting. And the settings are directly made to variables. Then any PHP code that needs those settings includes that file and then uses the variables. For an example of this, look at the settings.php file that comes with Drupal.
GeneralRe: PROPERTIES file in PHP Pin
Mohibur Rashid28-Nov-11 20:29
professionalMohibur Rashid28-Nov-11 20:29 
GeneralRe: PROPERTIES file in PHP Pin
Aniket S Kulkarni28-Nov-11 21:02
Aniket S Kulkarni28-Nov-11 21:02 
QuestionSMPP for PHP Pin
Jassim Rahma26-Nov-11 22:27
Jassim Rahma26-Nov-11 22:27 
AnswerRe: SMPP for PHP Pin
Satheesh154627-Nov-11 17:08
Satheesh154627-Nov-11 17:08 
AnswerRe: SMPP for PHP Pin
Mohibur Rashid29-Nov-11 20:23
professionalMohibur Rashid29-Nov-11 20:23 
QuestionCake PHP Pin
sarang_k23-Nov-11 17:20
sarang_k23-Nov-11 17:20 
AnswerRe: Cake PHP Pin
Satheesh154623-Nov-11 18:38
Satheesh154623-Nov-11 18:38 
QuestionRed Hat Enterprise install issue... Pin
Albert Holguin23-Nov-11 2:42
professionalAlbert Holguin23-Nov-11 2:42 
AnswerRe: Red Hat Enterprise install issue... Pin
Kevin Schaefer3-Jan-12 12:34
Kevin Schaefer3-Jan-12 12:34 
GeneralRe: Red Hat Enterprise install issue... Pin
Albert Holguin4-Jan-12 10:23
professionalAlbert Holguin4-Jan-12 10:23 
QuestionQT Pin
Iranian MM22-Nov-11 19:43
Iranian MM22-Nov-11 19:43 
QuestionRe: QT Pin
Albert Holguin23-Nov-11 2:36
professionalAlbert Holguin23-Nov-11 2:36 
AnswerRe: QT Pin
Iranian MM23-Nov-11 21:46
Iranian MM23-Nov-11 21:46 
GeneralRe: QT Pin
Richard MacCutchan23-Nov-11 22:20
mveRichard MacCutchan23-Nov-11 22:20 
GeneralRe: QT Pin
Bernhard Hiller23-Nov-11 23:42
Bernhard Hiller23-Nov-11 23:42 
GeneralRe: QT Pin
Richard MacCutchan24-Nov-11 0:41
mveRichard MacCutchan24-Nov-11 0:41 
GeneralRe: QT Pin
Iranian MM24-Nov-11 0:07
Iranian MM24-Nov-11 0:07 

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.