What to do with php files...?

  • Thread starter Thread starter redgemini8219
  • Start date Start date
R

redgemini8219

Guest
I want to add a comments section on an offline site (or Intranet) which is completely HTML/JavaScript based. I have loads of php files but I don't know what to do with them? Do they fit the code from them into the web pages or where do I put them? Can someone tell me what I'm supposed to do here?
 
your question makes absolutely no sense. if you don't know what they are, you sure aren't going to be able to figure out what to do with them. Google 'php web pages' and get yourself and education.
 
The question is whether this Intranet of yours has PHP support. PHP is a server side scripting language, therefore just dropping .php files in your Intranet won't make them work.

Things like HTML for example are client-side scripting languages whereby they're handled by the browser. This is where different browsers (such as Internet Explorer and FireFox) display websites a little differently sometimes.

PHP is server-side and is not handled by the browser. PHP files (and PHP code) is handled by a PHP interpreter which simply sends back HTML and plain text content to the browser - which the browser understands, and makes it display on your screen, like now.
 
Back
Top