php

87
Views
1
Answers

what is php and what is it use for?

edit | flag
Sham Yadav
Asked on: Feb 12, 2014 at 12:03PM

1 Answers

177
0
177

What is PHP?

PHP - Hypertext Preprocessor is a general-purpose scripting language that is used for web development along with HTML. PHP scripts are executed on the server

For Example ( please add the starting tag for the below html. The text editor is not allowing script tags)

html>
    head
>
        title
>PHP Sample /title>
   
/head>
    body>

        ?php
            echo "Hi, this is PHP example script!";
        ?>

    /
body>
/html>

So what can PHP do?

PHP can generate dynamic page content
PHP can create, open, read, write, delete, and close files on the server
PHP can collect form data
PHP can send and receive cookies
PHP can add, delete, modify data in your database
PHP can authorize and authenticate users on your website
PHP can handle security mechanisms.

edit | flag
William Patrick
Answered on: Feb 26, 2014 at 7:28AM

Post your Answer

Search

Welcome to Ask Amoeba!
This is 100% free and interactive site for sharing professional Questions and Answers, Opensource projects, Interview questions.
Learners, beginners, Experts stop and share your knowledge and ideas!

Browse Categories

Browse Tags