[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 374
  • Last Modified:

PHP, SECURITY

i Need to know what is PHP, how it works in an organization,

how to install and configure PHP .



is there any material you can recomend so i can go through
0
pramod1
Asked:
pramod1
1 Solution
 
gr8gonzoConsultantCommented:
Hi there,

PHP is basically a scripting language that can be used for a variety of purposes, but the TYPICAL way it's used is to generate web pages.

All browsers basically work with HTML. Browsers don't read PHP. How it works is that when a browser goes to a PHP page, the PHP engine starts up and processes all the code in the requested page. It then sends the RESULTS of that page (which is usually HTML) back to the browser.

So for example, you may have a PHP page that says this:
<?php
echo "<h1>Hello world!</h1>";
?>

Open in new window

...but when it gets processed, the result is simply HTML:
<h1>Hello world!</h1>

Open in new window


PHP can do a lot of things (work with databases, work with other servers, process forms, etc... which is why people use it instead of just plain HTML (because HTML cannot do those things by itself). So PHP can do them and then spit back the results as if it were an HTML page the whole time.

PHP typically runs as a plug-in for web servers like Apache or IIS.

Here's a good article that gives some advice to people who are new to PHP, including references to other resources (tutorials, books, etc):
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_11769-And-by-the-way-I-am-new-to-PHP.html

As far as installing it, I would suggest just going to the PHP home page (www.php.net) and following the instructions. It's not as complicated as you might think and there are step-by-step instructions for most people.
0
 
G Jayendra KartheekCommented:
PHP is a server side scripting language used to load dynamic data into HTML forms

In simple terms its is code written to get the data from database and load into the HTML page on load.

This language is more near to the general English language that makes you to learn coding PHP very easy.

One thing i want to tell you about PHP is "The php loads only from top to bottom when you load page".

As this is a opensource language you can find any code snippet you can in the internet.

You can use php as a code to develop websites. Eg., Facebook.com

For more information about how to install and use php you can go through the official documentation of PHP - http://www.php.net/manual/en/install.php
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now