?
Solved

PHP, SECURITY

Posted on 2014-01-30
2
Medium Priority
?
365 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Accepted Solution

by:
gr8gonzo earned 2000 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

A look at what happened in the Verizon cloud breach.
This article is written by John Gates, CISSP. Gates, the SNUG President-Elect, currently holds the position of Manager of Information Systems at Lake Park High School in Roselle, Illinois.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

743 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