Chat / support@radicenter.eu

PHP landing page for your domain for webmail usage

Some customers have asked what to add to their homepage to their customers or for themselves for better usage of webmail or for password reset via HTTP. I recommend to use following landing page script (NB! Following code should be added to file with .php extension):

    <html>
     <head>
      <title><?php $_SERVER['SERVER_NAME'] ?></title>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
     </head>
     <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
      text="#000000" link="#000000" vlink="#000000" alink="#F0F0F0" bgcolor="#88AAFF">
      <br>
      <br>
      <br>
      <br>
      <br>
      <table width="75%" border="0" cellspacing="1" cellpadding="0" align="center">
       <tr bgcolor="#FFFFFF">
        <th>
         <br>
         <p align="center"><a href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/squirrelmail/" target="_self">Squirrelmail webmail</a></p>
         <br>   
       </th>
       </tr>
       <tr bgcolor="#FFFFFF">
        <th>
         <br>
             <p align="center"><a href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/roundcube/" target="_self">RoundCube webmail</a></p>
    <br>   
    </th>
       </tr>
       <tr bgcolor="#FFFFFF">
        <th>
         <br>
                 <p align="center"><a href="https://<?php echo $_SERVER['SERVER_ADDR']; ?>:2222/CMD_CHANGE_EMAIL_PASSWORD" target="_self">Change e-mail password</a></p>
    <br>   
    </th>
       </tr>
      </table>
     </body>
    </html>

 

Comments are currently closed.

This website utilizes cookies and similar technologies for functionality and other purposes. Your use of this website constitutes your acceptance of cookies.
Ok, got it.