Re: MySQL and Perl...

2001-11-19 Thread Konstantin Voznjuk



Olav Rogall wrote:
 
 Hallo List,
 
 Am Saturday, November 17, 2001 um 3:33:52 AM schriebst Du:
 
   Does anyone know of a good online resource for learning how MySQL works,
   specifically how Perl cooperates with it?
   thanx...
 
  you can't get much better than the origianl documentation
 SRG   ^^
 
 SRG funny, I parsed this as 'complex paper folding' :-)
 
 :-)
 
 try http://www.savebaseball.com/mysql/DBD_3.21.X.php3

or http://wdvl.internet.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




MS Access to MySql conversion.

2001-11-19 Thread Grierson, Garry (UK07)

I've written a Perl CGI front end for an existing Access DB system and have
been looking at the possibility of changing this to MySql the Perl changes
seem to be minimal but I'm having trouble trying to export the Access tables
to MySql.

I know this isn't exactly a 'Perl' problem but I was wondering if anyone
ever had similar problems.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




web and cookies

2001-11-19 Thread zaka rias

i got a script in my web like this :

$a=$ENV{REMOTE_ADDR}'
open(infi, iplog.txt;
print infi $a \n;
close infi;
...
another process

that script i put in main.html
if some users come into my site, that script will
catch the user ip and write it to iplog.txt file, and
then im using that iplog.txt for hit counter purpose.

but that's not accurate, cuz everytime user click
main.html the hit counter growing bigger and bigger.
and then i heard about cookies, and i heard that with
cookies, we (as a web server/server) will recognize
guest (user/visitor), is that right ? 



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: weather

2001-11-19 Thread Kevin Meltzer

Hi Nate,

Take a look at these modules and see if any will do what you want:

http://search.cpan.org/search?mode=modulequery=Weather

Cheers,
Kevin

On Mon, Nov 19, 2001 at 01:11:39PM -0800, Nate ([EMAIL PROTECTED]) said something 
similar to:
 just a quick question, 
 
 im would like write a script that goes and gets a weather forcast, 
 does any one know a site that has plain text weather forcast. or 
 if someone who has done this before could help me out on 
 the best way to go about this..maybe? the only way i could think 
 of doing it would be with LWP::Simple; and its get function... 
 but if any one could shed some light on the subject. i would 
 be forever grateful :) thanx
 
 -nate

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Deserve it (death)! I daresay he does. Many that live deserve death. And some t
hat die deserve life. Can you give it to them? Then do not be too eager to deal
out death in judgement. For even the wise cannot see all end.
-- Gandalf (Fellowship of the Ring)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: weather

2001-11-19 Thread Bkwyrm

We use this to turn on or not turn on our sprinklers at home via
a serial i/o board:

# test weather.com; if we find 'rain' or 'showers' in the forecast for today,
# we exit.
if (`/usr/local/scripts/GET http://www.weather.com/weather/local/92101|perl -pe
's/.+?//g;' |grep -B 1 Feels Like|head -1|grep -i 'rain|showers'` ne '') {
exit;
}

It seems that weather.com is down at the moment, tho...

Le Mon, Nov 19, 2001 at 01:11:39PM -0800, Nate a dit le suivant:
} just a quick question, 
} 
} im would like write a script that goes and gets a weather forcast, 
} does any one know a site that has plain text weather forcast. or 
} if someone who has done this before could help me out on 
} the best way to go about this..maybe? the only way i could think 
} of doing it would be with LWP::Simple; and its get function... 
} but if any one could shed some light on the subject. i would 
} be forever grateful :) thanx
} 
} -nate

--

Namaste,

Kristin

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]