Solved

PHP, SECURITY

Posted on 2014-01-30
2
348 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Big data transfers via information superhighways require special attention and protection. Learn more about the IT-regulations of the country where your server is located. Analyze cloud providers and their encryption systems for safe data transit. S…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

757 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

22 Experts available now in Live!

Get 1:1 Help Now