removed the config file
[squirrelmail.git] / src / folders_create.php
CommitLineData
ed4332d1 1<HTML>
2<META HTTP-EQUIV="REFRESH" CONTENT="0;URL=webmail.php?right_frame=folders.php" TARGET=_top>
3<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#0000EE" ALINK="#0000EE">
b40316f9 4<?
5 include("../config/config.php");
6 include("../functions/strings.php");
7 include("../functions/page_header.php");
8 include("../functions/imap.php");
9
2aa12d5e 10 $imapConnection = loginToImapServer($username, $key, $imapServerAddress);
54e3c1d8 11 fputs($imapConnection, "1 create \"$subfolder.$folder_name\"\n");
b40316f9 12 fputs($imapConnection, "1 logout\n");
13
ed4332d1 14 echo "<CENTER><BR><BR>You will be automatically forwarded.<BR>If not, <A HREF=\"webmail.php?right_frame=folders.php\" TARGET=_top>click here</A></CENTER>";
b40316f9 15?>
ed4332d1 16</BODY></HTML>
b40316f9 17