Online Programz

Daily Archives : November 2nd, 2009

Difference Between HTML & PHP

PHP files are just like HTML files, but they can include both HTML and PHP code. The PHP code is parsed (or executed) by the Web server when the page is accessed and the resulting output is written as HTML within the Web page. When a user accesses a PHP page, his Web browser only gets sent the HTML code, since the Web server has processed the PHP code in the background. Most PHP pages are processed so quickly that it does not noticeably slow down the loading of the Web page.

The .php extension is important, since it tells the Web server that the page may include PHP code. Therefore, it must be run through the server’s PHP engine before being sent to a client’s Web browser. This allows dynamic content to be generated each time the Web page is loaded, based on the variables included in the PHP code. For example, PHP pages may load objects such as the current date and time, data from form fields submitted by a user, or information from a database. Still, once the page reaches the user’s Web browser, everything is formatted as HTML.

Newyork costumes

I hate to go out and buy off the rack (or out of a bag) Halloween costumes because I feel like its a waste of money if I’m never going to use it again. So, I ended up at the Salem Center Mall looking for something that would make me look like a 1920’s mobster. I’ve already got the pin-striped suit look, I really just needed the New York costumes.

* A blue-and-white pin-striped baseball uniform and a cream pie: A. J. Burnett, Yankees pitcher who is known for his slapstick actions.
* Pilot uniform, calm demeanor and white mustache: Chesley B. Sullenberger III, the pilot who safely landed a plane in the Hudson River.
* Blond wing, suit and constant chatter. Senator Kirsten E. Gillibrand, who has a noticeable habit of talking at length.
* Pig outfit with a thermometer: swine flu.
* Man’s suit, coiffed hair and a rubber chicken. Ernie Anastos, the Fox anchor who uttered an infamous on-air quote about poultry.
* Prison garb, gray wig, cane and money coming out of pockets. Anthony D. Marshall, who was convicted of grand larceny for stealing from his mother, Brooke Astor.
* Archbishop’s regalia, rouge on cheeks, hot dog and beer: Archbishop Timothy M. Dolan, the jolly new Roman Catholic prelate of New York.
* Gray wings, beak and bandages: Honey Bear, the attacked cygnet in Prospect Park. Anne-Katrin Titze, who has been watching out for the swans for many weeks, said she heard three children say they wanted to be Honey Bear for Halloween.
* Suit, a sign that says “Republican” on one side and “Democrat” on the other, and a broken glass (be careful): Hiram Monserrate, the Democrat state senator who was convicted of a misdemeanor assault charge and also defected to the Republicans and then back.
* Giants football costume, a limp and a gun: Plaxico Burress, the Giants receiver who accidentally shot himself in the thigh with an unlicensed gun in November last year.