RE: CGI.pm file upload

2002-03-06 Thread Lee Goddard
I'm an idiot. I set the form to the correct encoding, using a type attribute, not enctype. Deary me time for a holiday. Thanks for you help! lee ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com

RE: username and password question

2002-03-06 Thread Rubinow, Larry
steve silvers wrote: > I have a small script that when called gives a username and > password text > box and a submit button. > > > > test >href=\"../frame/global.css\"> > > > > > > Test > > Username: > > Passwo

username and password question

2002-03-06 Thread steve silvers
I have a small script that when called gives a username and password text box and a submit button. test Test Username: Password:

RE: Distance between 2 latitudes and longitudes

2002-03-06 Thread Charbeneau, Chuck
This time, I'll post it to the list: > From: Lee Goddard [mailto:[EMAIL PROTECTED]] > Subject: Re: Distance between 2 latitudes and longitudes > At 10:14 06/03/2002 -0600, MOTTER, JEFFREY D. wrote: > >Does any know where I can find a script to calculate the > distance between 2 > >seperate lati

Re: Distance between 2 latitudes and longitudes

2002-03-06 Thread Jack D
>Does any know where I can find a script to calculate the distance between 2 >seperate latitudes and longitudes? Right out of the man pages: To calculate the distance between London (51.3N 0.5W) and Tokyo (35.7N 139.8E) in kilometers: use Math::Trig qw(great_circle_distance deg2rad); # Notice

Re: Distance between 2 latitudes and longitudes

2002-03-06 Thread Lee Goddard
Damn, that means I'd better get onto it... thanks a bunch! ;-)) Cheers! Lee At 11:39 06/03/2002 -0500, Brian Gilkison wrote: >Lee, Jeff, > >There is a formula posted for calculating the "Great Circle" distance >between two points on a sphere, and an explanation at: > >http://www.mercury.demon.c

Re: Distance between 2 latitudes and longitudes

2002-03-06 Thread Brian Gilkison
Lee, Jeff, There is a formula posted for calculating the "Great Circle" distance between two points on a sphere, and an explanation at: http://www.mercury.demon.co.uk/dist/formula.html Brian On Wed, 6 Mar 2002, Lee Goddard wrote: > At 10:14 06/03/2002 -0600, MOTTER, JEFFREY D. wrote: > >Does

Re: Distance between 2 latitudes and longitudes

2002-03-06 Thread Lee Goddard
At 10:14 06/03/2002 -0600, MOTTER, JEFFREY D. wrote: >Does any know where I can find a script to calculate the distance between 2 >seperate latitudes and longitudes? The distance between each line of lat and lon is slightly different: if you can me a list of them, I can write you the script, and

Distance between 2 latitudes and longitudes

2002-03-06 Thread MOTTER, JEFFREY D.
Does any know where I can find a script to calculate the distance between 2 seperate latitudes and longitudes? Jeff ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: SOCK: How to run a win 2000 cmd.exe from a remote host?

2002-03-06 Thread Tillman, James
> Guys, thank you for the hints. > Finally it is not going to be 100% perl but seems to be okay. > Hey, I was just giving you the easy options. There's also: http://www.webreview.com/1997/10_31/developers/10_31_97_8.shtml and http://aspn.activestate.com/ASPN/Perl/Reference/Products/PDK/PerlC

RE: click and Hold a TK button to execute a callback repeatedly- rocket button???

2002-03-06 Thread Martin Moss
Ah thats it - thanks! I've got a workaround using the repeat and repeat->cancel functions, for the time being, Marty p.s. I was an Amiga fan myself, although the Atari 800XL was an older favourite (Match Racer Ruled) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTE

RE: SOCK: How to run a win 2000 cmd.exe from a remote host?

2002-03-06 Thread SANDOR . HADAS
Guys, thank you for the hints. Finally it is not going to be 100% perl but seems to be okay. Sandor ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: click and Hold a TK button to execute a callback repeatedly- rocket button???

2002-03-06 Thread Tillman, James
I believe it's called Tk::FireButton, in deference the old video game fire-buttons. Some days I really miss the fun I had on my old Atari 2600... jpt > -Original Message- > From: Martin Moss [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 06, 2002 8:42 AM > To: [EMAIL PROTECTED] > S

