[phorm] [Phorm:] Submitting Form fields to MySQL

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 10 Jul 2003 03:47:28 -0000

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

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

  MESSAGE:  (#2946) Submitting Form fields to MySQL 
            <http://www.phorm.com/support/?rev=2946> 
  AUTHOR:   Ache 
  DATE:     July 9, 2003 at 11:47 p.m. EST 

OK, the documentation here is pretty good. I chose to skip the $PHORM_MYDBV 
file definition and include the 4 vaiables right in my Config1.php3 script 

I get this error: 
Parse error: parse error, unexpected '/' in 
/usr/local/psa/home/vhosts/brainstormdesign.net/httpdocs/scripts/config1.php3 
on line 14 

Warning: Cannot add header information - headers already sent by (output 
started at 
/usr/local/psa/home/vhosts/brainstormdesign.net/httpdocs/scripts/config1.php3:14)
 
in /usr/local/psa/home/vhosts/brainstormdesign.net/httpdocs/scripts/phorm.php 
on line 2293 

PHORM Documentation says "$DHost The server that the database is hosted on." 
What does it need? IP addres? Name-Server? path? I tried them all? 

PLEASE HELP! Thanks, Ache 

HERE IS MOST OF THAT SCRIPT 
------------------------------------------------ 
<?php 

$PHORM_LOG = "drawing_contact.txt"; 
$PHORM_TO = "ken@xxxxxxxxxxxxxxxxxxxx"; 
$PHORM_FROM = $email; 
$PHORM_SUBJECT = "Website Drawing Entry"; 

$DHost = /usr/local/psa/home/vhosts/brainstormdesign.net/httpdocs 
$DUser = "? ? ? ?"; 
$DPass = "? ? ? ? "; 
$DBase = "WebVisitors"; 

$PHORM_MYTABLE = "InputFields"; 
$PHORM_MYVARS = "name=name"; 

$PHORM_TMPL = "entry_contact.txt"; 
$PHORM_ACK = "entry.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:] Submitting Form fields to MySQL