Explore BrainMass

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 http://news.netcraft.com/archives/2013/01/31/php-just-grows-grows.html.

    © BrainMass Inc. brainmass.com May 24, 2024, 1:22 pm ad1c9bdddf

    BrainMass Solutions Available for Instant Download

    Php code

    Some tips about using php code to - Add a new item to the database - Delete an existing item from the database, Note: need some help on how to use PHP code to add and delete item from database.

    External File Names

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

    Adding a cookie

    In PHP and Javascript, when the given function has verified that all of the required field have been filled, a cookie is added to the user's computer. If the same user attempts to fill out the form a second time, the user will be directed to a separate HTML page advising them that they have already submitted the form.

    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?

    PHP and ASP are both well suited for web development

    PHP and ASP are both well suited for web development. What are some of the features and capabilities that exemplify this predisposition towards web development? Are there any implementations for running client-side PHP?

    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

    SQL - Ashton Manufacturing Inc

    Tom Ashton started Ashton Manufacturing Inc (AMI) several years ago. The Company has grown quickly from a small operation to the mid-sized organization it is today. AMI has an opportunity to take on an additional customer. This arrangement will allow AMI to grow to a large organization operating nearly 24 hours a day / 7 days a

    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,

    MySQL, PHP Sessions and Cookies

    What are the advantages and disadvantages of using cookies? What are the advantages and disadvantages of using sessions? Is one more secure than the other? Why?

    Php "Change Maker" Script

    Write a "Change Maker" script in Php that will ask user for the price of the merchandise and the amount paid, and will calculate the change to be returned in terms of $1 bills, Quarters, Dimes and Pennies. In case the amount paid is insufficient to pay for the merchandise, user should be alerted about that. Please refer to th

    Php Random Quote Generator

    The PHP script should read quotes from a 'quotes.txt' data file and display one random quote on the web page each time the page is refreshed. The script should also display the author information formatted underneath the quote. It should also add the quotes submitted by user, to the same data file. The application could look som

    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

    principles of AJAX programming

    I need to apply a variant to the code files provided below utilising the PHP script provided. I want to apply the principles of AJAX programming utilising the principles and implement AJAX based solutions for adding and deleting records from the flaming database. Add a new product to the flamingo database. Delete an exis

    PHP and MVC

    I have a PHP script and I need to implement the MVC design pattern to produce a product listing, and also to Update the fields of an existing Product. I need to apply the MVC design pattern to the PHP scripts. Add a new product to the database. Delete an existing product Also consider that you need to add to the prodlist

    The Logon and Forgotten Password Scripts for HTML and PHP

    Attached are eislogin.html and eisdb.mdb. Improve eislogin.html so that the user can login to eisdb.mdb, the form is properly validated before submission, the password minimum length of 7 characters and maximum of 20 characters are not exceeded. Also create the server-side PHP script to which eislogin.html passes this informa

    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

    Flat-File Ideas

    As far as flat-files go I think they really do have a place in some applications still. There are a couple of industries that rely on them heavily I am sure.

    Poll on a Web Page

    Please provide the code for the data storage file for the attached poll. Helpful suggestions are below: Create the database/Setup database tables Identify a Primary Key Store the questions results each time a response is submitted. Use INSERT statements to populate the table Issue SELECT SQL statement(s) that request all