[phorm] [Phorm:] Uploads not received as attachments

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 31 Aug 2004 15:59:11 -0000

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

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

  MESSAGE:  (#4313) Uploads not received as attachments 
            <http://www.phorm.com/support/?rev=4313> 
  AUTHOR:   Jay Summers 
  DATE:     August 31, 2004 at 11:59 a.m. EST 

I'm a registered user trying to use the file upload feature. I've read all the 
documentation and looked over the whole support forum, but I'm unable to 
figure out what's wrong. I get the uploaded file name, size and type in the 
email sent, but no attachment. I also get a PHORM_ALERTO email message sent 
that has no alert codes. My config, HTML and email setup is below along with 
the alert email at the bottom. Please help, I need to figure this out today. 

TIA, 
Jay 

=-=-=-= 
Config 
=-=-=-= 
<?php 

/* PHORM_FROM is coming from a form field, so it needs to be declared here. 
Only $PHORM_ variables 

being passed from a form field need to be declared this way. */ 

$PHORM_FROM = ph_DECLARE; 
$PHORM_FILE01 = ph_DECLARE; 

/* Templates and configuration options. */ 

$PHORM_ACK = "acknowledge.html"; 
$PHORM_TO = "jay@xxxxxxx"; 
$PHORM_TMPL[0] = "writing_email.txt"; 
$PHORM_TMPL[1] = "writing_email.txt"; 
$PHORM_SUBJECT = "Technical Writing Service Request - {{DateStamp}}"; 
$PHORM_VALDEFS = "rules_writing.txt"; 
$TimeStamp = date("H:i:s"); 
$DateStamp = date("m/d/y"); 

?> 

=-=-=-=-= 
HTML Form 
=-=-=-=-= 

<form action="/contact_us/phorm.php3" method="post" 
enctype="multipart/form-data"> 
<input type="hidden" name="PHORM_CONFIG" value="writing_config.php" /> 
<font color="#FF0000">All fields are required.</font> 
<table width="500" border="0" cellpadding="0" cellspacing="5"> 
<tr valign="top"> 
<td nowrap="nowrap"> 
<div align="right">First Name: </div> 
</td> 
<td> 
<input type="text" name="fname" value="" size="26" maxlength="36" /> 
</td> 
</tr> 
<tr valign="top"> 
<td nowrap="nowrap"> 
<div align="right">Last Name: </div> 
</td> 
<td> 
<input type="text" name="lname" value="" size="26" maxlength="36" /> 
</td> 
</tr> 
<tr valign="top"> 
<td nowrap="nowrap"> 
<div align="right">Daytime Phone:</div> 
</td> 
<td> 
<input type="text" name="phone" value="" size="25" maxlength="25" /> 
<br /> 
<font color="#FF0000" size="1"> (NOTE: International phone numbers require a 
country code) </font></td> 
</tr> 
<tr valign="top"> 
<td nowrap="nowrap"> 
<div align="right">E-mail Address:</div> 
</td> 
<td> 
<input type="text" name="PHORM_FROM" value="" size="35" maxlength="50" /> 
</td> 
</tr> 
<tr valign="top"> 
<td nowrap="nowrap"> 
<div align="right">Number of Pages Submitted:</div> 
</td> 
<td> 
<input name="pages" type="text" id="pages" value="" size="26" maxlength="36" 
/> 
<font color="#FF0000">&nbsp; </font></td> 
</tr> 
<tr valign="top"> 
<td> 
<div align="right">Type(s) of<br /> 
Documents<br /> 
Submitted:<br /> 
(Shift click for multiple selections)</div> 
</td> 
<td> 
<select name="doctype[]" size="5" multiple="multiple" id="doctype"> 
<option value="Policies & Procedures">Policies &amp; Procedures</option> 
<option value="Forms">Forms</option> 
<option value="Employee Guidelines">Employee Guidelines</option> 
<option value="Job Descriptions">Job Descriptions</option> 
<option value="Quality Manual">Quality Manual</option> 
<option value="Other">Other</option> 
</select> 
</td> 
</tr> 
<tr valign="top"> 
<td nowrap="nowrap"> 
<div align="right">Comments:</div> 
</td> 
<td> 
<textarea name="comments" value="" rows="5" cols="30"></textarea> 
</td> 
</tr> 
<tr> 
<td> 
<div align="right">Attach Files: </div> 
</td> 
<td> 
<input name="PHORM_FILE01" type="file" id="PHORM_FILE01" /> 
</td> 
</tr> 
<tr> 
<td colspan="2"> 
<p> <strong><font color="#000000" size="2" face="Arial, Helvetica, 
sans-serif">Bizmanualz respects your privacy and will never share your 
information with outside parties.</font></strong><br /> 
</p> 
</td> 
</tr> 
<tr> 
<td colspan="2" align="center"> 
<input type="submit" value="Send" name="SUBMIT" /> 
&nbsp; 
<input type="reset" value="Clear the form" name="RESET" /> 
</td> 
</tr> 
</table> 
</form> 

=-=-=-=-= 

=-=-=-=-=-=-=-=-=-=-=-=-= 
Email (writing_email.txt) 
=-=-=-=-=-=-=-=-=-=-=-=-= 

To: jay@xxxxxxx 
From: {{PHORM_FROM}} 
Subject: A technical writing lead source for {{fname}} {{lname}} - 
{{DateStamp}}! 

Comments:{{comments}} 

My First Name:{{fname}} 
My Last Name:{{lname}} 
My Pages:{{pages}} 
My Doctype:{{myDoctype}} 
My Email:{{PHORM_FROM}} 
My Phone Number:{{phone}} 
Request Date:{{DateStamp}} at {{TimeStamp}} 
{{PHORM_FILE01}} 
{{PHORM_FILE01_name}} 
{{PHORM_FILE01_size}} 
{{PHORM_FILE01_type}} 

=-=-=-=-=-=-=-=-=-=-= 
PHORM_ALERTO message 
=-=-=-=-=-=-=-=-=-=-= 

Phorm Variables: 
PHORM_ALERTTO: jay@xxxxxxx 
PHORM_REFERER: ||xxx.com| 
PHORM_URL: http://www.xxx.com 
PHORM_REGEX: 0 
PHORM_CONFIG: writing_config.php 
PHORM_FROM: dood@xxxxxxx 
PHORM_FILE01: /tmp/phpuyUJs9 
PHORM_ACK: ./templates/acknowledge.html 
PHORM_TO: jay@xxxxxxx 
PHORM_TMPL: Array 
PHORM_SUBJECT: Technical Writing Service Request - {{DateStamp}} 
PHORM_VALDEFS: rules_writing.txt 
PHORM_FILE01_name: 04R-337add-new.pdf 
PHORM_FILE01_size: 107453 
PHORM_FILE01_type: application/pdf 
PHORM_NAME: 
PHORM_LINEBRK: 

PHORM_LOG: Array 
PHORM_LOGVAR: Array 
PHORM_LDELIM: 
PHORM_LOGQUOT: ' 
PHORM_VARREG: 
PHORM_MYSQLID: 0 
PHORM_HEADERS: 

Form Data: 
=-=-=-=-=-=-=-=-=-=-=-=-= 

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

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:] Uploads not received as attachments