Solved

PHP, SECURITY

Posted on 2014-01-30
2
350 Views
Last Modified: 2014-04-30
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
Comment
Question by:pramod1
2 Comments
 
LVL 34

Accepted Solution

by:
gr8gonzo earned 500 total points
ID: 39821002
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
 

Expert Comment

by:G Jayendra Kartheek
ID: 40031931
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By this time the large percentage of day-to-day transactions have shifted to mobile banking; here are some overriding areas QAs must investigate while testing mobile banking apps.  
An analysis of the phishing scam that has been affecting Google users, along with steps to take for protection, as well as what to do if you receive one of the emails.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now