in reply to Nothing is being written into my opt-in.txt file

  1. Your html says 'fullname', but your script is looking for just 'name'
  2. Can you run sendinfo.cgi on the server (modified to take it's params from the cmdline) and have it do what you expect?
  3. If (2) works, make sure the user the webserver is running your script as has permission to do what you want