Results 1 to 2 of 2

Thread: I'll parse

  1. #1
    Join Date
    May 2007

    I'll parse

    Hello. When php is being parsed in a HTML template or document does it generally mean PHP being used within it?

  2. #2
    Join Date
    Apr 2007
    PHP is parsed (or executed) at run time by the webserver. PHP can parse HTML but HTML can't parse PHP. If it's an HTML template it's possible it was created in a PHP script.

    HTML templates often use things like BBcode to parse the input (eg POST or file) and changed it eg ; ) to a wink emoticon image or something. PHP parsed the input, chaged the wink text into HTML calling on the image.

    A file ending in .PHP would usually have PHP code in it but it doesn't have to but it could. A .htm file cannot execute php (well there is a few tricks with javascript but basically that's the way it is).

    I hope that helps to clear it up and I've not confused the hell out of you
    Last edited by SyCo; 08-21-2008 at 09:08 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center