I need a form that writes to a text file (any file) on a default Ux/Linux webhost.
The generated or modified file needs to be emailed to the Joomla admin.
How do I go about this. Any clues? All help welcome and highly appreciated
The generated or modified file needs to be emailed to the Joomla admin.
How do I go about this. Any clues? All help welcome and highly appreciated
hi,
first find some PHP code to write to file, then write this variable to it : $html_message
now put this PHP code in the onsubmit before email box
then add this file to the attachements array with something like this :
$attachments[] = "path to file";
Cheers
Max
first find some PHP code to write to file, then write this variable to it : $html_message
now put this PHP code in the onsubmit before email box
then add this file to the attachements array with something like this :
$attachments[] = "path to file";
Cheers
Max
This topic is locked and no more replies can be posted.