Searched high and low and couldn't find an answer to this one, so here goes...
I want to be able to have another server append a record to a database on my server. So I've tried this with:
$logfile = "http://www.myserver.net/mydatabases/my.log";
open (LOG, ">>$logfile") or return;
print LOG "$in{'email'}|$in{'name'}|$in{'other stuff'}\n";
close LOG;
With permissions set OK, this doesn't work. Must I do something else to get the file definition to work with an "http" call - in place of the usual path when I do everything on one server?
TIA,
I want to be able to have another server append a record to a database on my server. So I've tried this with:
$logfile = "http://www.myserver.net/mydatabases/my.log";
open (LOG, ">>$logfile") or return;
print LOG "$in{'email'}|$in{'name'}|$in{'other stuff'}\n";
close LOG;
With permissions set OK, this doesn't work. Must I do something else to get the file definition to work with an "http" call - in place of the usual path when I do everything on one server?
TIA,