Aibc Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Why Use the Universally Accepted PHP Start & End Tags?

Go down

Why Use the Universally Accepted PHP Start & End Tags? Empty Why Use the Universally Accepted PHP Start & End Tags?

Post  getaphpprogramer Sat May 28, 2011 9:16 am

Believe it or not, but there is PHP programming code that will not work on every installation. This is often a big problem for the developer. Code that is working correctly on the developers computer, and on the web server, may not work on other web servers.

The start and end tags are the culprit. The following tags are most widely used when developing code. These are available with a default installation of PHP.

Line 1:Line 2:?>

Line 1 is the start tag. It tells the PHP interpreter to start processing the program. Line 2, is the end tag, it tells the interpreter to stop processing the program. There are 2 other tags to be aware of. These are not enabled by default. They require you to change the settings in the php.ini file

Note: php.ini is a text file that holds the configuration settings for the PHP engine. Once these are changed, the web server must be restarted for the changes to be accepted.


[You must be registered and logged in to see this link.]

getaphpprogramer

Posts : 15
Join date : 2011-05-28

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum