Explore BrainMass


PHP began in 1994 when Rasmus Lerdorf wrote a series of common gateway interface Perl scripts to help run his personal homepage by displaying his resume, tracking web traffic, etc. From there it has expanded into major industry use as a server-side scripting language for making webpages more dynamic without involving the client-side. The newest release of PHP was in 2013 and it is currently installed on more than 244 million websites and 2.1 million web servers1. The name 'PHP' is something of a joke - it is a recursive acronym that standing for PHP: Hypertext Processor.

Rasmus Lerdorf

PHP operates by being interpreted by a web server with its specific processor module installed and then determining how to generate a webpage by reading the PHP code. PHP code can be standalone, but it is commonly embedded in HTML between delimiters. For example, should you come across something like <?php echo 'Hello World'; ?> in the midst of some HTML, you would know you have stumbled upon a PHP block. In the case of embedding like this, the interpreter is blind to content outside the PHP delimiter tags (<?php ?> are common, but a couple variations exist), though that content may change depending on what the recognizable PHP blocks dictate.

Despite its original purpose, PHP has evolved so that it does not need to be solely used within a web server. It can act as a general purpose language and now includes command-line interface capabilities, as well as some aptitude for standalone graphical applications.



1. Ide, Andy (2013-01-31). "PHP just grows & grows". Retrieved 2013-04-01 from

Building a web-based appointment book

Lab Assignment 6 | Web Forms Appointment Booking Web Form In this assignment you will build a web-based appointment book for February 2009. First you need to generate a static web-based calendar for this specific month. Then you will add the ability for an individual to specify days of the week and times within those days wher

External File Names

Why should you not use an external file name in any place other than the open statement?

Organizational culture shaped by the company's leaders/founders

Organizational cultures have often been fashioned or influenced by the original founders/leaders of the company. However, in a significant number of cases, these cultures have later tended to diverge radically from the founders' original ideals. Offer suggestions as to why and how this divergence occurs? Are there any past co

Appeal of HTML 5 in Page and Site Design

Please help with this question: Describe the appeal of HTML 5 in page and site design. What influence if any will the new markup language have on organizations as they look to rebuild or create their web presence?

Software Package Frequency

For this exercise, please select one software package that you use fairly frequently, and feel reasonably comfortable with. Be sure it is one that is neither proprietary nor classified, in the use sense -- that is, one that is not restricted in its access or use to one particular company or agency, but one that is potentially u

HTML and JavaScript Implementation

Web Page for a Restaurant Design an HTML document for a restaurant using JavaScript, CSS and Dynamic overlay to accomplish the following. Split the window into a minimum of three sections. One section is the MENU ITEMS, another is for displaying the images of the items in the menu, and a third section for displaying the items

Website Navigation and Development Plan

Website architecture and purpose Here is the description of a website named, "University Web Pages". The website is being designed for a University. The professors, students and other staff members can make their profile online and students and other people can visit them. The website will also include project allotment, assign

Website purpose and architecture plan

I need some help with a website plan. I need to articulate the site purpose, target audience and content needs. The first section must also illustrate the site architecture to define the page content, files names, and relationships between pages. The site archtictue map, or storyboard, can be accomplished using Word, PowerPoint,

Need an example of a PHP script that defines two integers as constants

I need some major help here. I have never written a PHP script where the values did not come from a form. So I am asking for some assistance in providing me with an example. I am not sure how many credits to post, so I am going to start out with 5. If you need more, let me know. The reason I am asking for an example is with s

Database connectivity with the Internet

Hi, I need assistance with the following problem please. Write a short description of database connectivity with the Internet using one of the widely disseminated technologies. (i.e. using either active server pages or Java server pages or others). Best Regards,

Pagination (PHP)

The purpose of the attach php code searches a MYSQL database and then return the results to the screen. It works very well, just that it displays all the search results all in one screenful. If it found 100 records then that's how many records it displays to the screen at a time. Need help making it display 10 records at

Repetition and Switch Structures

Write a program that uses repetition and switch structures to print the song "The Twelve Days of Christmas." One switch should be used the print the day (i.e., "First", "Second", "Third", etc.). and another switch structure should print the remainder of each verse.

Poor Web Designs

Browse the Web for examples of poor Web design. Using screen capture, capture Web pages that show two levels of information from the Web site. For example, capture the main page of a Web site and a secondary page. Indicate the jarring or distracting inconsistencies of the site, such as abrupt changes in any design elements, i

PHP Program that Tests E-mail Validity

1- Write a PHP program that tests whether an e-mail address is input correctly. Verify that the input begins with a series of characters, followed by the @ character, another series of characters, a period (.) and a final series of characters. Test your program, using both valid and invalid e-mail addresses. 2- Describe how c

PHP / AJAX Script to fetch member details and total purchases

1. There is an Access database called ImageMasters (that tracks the sales of a photo-selling company) with the tables (all fields text unless noted): - T_Members (MemberId - autonumber, Surname, Forename, PTown, Pcode, Country) - T_Images (Image_category, Image_price - number) - T_Orders (DateOfOrder, ImageCategory, NoOfImag

Remove a user from an email listing

Attached are emailvalidate.js, emailremove.html and eisdb.mdb. Create improve emailremove.html so that the user can request having his/her email address removed, the form validated properly before being posted to "removeemailaddress.php". create using the database eisdb.mdb the PHP script called "removeemailaddress.php" to

PHP flaw - News archive

A number of popular content management and blogging systems based on the PHP scripting language are vulnerable to a flaw in PHP's handling of XML commands.