RE: CGI.pm file upload

2002-03-06 Thread Lee Goddard
Everything is fine with my file upload, except $cgi_pm_instance->upload($upload_form_field_name) always returns a string and never a file handle. If no-one knows about this, I'll get in touch with the CGI pm chap. TIA lee ___ Perl-Win32-Users maili

RE: [Perl-unix-users] Multiple Pattern Match

2002-03-06 Thread Subramoniam Rajan
Hi Dave That did what I wanted and very well too :-) I had got all of file into array and was hacking away when this came to me so - thanks a lot. I'll put in the solution with arrays also , just for record. The solution using the config inifile module is also pretty elegant and custom made for th

RE: Geting the MAC address of a system?

2002-03-06 Thread Reiner Buehl
Thanks to all the people who responded so fast! You where a great Help!! Best regards, Reiner. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Steven Manross > Sent: Wednesday, March 06, 2002 3:52 PM > To: [EMAIL PROTECTED] > Subject: RE: Geting

RE: CGI.pm file upload

2002-03-06 Thread Lee Goddard
Thanks for the example Seems to suggest that my code was okay, because I get a related error when running your code: Can't use an undefined value as a symbol reference at ... the lines while($bytesread = read($fh, $buffer, 1024)) { print $buffer;

RE: Get Ip adress on Windows 98.

2002-03-06 Thread Reiner Buehl
I use Sys::HostIP for this. However I did only test it on Win2k, I do not know if it works on Win98. Best regards, Reiner. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Jorge Goncalvez > Sent: Wednesday, March 06, 2002 3:43 PM > To: [EMAIL PRO

RE: Geting the MAC address of a system?

2002-03-06 Thread Steven Manross
If you strictly use NT systems the following code will enum all the mac addresses on the system (dual-nic aware) use Win32::Lanman; if (!Win32::Lanman::NetServerTransportEnum("server", \@info)) { print "Sorry, something went wrong; error: "; # get the error code print Win32::Lanman:

Re:Get Ip adress on Windows 98.

2002-03-06 Thread Jorge Goncalvez
Hi, I tried to get IP adress on Windows 98 thanks a perl script it works but in only kind of case actually in this line: my $Register = "System\\CurrentControlSet\\Services\\Class\\NetTrans\\"; is not already true can be variable and could be 000x. How can I do to retrieve this informati

RE: CGI.pm file upload

2002-03-06 Thread Lee Goddard
> # # would it be faster to do an 's/\//\\/g' to replace all '/' with '\' > # # and then just get the index of the final '\'? Don't know... > # # it would make the code cleaner, but it may be less efficient... > my $posreg = rindex($in_file_name, "/"); > my $posback = rindex($in_file_n

RE: CGI.pm file upload

2002-03-06 Thread Lee Goddard
At 15:58 05/03/2002 -0500, Morse, Richard E. wrote: >H some of this doesn't look right. > >For instance, point 5 -- $file in this case should be the filehandle, >which may >also be the text of the parameter, but I'm not positive on that -- if you want >the value of the file, try $self->{c

How to add/remove addresses from an Exchange 5.5 Distribution List?

2002-03-06 Thread Jonathan C. Detert
Hello, I want to be able to programmatically add or remove an Exchange 5.5 mailbox to a Exchange distribution list. I know that the exchange admin.exe import feature can be used to add a mailbox to a distribution list, but it's not able to remove a mailbox. Thanks to the archives, Steven Manros

click and Hold a TK button to execute a callback repeatedly- rocket button???

2002-03-06 Thread Martin Moss
All, I read a while ago about a custom button widget (rocket button or something like that "coz I can't find anything under rocket button") which allowed you to click and hold a button and a callback would be repeated until you released the button. Can anybody point me in the direction of this w

RE: Multiple Pattern Match

2002-03-06 Thread Thomas Bätzler
Subramoniam Rajan [[EMAIL PROTECTED]] asked: > I'm trying to parse a text file match a pattern and if it > does pick up the line after and make changes to it [ini-style file sample delete] I believe the clearest solution would be to parse the file contents into a data structure, make changes t