The following new message has been posted on Phorm Support Forum at <http://www.phorm.com/support/>. *************************************************************************** MESSAGE: (#3191) Re: Autoresponder content from a database? <http://www.phorm.com/support/?rev=3191> AUTHOR: Patrick O'Hara DATE: September 6, 2003 at 6:38 p.m. EST Reply To: (#3189) Autoresponder content from a database? Author: Mark Date: September 6, 2003 at 3:05 p.m. EST > I have one question - can I have the autoresponse > content read out of a database? I know enough php that > if I can have php code in the autoresponse text file, > I think I can make it work....is the text file passed > through the php parser? Yes you can - you will need to enable the plugin dbfetch.php in the plugin registry. There is a text file that is shipped with the plugin which will explain how to use it. The text file for the autoresponder isn't parsed for PHP, but it is parsed for variable substitutions, so you can use the dbfetch plugin to extract the required information. If you really need to put a dynamic message in the autoresponder that is not in the database, you can use the config file to set a variable - say for example: $auto_respond_message = "This is the message"; and then in the autoresponder template put the lable for the variable substitution of that message: {{auto_respond_message}} Remember that the config file is processed before any information is pulled from the database, so the above is only any good for things that don't rely on validation or database content. Hope this has helped. Regards, Patrick O'Hara WhitsundayIT QLD, Australia patrick@xxxxxxxxxxxxxxxx www.whitsundayit.com www.vacationaustralia.com.au *************************************************************************** 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.