You are Here:
FAQ
What Is...?
Article #7
What is PHP? Linux Packages Only!
This includes: 1&1 Beginner (Linux) 1&1 Home (Linux) 1&1 Business (Linux) 1&1 Developer (Linux) 1&1 Dedicated Website Servers (formerly called managed servers)PHP is a web scripting language used to create dynamic web pages and interactive features that greatly exceed the functionality of simple HTML files. 1&1 Linux WebHosting packages and 1&1 Website Dedicated Servers run PHP5 as default starting Q3 2010. Any files named with the extension .php will be parsed by the WebHosting server automatically when accessed via the browser. PHP pages can be created via a text editor such as WordPad, Notepad, vi, nano, etc. and must be named with the .php extension. Regular HTML tags are used to construct the page with PHP tags included wherever PHP code is needed. Some benefits of PHP scripting: Dynamic content creation/manipulation via use of included or custom functions Generation and manipulation of GIF, JPG, and PNG files, including the use of TrueType fonts Database functions for connecting MySQL databases Expanded network functionality Regular expressions Compression (gzip) Encryption (MD5, Base64), other encryption algorithms (e.g. AES) via mcrypt XML/XSLT parsing Expanded calendar functionsPHP manual PHP functions reference Please Note: 1&1 Shared hosting and Managed server packages do not support SNMP or NNTP. A PHP "Hello World!" example <html> <head> <title>The first PHP script</title> </head> <body> Here is some normal text that will <b>not</b> be parsed as PHP and will display as expected!<br/> <?php echo "Hello World!" ; echo " Today is " . date( "m/d/Y" ); ?> </body> </html>
Since PHP5 is the default version of PHP run on all Web Hosting contracts within 1&1 since Q3 2010, please also reference What's new in PHP5? for more information Disclaimer: 1&1 provides the scripts and related information on this page as a courtesy, subject to 1&1's General Terms and Conditions of Service (the "GT&C"). As set forth in more detail in the GT&C, the scripts and information are provided "as-is", without any warranty, and 1&1 is not liable for any damages resulting from your use of the scripts or information. |
© 2008 1&1 Internet Inc - About 1&1 Internet