"Fossies" - the Fresh Open Source Software Archive

Member "eventh/ftp-up.php" (15 Aug 2007, 3378 Bytes) of package /linux/privat/old/eventh-1.1.11.tar.gz:


The requested HTML page contains a <FORM> tag that is unusable on "Fossies" in "automatic" (rendered) mode so that page is shown as HTML source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "ftp-up.php" see the Fossies "Dox" file reference documentation.

    1 <?
    2 /*
    3     This file is part of Event Horizon (EVH).
    4 
    5     EVH is free software; you can redistribute it and/or modify
    6     it under the terms of the GNU General Public License as published by
    7     the Free Software Foundation; either version 3 of the License, or
    8     (at your option) any later version.
    9 
   10     EVH is distributed in the hope that it will be useful,
   11     but WITHOUT ANY WARRANTY; without even the implied warranty of
   12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13     GNU General Public License for more details.
   14 
   15     You should have received a copy of the GNU General Public License
   16     along with this program.  If not, see <http://www.gnu.org/licenses/>.
   17 */  
   18 
   19 include "inc.php";
   20 $dirname = create_upload_dir();
   21 $ftpurl = "ftp://$ftpuser:$ftppass@$servername/$dirname";
   22 ?>
   23 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
   24 <html>
   25 <head>
   26 <title><?=$appname; ?> - FTP Transfer</title>
   27 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   28 <link href="default.css" rel="stylesheet" type="text/css">
   29 </head>
   30 <body>
   31 <?=$titleandmenu; ?>
   32 <table width="50%"  border="0" align="center" cellpadding="0" cellspacing="0">
   33 <tr>
   34 <th class="content-text" scope="row" align="left"><strong><?=$ftpheading; ?></strong></th>
   35 </tr>
   36 <tr>
   37 <th class="content-text" scope="row" align="left"> <ol>
   38   <li><strong><?=$ftpnote1; ?></strong></li>
   39   <li><strong><?=$ftpnote2; ?></strong></li>
   40   <li><strong><?=$ftpnote3; ?></strong></li>
   41   <li><strong><?=$ftpnote4; ?></strong></li>
   42   </ol>
   43 </th>
   44 </tr>
   45 </table>
   46 <form action="upload2.php" method="post" enctype="multipart/form-data" name="form1">
   47 <input name="dirname" type="hidden" id="dirname" value="<?=$dirname; ?>">
   48 <div align="center" class="content-text">  </div>
   49 <table width="500"  border="0" align="center" cellpadding="3" cellspacing="1" class="border">
   50   <tr>
   51     <th width="150" align="left" valign="top" nowrap class="header" scope="row"><?=$ftpserverfieldtitle; ?></th>
   52     <td align="left" valign="middle" nowrap class="content" scope="row"><?=$servername; ?></td>
   53   </tr>
   54   <tr>
   55     <th width="150" align="left" valign="top" nowrap class="header" scope="row"><?=$ftpusernamefieldtitle ?><br>      </th>
   56     <td align="left" valign="middle" nowrap class="content" scope="row"><?=$ftpuser; ?></td>
   57   </tr>
   58   <tr>
   59     <th width="150" align="left" valign="top" nowrap class="header" scope="row"><?=$ftppasswordfieldtitle; ?></th>
   60     <td align="left" valign="middle" nowrap class="content" scope="row"><?=$ftppass; ?></td>
   61   </tr>
   62   <tr>
   63     <th width="150" align="left" valign="top" nowrap class="header" scope="row"><?=$ftppathfieldtitle; ?></th>
   64     <td align="left" valign="middle" nowrap class="content" scope="row"><?="/$dirname/"; ?></td>
   65   </tr>  
   66 <!--  <tr>
   67     <th width="150" align="left" valign="top" nowrap class="header" scope="row"><?=$ftpurlfieldtitle ?></th>
   68     <td align="left" valign="middle" nowrap class="content" scope="row"><a href="<?=$ftpurl; ?>"><?=$ftpurl; ?></a></td>
   69   </tr>    --> 
   70 </table>
   71 <p align="center">
   72   <input name="Next" type="submit" onClick="MM_validateForm('YourEmail','','RisEmail','DestinationEmail','','R','File1','','R');return document.MM_returnValue" value="Next">
   73 </p>
   74 </form>
   75 <?
   76 print $footer;
   77 ?>
   78 
   79 </body>
   80 </html>