[phorm] [Phorm:] Send Button delete the attachment

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 23 Sep 2003 08:25:38 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#3251) Send Button delete the attachment 
            <http://www.phorm.com/support/?rev=3251> 
  AUTHOR:   Paolo 
  DATE:     September 23, 2003 at 4:25 a.m. EST 

Can u please have a look at this? 

Is a form in php, that shoulod send an attachment. When i click on Send, the 
attachment is deleted from the field. And not Sent. Does the phorm process the 
php stuff? do you have an idea why is behaving like this? Thanks... 

<html> 
<head> 
<title>Comment Window</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<SCRIPT language=JavaScript> 
<!-- 
moveTo(150,200); 
window.resizeTo(width=640, height=450); 
//--> 
</SCRIPT> 

<link href="../../css/s247Portal.css" rel="stylesheet" type="text/css"> 
</head> 
<body text="#003066" bgcolor="#A6ADC7"> 
<table width="583" border="0" cellspacing="0" cellpadding="0" height="238"> 
<tr> 

<td valign="top"> 

<form name="comments" method="post" action="../../cgi-bin/phorm/phorm.php" 
enctype="multipart/form-data"> 

<table width="100%" border="0" cellspacing="0" cellpadding="0" height="212"> 

<tr> 

<td width="196"><font face="Verdana, Arial, Helvetica, sans-serif" 
size="2"><b> 

<input type="hidden" name="issue" value="<?php $id=$_GET["id"]; print $id; 
?>"> 

<input type="hidden" name="desc" value="<?php $des=$_GET["des"]; print $des; 
?>"> 

<INPUT TYPE="hidden" NAME="PHORM_CONFIG" VALUE="issuecomment_cfg.php"> 

Issue number:</b> </font></td> 

<td colspan="2"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 

<?php $id = $_GET["id"]; print $id; ?> 

<INPUT TYPE="hidden" NAME="issue_num" VALUE="<?php $id=$_GET["id"]; print $id; 
?>"> </font></td> 

</tr> 

<tr> 

<td width="196"><font face="Verdana, Arial, Helvetica, sans-serif" 
size="2"><b>Short 

description:</b> </font></td> 

<td rowspan="2" valign="top" width="348"> <font face="Verdana, Arial, 
Helvetica, sans-serif" size="2"> 

<?php $des = $_GET["des"]; print $des; ?> 

<INPUT TYPE="hidden" NAME="des" VALUE="<?php $des = $_GET["des"]; print $des 
;?>"> 

</font></td> 

<td width="39" rowspan="2" valign="top">&nbsp;</td> 

</tr> 

<tr> 

<td width="196" height="20"><font face="Verdana, Arial, Helvetica, sans-serif" 
size="2">&nbsp;</font></td> 

</tr> 

<tr> 

<td width="196" valign="top"><font face="Verdana, Arial, Helvetica, 
sans-serif" size="2"><b>Add 

comments:</b> </font></td> 

<td colspan="2"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 

<textarea name="comment" cols="48" rows="8" 
class="textfieldWinComment"></textarea> 

</font></td> 

</tr> 

<tr> 

<td width="196" valign="top"><strong><font size="2" face="Verdana, Arial, 
Helvetica, sans-serif">Sender 

email address:</font></strong></td> 

<td colspan="2"><input name="sender_address" type="text" 
class="textfieldSearch" size="50"></td> 

</tr> 

<tr> 

<td width="196"><b><font face="Verdana, Arial, Helvetica, sans-serif" 
size="2">Add 

attachment: </font></b></td> 

<td colspan="2"><b> 

<input name="nameText" type="text" class="textfieldSearch" size="50"> 

<input type="button" name="nameButton" value="Browse" 
onClick="this.form.PHORM_FILE01.click();this.form.nameText.value=this.form.PHORM_FILE01.value;"
 
class="button"> 

</b></td> 

</tr> 

<tr> 

<td width="196" height="10"> <div align="center"></div></td> 

<td height="10"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"> 

<input type="file" name="PHORM_FILE01" size="20" style="display:none;"> 

</font></td> 

<td height="10">&nbsp;</td> 

</tr> 

<tr> 

<td colspan="3"> <div align="center"> 

<input name="Submit" type="submit" class="button" value="Send"> 

<br> 

</div></td> 

</tr> 

</table> 

</form> 

</td> 
</tr> 
</table> 
</body> 
</html> 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts:

  • » [phorm] [Phorm:] Send Button delete the attachment