Solved

PHP, SECURITY

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Attach to file (img) a unique id 8 27
reverse email lookup 8 55
ASP server side get value 15 24
How to obtain the string from a PHP StdObject ? 6 20
If you thought ransomware was bad, think again! Doxware has the potential to be even more damaging.
Pop culture is prime bait for hackers seeking to infect user’s computers and mobile devices with malicious malware. Hackers know exactly what the latest trends are online and know how to use them to their advantage.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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.

831 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