Maybe I will join!! Probably after I get back from vacation (which is why I'm setting up this GPS script......we leave on Saturday)
One last quick question:
I was following these steps to "test" my script:
And I'm getting quite a few different errors:
You can try the different url combinations here:
http://servername/netgps.pl
http://servername/netgps.pl?un=joe&pw=bloggs
http://cogia.lilsadam.net/netgps.pl?un=joe...202,11.8,E,S*07
http://servername/netgps.pl?un=joe&pw=bloggs
http://servername/netgps.pl?un=joe&pw=bloggs33
Then if you search the script for these errors, the always occur after a call for "FNAME" like here:
>#----------------------------------
# Remote is calling, supplying coords.
sub remote() {
if (-e "$filedir$filename") {
my $filecont = '';
my $pwd2 = '';
open FNAME, "$filedir$filename" or &failed("Proc error: RCV-FN1");
$filecont = <FNAME> or &failed("Proc error: RCV-FN2");
close FNAME or &failed("Proc error: RCV-FN3");
($pwd2,) = split /\@/, $filecont;
if ($pwd2 ne $password) {
&failed("Incorrect password/unknown username.");
}
}
open FNAME, ">$filedir$filename" or &failed("{Proc error: REM-FN1");
print FNAME "$password\@$coords\n" or &failed("Proc error: REM-FN2");
close FNAME or &failed("Proc error: REM-FN3");
}
#----------------------------------
Thanks for looking at this again. You guys really are a great support site.
~Adam