in reply to is there something wrong with this code?

Two comments here:
  1. use strict; would inform you of at least two typos in your variable names -- $remoth_host and $log_strig.
  2. Do the permissions on the dir/file you are attempting to write to allow write access to your web server? If not, no log.
Hope that helps steer you in the right direction.
_______________
D a m n D i r t y A p e
Home Node | Email
  • Comment on Re: is there something wrong with this code?