Questions:
  1. Do you support IMAP functions in PHP3?
  2. Do you all have any plans to upgrade PHP3 to PHP4?
  3. I wanted to use a third party PHP3 source. This source requires that it is installed as a php library. Can you tell me where, if anywhere I need to put his file so tha the php execution will see it as a library? I know that the library path is in the php3.ini file, but that file is under your control.
  4. What is PHP3 ?
  5. Connecting to MySQL with PHP
  6. Starting with PHP
  7. PHP Manual

Answers:
  1. Do you support IMAP functions in PHP3?
    No, we do not.

  2. Do you all have any plans to upgrade PHP3 to PHP4 ?
    We currently have PHP4 on our newest servers. If you are on a PHP3 server and wish to be on a PHP4 server simply e-mail to contact@x-mb.com and have them reinstall your site on the new servers. Backup any important files before requesting this because it will DESTROY your current site and start you a fresh new one. When you are ready for this CONFIRM in your e-mail that you know this will happen and that you are ready.

  3. I wanted to use a third party PHP3 source. This source requires that it is installed as a php library. Can you tell me where, if anywhere I need to put his file so tha the php execution will see it as a library? I know that the library path is in the php3.ini file, but that file is under your control.
    No, I am sorry.
    At this time, we do not do custom installation of PHP libraries.
    If you want something like this, you will need to go the route of a dedicated server, where you would have full control over the server :)

  4. What is PHP3 ?
    PHP3 is a 3rd party scripting engine. Please Note: We do not provide support for PHP3. We have added it for users that our already familiar with it. To use PHP3 on your domain just end the php page with .php3 rather than .html

  5. Connecting to MySQL with PHP. How do I work with a MySQL database using PHP?
    1. To merely display the information in your database without the use of a form to call a php script you simply create your HTML document as you would any other web page but instead of the extension of .htm or .html you need to name the file with the extension .phtml. Then within the document itself the section that you'd like to be the PHP code, you begin it with <? and end it with ?>. For instance:

    <P>These are the products I sell:</P>

    <TABLE BORDER="1">

    <?
    mysql_connect(localhost, username, password);
    $result = mysql(mydatabase, "select * from products");
    $num = mysql_numrows($result);
    $i = 0;

    while($i < $num) {
    echo "<TR>n";
    echo "<TD>n";
    echo mysql_result($result,$i,"prodid");
    echo "</TD>n<TD>";
    echo mysql_result($result,$i,"name");
    echo "</TD>n<TD>";
    echo mysql_result($result,$i,"price");
    echo "</TD>n";
    echo "</TR>n";
    $i++;}
    ?>
    </TABLE>

    Thus having the loop in the php program create a table with the products listed. NOTE your username and password for the database are not written in the file when it's displayed on the Internet so users viewing the source of your webpage will not see your password.

    2.When using a CGI script to pull information from a form which has been submitted by a browser you must have the first line of the script have this command on it (Much like perl scripts):

    #!/usr/local/bin/php

  6. Starting with PHP
    What is PHP?

    PHP is a server-side HTML embedded scripting language that was developed in C and is designed especially for working with relational database systems.

    How do I set up a PHP Program?

    A PHP program is embedded directly in the HTML document. It must have a .phtml extension in order for the server to look for PHP code in the document. Here is
    how you embed the PHP:

    <?
    insert PHP code here
    ?>

  7. PHP Manual
    For detailed information regarding PHP, you can go to their online manual:

    http://www.php.net/manual


    WE DO NOT provide programming support on PHP. If you need programming support on PHP, please contact an experienced programmer.