UB Computer Science and Engineering logo

PHP

This server's PHP installation supports MySQL and XML. If you have specific programming needs that the current configuration does not allow, email cse-consult and request additional support.

PHP script files require a .php file suffix. They may contain a mixture of HTML and PHP. For example, this minimal script displays a complete description of the local system's PHP configuration:

<html>
  <head>
    <title>My PHP Info</title>
  </head>
  <body>
    <?php phpinfo() ?>
  </body>
</html>

Try it here: phpinfo.php

References

  1. https://en.wikipedia.org/wiki/PHP
  2. PHP Manual
  3. W3Schools.com PHP 5 Tutorial

This page last modified: Fri, June 15, 2018 15:41:09

Send your comments to: cse-webmaster@buffalo.edu

© 2019 University at Buffalo. All rights reserved. | Privacy | Accessibility