PDA

View Full Version : Hardcoded logfile? (in PHP file)



FLEB
22-Oct-2007, 01:04 PM
Is it possible to hard-code the "logfile" setting in the PHP file, as opposed to having to put it in the HTML form? I'd like to set up a logfile just to make sure no spam is getting through, but if the submitter can change the LOGFILE value, it's of less use. (I've gotten a few failure message indicating that they've been trying, so I want to be sure I'm solid.)

russellr
22-Oct-2007, 08:21 PM
Hi,

You can't set this inside FormMail, but you can use an INI file to set any special fields, including "logfile".

Please read the HOW TO guide on setting up an INI file.