File write/read problem

2003-09-24 Thread Mark Wheeler
Hi, This is my first post to this group. Please forgive me if this is the wrong group for this question. I've been coding for a short time (a year or so) and love it. I've been using other hosts for my scripts, and am now setting up my OSX server. I've run into a snag. I can't figure it out.

Re: File write/read problem

2003-09-24 Thread Mark Wheeler
PROTECTED] Cc: Mark Wheeler [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 8:35 AM Subject: Re: File write/read problem On 9/24/03 6:37 AM, Mark Wheeler [EMAIL PROTECTED] wrote: Hi, This is my first post to this group. Please forgive me if this is the wrong group for this question

Re: File write/read problem

2003-09-24 Thread Mark Wheeler
- From: Hannes [EMAIL PROTECTED] To: Mark Wheeler [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 9:09 AM Subject: Re: File write/read problem On 9/24/03 7:57 AM, Mark Wheeler [EMAIL PROTECTED] wrote: Yes, I am running this as a cgi. I called it from a web browser. IE 6 on a PC. Yes

Re: File write/read problem

2003-09-24 Thread Mark Wheeler
glean from there. Thanks, Mark - Original Message - From: Adam Witney [EMAIL PROTECTED] To: Mark Wheeler [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 10:14 AM Subject: Re: File write/read problem Ah, good point! :-) although it may still be suffering line endings problems

Re: File write/read problem

2003-09-24 Thread Mark Wheeler
OK, here's the latest. I put in the CGI::CARP...and got my errors to the screen. On both the read and write to the file (example.txt) if the file exists and the permissions are sett correctly, for example.txt, everything works great. BUT two things I noticed: 1. When I ftp a file to the cgi-bin,

Re: File write/read problem

2003-09-24 Thread Mark Wheeler
do?! I'm very confused. Mark --- On Wednesday, September 24, 2003, at 03:02 PM, John Delacour wrote: At 11:54 am -0700 24/9/03, Mark Wheeler wrote: .. I was under the impression that when I used the or or in an open command i.e.: open (DATA

Re: File write/read problem

2003-09-25 Thread Mark Wheeler
In just checked the httpd.conf file and, yes, the user/group is set to www/www. So I need to change it to what? Mark - Original Message - From: Paul Hoffman [EMAIL PROTECTED] To: John Delacour [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 25, 2003 5:23 AM Subject:

Re: File write/read problem

2003-09-25 Thread Mark Wheeler
Well, I gave it a wirl and it works great. I love learning new things! Thanks so much for your help. Does anyone know of a good site for me to learn more about UNIX permissions? Thanks again, Mark - Original Message - From: Paul Hoffman [EMAIL PROTECTED] To: Mark Wheeler [EMAIL

Simple perl script send email

2004-04-25 Thread Mark Wheeler
Hi, I just installed 10.3 and am trying to get a cron job to fire off a perl script which will send an email saying the cron job was completed. crontab listing * * * * * /Users/blah/Library/Scripts/test.pl Here is the script: test.pl

Re: Simple perl script send email

2004-04-25 Thread Mark Wheeler
sometimes just forget the simple stuff... Kindest Regards, Bill Stephenson On Apr 25, 2004, at 4:28 AM, Mark Wheeler wrote: Hi, I just installed 10.3 and am trying to get a cron job to fire off a perl script which will send an email saying the cron job was completed. crontab listing

Re: Simple perl script send email

2004-04-25 Thread Mark Wheeler
Thanks. I'll give it a try. That makes sense. When you are talking about mail handling Perl mod, you are talking about NET::SMTP or something like that, right? Also, why would you not want to use mail directly? Thanks, Mark On Apr 25, 2004, at 2:53 PM, Wiggins d'Anconia wrote: Mark Wheeler

Re: Simple perl script send email

2004-04-25 Thread Mark Wheeler
I've been using MIME::Lite for a couple of years, now. I'll just use that one. It's quite friendly to work with. I'll give that a try and see what goes. Thanks again, Mark On Apr 25, 2004, at 3:19 PM, Wiggins d'Anconia wrote: Mark Wheeler wrote: Thanks. I'll give it a try. That makes sense

Copying files

2004-04-27 Thread Mark Wheeler
Hi, Thanks all for the help on the mail question a few days back. That's fixed. Now I've run into another problem. I'm trying to copy a file on a local network (off a PC) to my Mac. But when the script is called from within cron, it seems that the script doesn't run. The cron looks like this:

Re: Copying files

2004-04-27 Thread Mark Wheeler
Yup. You're right. I missed that one. Here's what I did to simplify the testing of the script. #!/usr/bin/perl -w use strict; use File::Copy; copy(/Users/xx/Documents/db1.txt, /Users/xx/Documents/db1.txt.bak) or warn Can't copy file: $!;

Re: Copying files

2004-04-27 Thread Mark Wheeler
Does that look write? Or should the Documents directory be the same as the Scripts Directory? Thanks, Mark On Apr 27, 2004, at 3:24 PM, Bruce Van Allen wrote: On 4/27/04 Mark Wheeler wrote: Yup. You're right. I missed that one. Here's what I did to simplify the testing of the script. copy

Re: Copying files

2004-04-27 Thread Mark Wheeler
like I need to when running apache? Thanks so much for your help, Mark On Apr 27, 2004, at 3:46 PM, Bruce Van Allen wrote: On 4/27/04 Mark Wheeler wrote: Good question. Here are the results. The permissions for the /Users/xx/Documents directory is: drwx-- 7 xx xx 238 27 Apr

Re: Copying files

2004-04-27 Thread Mark Wheeler
OK... I got the foo in my mailbox, so cron is working. So I'll go with the next step of a basic perl script. Mark On Apr 27, 2004, at 8:23 PM, Ken Williams wrote: On Apr 27, 2004, at 5:07 PM, Mark Wheeler wrote: Yup. You're right. I missed that one. Here's what I did to simplify the testing

Re: Copying files

2004-04-28 Thread Mark Wheeler
: On Apr 27, 2004, at 5:07 PM, Mark Wheeler wrote: Yup. You're right. I missed that one. Here's what I did to simplify the testing of the script. #!/usr/bin/perl -w use strict; use File::Copy; copy(/Users/xx/Documents/db1.txt, /Users/xx

Re: Copying files

2004-04-28 Thread Mark Wheeler
right? Thanks, Mark On Apr 27, 2004, at 11:23 PM, Mark Wheeler wrote: Well, it looks like it was the line endings. They were mac, I changed them to Unix, chmod the hello world script to 755, and the basic Hello world script fired off great. Next step is to read the file and print it's

Re: Copying files

2004-04-28 Thread Mark Wheeler
28, 2004, at 2:11 AM, Mark Wheeler wrote: Ok, It's working great, now. Thank you Ken and Bruce and anyone else I am forgetting. Now the to finish the ride, all I have to do now is figure out how to get the file from my PC and copy to an external hard drive. I'm resuming all I need are the paths

Re: Copying files

2004-04-28 Thread Mark Wheeler
, Mark Wheeler wrote: Hi Ken, I switched that because it was suggested that writing files over system boundaries might be a problem. What is the difference between the two? It sounds like, from your comment, that they do very different things. Yeah - rename() moves the file, and copy() makes a copy

Re: Copying files

2004-04-28 Thread Mark Wheeler
; - On Apr 27, 2004, at 10:06 PM, Mark Wheeler wrote: OK... I got the foo in my mailbox, so cron is working. So I'll go with the next step of a basic perl script. Mark On Apr 27, 2004, at 8:23 PM, Ken Williams wrote: On Apr 27, 2004, at 5:07 PM, Mark

Re: Copying files

2004-04-29 Thread Mark Wheeler
, at 11:32 PM, Mark Wheeler wrote: copy ($dirfrom$dbpath[$i]/$dbname[$i], $dirto$backup) or warn Can't copy file: $dbname[$i] - $!\n; You might want to try a more verbose error message, like: warn Can't copy file $dirfrom$dbpath[$i]/$dbname[$i] to $dirto$backup - $!\n; That would verify that it's

Access External Hard Drive - Local and Network

2004-04-29 Thread Mark Wheeler
Hi all, OK, this is kind of part two of my backup project. How do I access an external (or secondary internal, for that matter) hard drive within perl? I tried the following: . . copy (/Users/xx/Documents/db.txt,/Fire1/db.txt.bak); . . That didn't work. How do I access the external drive?

Access External Hard Drive - Local and Network

2004-04-29 Thread Mark Wheeler
OK... the Fire1 is the name of my external hard drive. Forgot to mention that. Sorry, Mark

Re: Access External Hard Drive - Local and Network

2004-04-29 Thread Mark Wheeler
/... for something that looks like Fire1. Joe. On Apr 29, 2004, at 10:57 AM, Mark Wheeler wrote: Hi all, OK, this is kind of part two of my backup project. How do I access an external (or secondary internal, for that matter) hard drive within perl? I tried the following: . . copy (/Users/xx

Re: Access External Hard Drive - Local and Network

2004-04-29 Thread Mark Wheeler
Perfect. Thanks so much for your help. I'll implement the directory changes and we should be good to go. Thanks, Mark On Apr 29, 2004, at 9:35 AM, Chris Devers wrote: On Thu, 29 Apr 2004, Mark Wheeler wrote: I'm not on the network right now, but I'm presuming that the PC drive(s) would appear

Re: Access External Hard Drive - Local and Network

2004-04-30 Thread Mark Wheeler
Backup Complete.\n; I hope this makes things more clear. Thanks, Mark On Apr 30, 2004, at 8:54 PM, Chris Devers wrote: On Fri, 30 Apr 2004, Mark Wheeler wrote: [snip] In the Volumes directory, it lists

Re: Access External Hard Drive - Local and Network

2004-04-30 Thread Mark Wheeler
, at 1:08 AM, Mark Wheeler wrote: PRINCETON;DELLSERVER my $dirfrom = /Volumes/PRICETON;DELLSERVER/; Is that code copy-n-pasted? If it is, it's missing an 'N'. ;-) sherm--

Re: Access External Hard Drive - Local and Network

2004-05-01 Thread Mark Wheeler
/ or % ls -l /Volumes/'PRINCETON\\;DELLSERVER'/ Am I getting warm? Thanks, Mark On Apr 30, 2004, at 10:50 PM, Sherm Pendley wrote: On May 1, 2004, at 1:37 AM, Mark Wheeler wrote: With that changed, does everything in the script look in order to function correctly? Or do I need to change

Re: Access External Hard Drive - Local and Network

2004-05-01 Thread Mark Wheeler
OK, I think I got it. When I get to work tomorrow I'll test it out. One last question. Is there a web site or book I can read that goes through all that you've shared with me? I'd like to learn more. Thanks, Mark On May 1, 2004, at 8:34 AM, Sherm Pendley wrote: On May 1, 2004, at 11:00 AM, Mark

Re: Copy file from PC to Mac on network using cron and perl

2004-05-02 Thread Mark Wheeler
on Windows? Thanks. On 29 Apr 2004, at 04:28, Mark Wheeler wrote: Hi Ronan, Could you elaborate? I'm not familiar with 'scp'. Thanks, Mark On Apr 28, 2004, at 1:22 AM, Ronan O Ciosoig wrote: You should use 'scp' - secure copy or ftp. scp /path/to/file [EMAIL PROTECTED]:/Users/username/path

Re: Access External Hard Drive - Local and Network

2004-05-02 Thread Mark Wheeler
; On May 1, 2004, at 9:11 AM, Sherm Pendley wrote: On May 1, 2004, at 11:59 AM, Mark Wheeler wrote: OK, I think I got it. When I get to work tomorrow I'll test it out. One last question. Is there a web site or book I can read

Copy error with File::Copy

2004-05-04 Thread Mark Wheeler
Hi, I used the File::Copy module to copy() 4 files from a PC server to a Mac external firewire drive. Three of the four files copied great! (Thanks for all your help on that.) The one file that didn't copy was a QuickBooks database file. When the perl script ran, I got the following error:

Re: SoccerDirector ready

2004-07-25 Thread Mark Wheeler
Hi, As a person who subscribes to the [EMAIL PROTECTED] mailing list, I was struck funny by the your email to Warren, Marc, Clarc, and Eddy. I could be wrong, but... I think this email might not have been for all of us on the list. Am I wrong? Just didn't want anyone to get into deep weeds

Download images/movies

2004-08-21 Thread Mark Wheeler
Hi, I have a picture gallery I building for my family. When a movie or picture is displayed, I want them to be able to save it. But... if I just provide a link in the coding to the actual file, it will open up in the browser window and be displayed. Is there a way to have download, either

Re: Download images/movies

2004-08-21 Thread Mark Wheeler
Hi Chris, That makes sense. I'll give it a try and let you know. Thanks, Mark On Aug 21, 2004, at 12:07 PM, Chris Devers wrote: On Sat, 21 Aug 2004, Mark Wheeler wrote: I have a picture gallery I building for my family. When a movie or picture is displayed, I want them to be able to save

Re: Download images/movies

2004-08-21 Thread Mark Wheeler
, and create a link to them. Kindest Regards, Bill Stephenson 417-546-5593 On Aug 21, 2004, at 1:06 PM, Mark Wheeler wrote: Hi, I have a picture gallery I building for my family. When a movie or picture is displayed, I want them to be able to save it. But... if I just provide a link in the coding

Re: Download images/movies

2004-08-21 Thread Mark Wheeler
Thanks. I'll check it out. Mark On Aug 21, 2004, at 4:17 PM, Joel Rees wrote: http://reiisi.homedns.org/~joel/cs/shared_code/showpics.pl.text

Re: Download images/movies

2004-08-23 Thread Mark Wheeler
clarify? Thanks, Mark On Aug 23, 2004, at 3:17 AM, william ross wrote: On Sat, 21 Aug 2004, Mark Wheeler wrote: I have a picture gallery I building for my family. When a movie or picture is displayed, I want them to be able to save it. But... if I just provide a link in the coding to the actual file

Re: Download images/movies

2004-08-23 Thread Mark Wheeler
Hi Pete, I'll keep that in mind. Gotta love IE... Mark On Aug 23, 2004, at 6:58 AM, Pete Prodoehl wrote: william ross wrote: On 21 Aug 2004, at 20:07, Chris Devers wrote: On Sat, 21 Aug 2004, Mark Wheeler wrote: This is untested, but I'm guessing that you could write a simple CGI script

Re: Download images/movies

2004-08-24 Thread Mark Wheeler
Hi all, Here is my first attempt to write this script. I will be adding the protection/whitelisting/etc. after I get the basic this running. Here is what I have so far, and here is what happens. On a PC, the dialog box comes up and saves the file, but it is 0K -- nothing in it. On a Mac,

Re: Download images/movies

2004-08-24 Thread Mark Wheeler
Hi Andy (another andy), I tried your changes, but not go. On a PC, a 0k file is saved. On a Mac, the browser (Safari 1.2.2) gives me a blank screen with nothing d/l or a save dialog box - nothing. Any ideas? Thanks, Mark On Aug 24, 2004, at 4:10 PM, Andy Turner wrote: I would also recommend

Re: Download images/movies

2004-08-24 Thread Mark Wheeler
Hi Chris, I'm not at home (where the server is) so I'll give that a try, too. The drawback on this method would be that I would only be able to use it on a server that I had access to the Apache config file. This works well at home, but not so well with a paid outside hosting service. But I'm

Re: Download images/movies

2004-08-25 Thread Mark Wheeler
and see what gets put into your browser. Since you're writing the HTTP headers before attempting to open the file, my suspicion is that there's something wrong with the path to the file and your script is exiting prematurely. Andy On Aug 24, 2004, at 8:23 PM, Mark Wheeler wrote: Hi Andy, Thanks

Re: Download images/movies

2004-08-25 Thread Mark Wheeler
Hi Joel, Thanks for your input. In regards to filename, I'm assuming you are talking about the filename passed within the HTML, right? I think what I will probably do is pass an ID number to the script and then process it that way. I will still check for ../ andywhere the passed ID, as

Re: Download images/movies

2004-08-25 Thread Mark Wheeler
to open the file, my suspicion is that there's something wrong with the path to the file and your script is exiting prematurely. Andy On Aug 24, 2004, at 8:23 PM, Mark Wheeler wrote: Hi Andy, Thanks for the input. I should have check the read/write method -- my bad. I tried both the slurp

ImageMagick/PerlMagick on Panther

2004-09-22 Thread Mark Wheeler
Hi, I am about to install my first module. I've been learning perl for the past several years and am building a web site that needs ImageMagick/PerlMagick. First, how difficult is it to install these modules? Second, are there any idiosyncrasies is installing these modules on Panther? Third, is

Re: ImageMagick/PerlMagick on Panther

2004-09-22 Thread Mark Wheeler
recommend it, but I'd ask Sherm about any idiosyncrasies that you might run across. Kindest Regards, Bill Stephenson On Sep 22, 2004, at 11:16 AM, Mark Wheeler wrote: Hi, I am about to install my first module. I've been learning perl for the past several years and am building a web site that needs

Re: ImageMagick/PerlMagick on Panther

2004-09-22 Thread Mark Wheeler
to use force: cpan force install PerlMagick It will ask you some simple (sometimes complex) questions and take care of any dependencies. Great thing. Use CPAN as much as you can. It's incredible! Ryan On Sep 22, 2004, at 11:16 AM, Mark Wheeler wrote: Hi, I am about to install my first module

Re: ImageMagick/PerlMagick on Panther

2004-09-22 Thread Mark Wheeler
libraries. And of course, all your help would be much appreciated as I go through this process. Thanks, Mark On Sep 22, 2004, at 10:20 AM, Sherm Pendley wrote: On Sep 22, 2004, at 12:16 PM, Mark Wheeler wrote: I am about to install my first module. And for that you've chosen Image::Magick? Nothing

Re: ImageMagick/PerlMagick on Panther

2004-09-22 Thread Mark Wheeler
Imager? I've not heard of that one. Can you give me a bit more info on it? How is is different from ImageMagick? Thanks, Mark On Sep 22, 2004, at 11:11 AM, william ross wrote: On 22 Sep 2004, at 17:16, Mark Wheeler wrote: Hi, I am about to install my first module. I've been learning perl

Re: ImageMagick/PerlMagick on Panther

2004-09-22 Thread Mark Wheeler
There are instructions for installing ImageMagic on the ImageMagick site. Should I just follow the Unix instructions? As well, it sounds like I need to install the C libraries first, then ImageMagick. Also, from what I gather, after I install the C libraries and ImageMagick, then I need to

Re: ImageMagick/PerlMagick on Panther

2004-09-22 Thread Mark Wheeler
Well the nice thing here is, it's for my family, not for work. This particular project is done my spare time.. you know between 12am and 3am. :) So time wise, it's not a problem. Mark On Sep 22, 2004, at 2:05 PM, Sherm Pendley wrote: On Sep 22, 2004, at 4:13 PM, Chris Devers wrote: If you

Re: ImageMagick/PerlMagick on Panther

2004-09-22 Thread Mark Wheeler
Ok... it seems to me that my two best options are as follows: 1. Install fink and then install ImagaMagick (as per below) 2. Install PerlMagick 3. Install the addition C libraries so as to have access to image manipulation and compression and such or 1. Install the Darwin port of ImageMagick.

Re: ImageMagick/PerlMagick on Panther

2004-09-22 Thread Mark Wheeler
Agreed. Somtimes I overthink things and foget what the goal was in the first place. I'll install fink then use you oneliner to install image/perl magick. I'll let you know how it all goes. Thanks again, Mark On Sep 22, 2004, at 3:31 PM, Chris Devers wrote: On Wed, 22 Sep 2004, Mark Wheeler

Re: ImageMagick/PerlMagick on Panther

2004-09-23 Thread Mark Wheeler
Ok, I installed fink, no problems. I used $ sudo apt-get install imagemagick and installed imagemagick - no problems. I then used $ sudo apt-get install perlmagick-pm581 and got an error, couldn't find package perlmagick-pm581, so I'm guessing that is didn't install because fink couldn't find

Re: ImageMagick/PerlMagick on Panther

2004-09-23 Thread Mark Wheeler
again. Does that sound right? Thanks, Mark On Sep 23, 2004, at 4:20 AM, Chris Devers wrote: On Thu, 23 Sep 2004, Mark Wheeler wrote: Ok, I installed fink, no problems. I used $ sudo apt-get install imagemagick and installed imagemagick - no problems. I then used $ sudo apt-get install perlmagick

Re: ImageMagick/PerlMagick on Panther

2004-09-23 Thread Mark Wheeler
Yes, I'm sure you are right on all counts, but I'm a glutton for a little punishment, I guess. :) Trust me when I say I'm still keeping it in mind. I would just like to understand a bit more about what's going on under the hood. I like to be creative, but the other side of my brain likes a

Safari Bookmarks comparison

2004-10-08 Thread Mark Wheeler
Hi, This might be slightly OT, but... I work in two different locations, and have two different safari bookmark files, obviously. I was thinking about writing a script that would log into one computer, d/l that computer's safari bookmarks, compare that bookmark list to the one on the current

Re: Safari Bookmarks comparison

2004-10-08 Thread Mark Wheeler
I need to set a working directory and a repository. Any more input would be helpful. Thanks, Mark On Oct 8, 2004, at 4:48 PM, Charles Albrecht wrote: On Fri, Oct 08, 2004 at 03:20:22PM -0700, Mark Wheeler wrote: Hi, This might be slightly OT, but... I work in two different locations, and have two

Re: Safari Bookmarks comparison

2004-10-08 Thread Mark Wheeler
I just found this site - http://developer.apple.com/internet/opensource/cvsoverview.html - why didn't I look there first. That may be helpful, too. Mark On Oct 8, 2004, at 5:25 PM, Mark Wheeler wrote: Hi Charles, So help me out a little, here. I did a little research (quickly) on cvs. (http

MySQL

2004-12-08 Thread Mark Wheeler
Hi, Well, I'm about to take the plunge and begin to learn MySQL. I have Apache and Perl all running great (stock installs), but I'm not sure how to get started with installing MySQL. I guess what I'm asking is, can some one share some good links/pointers on installing MySQL. As well, links on

Re: MySQL

2004-12-09 Thread Mark Wheeler
Hi all, Thanks so much for your input. I think my plan of attack, for now is as follows. 1. First, I'll check the archives on installing DBD::mysql. Then I'll actually install MySQL using Sherm's link. One question regarding that. Which would be the best to install? There are three versions -

Re: MySQL

2004-12-11 Thread Mark Wheeler
Hi Sherm, Thanks for the advice. I am using the standard Perl install, so I will go with fink. Thanks, Mark On Dec 11, 2004, at 12:12 AM, Sherm Pendley wrote: On Dec 9, 2004, at 2:49 PM, Mark Wheeler wrote: 1. First, I'll check the archives on installing DBD::mysql. Then I'll actually install

Re: Variables in external file

2005-02-28 Thread Mark Wheeler
Hi all, Thanks for all you input. I'm mulling it all over to decide what works best for me. That's the beauty of it all - there's always more than one way to get what you want. Thanks again. Mark On Feb 18, 2005, at 11:37 AM, Rich Morin wrote: At 8:39 AM -0800 2/18/05, Mark Wheeler wrote

Sorting year and month

2005-02-28 Thread Mark Wheeler
Hi, I have a quick question regarding sorting. I have a list of dates and years in the following format: October-2004 December-2004 September-2004 January-2005 November-2004 I need to sort them so the final outcome is: January-2005 December-2004 November-2004 October-2004 September-2004 Of

Re: Sorting year and month

2005-02-28 Thread Mark Wheeler
Hi Sherm, That works perfectly. Could you give me a brief rundown on how the sort works with Date::Manip, so I can understand what is going on? Thanks, Mark On Feb 28, 2005, at 1:03 AM, Sherm Pendley wrote: On Feb 28, 2005, at 3:41 AM, Mark Wheeler wrote: I have a quick question regarding

Re: Sorting year and month

2005-03-01 Thread Mark Wheeler
Hi Sherm, Thanks for taking the time to explain it. That makes sense. Mark On Mar 1, 2005, at 12:59 AM, Sherm Pendley wrote: On Mar 1, 2005, at 2:48 AM, Mark Wheeler wrote: Hi Sherm, That works perfectly. Could you give me a brief rundown on how the sort works with Date::Manip, so I can

Sorting a more efficient way

2005-03-09 Thread Mark Wheeler
Hi, First, thanks again for all who helped me with sorting dates with Date::Manip. That's working great. I have another question. Below is a sample of a larger script. I have it working great, but I'm pretty sure the sorting and manipulation of file data is inefficient. What I'm asking is, how

Re: problem with installing DBD::mysql

2005-03-15 Thread Mark Wheeler
On Mar 15, 2005, at 5:02 PM, Ted Zeng wrote: Hi, I tried to install DBD::mysql after I installed DBI. I run sudo perl -MCPAN -e install DBD::mysql It got the source , but always failed like any other perl module. I cd to the source directory and do sudo make and got the following error:

Re: problem with installing DBD::mysql

2005-03-16 Thread Mark Wheeler
On Mar 15, 2005, at 9:56 PM, Ted Zeng wrote: I set the username to root. That should be enough, I assume. I didn't do the grant stuff. Only that I have used PHP to test mysql installation, the PHP page also create a test database and test it. Not sure if that would create a problem. ted On Mar

Mac::Glue script

2005-04-25 Thread Mark Wheeler
Hi, I've been thinking about installing Mac::Glue to do the following: The script will open Internet Connect, dial a number (given by the script). When a connection is established, a sound file will be played 5 X (or what ever number of repetitions). After the connection is lost (phone is hung

Re: Mac::Glue script

2005-04-27 Thread Mark Wheeler
- What am I missing? Do I need to install the Developer Tools? Any help would be appreciated. Thanks very much, Mark On Apr 26, 2005, at 8:24 AM, Chris Nandor wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Mark Wheeler) wrote: The script will open

Re: Mac::Glue script

2005-04-27 Thread Mark Wheeler
On Apr 27, 2005, at 9:35 AM, Sherm Pendley wrote: You appear to be running Panther, so what you want to install is Xcode. That's what used to be called Developer Tools on Jaguar and older - Apple renamed it. And to make matters even more confusing, Xcode is also the name of the IDE app that's

Re: Mac::Glue script

2005-04-27 Thread Mark Wheeler
Got it. Thanks. I'll give it a go. Mark On Apr 27, 2005, at 12:50 PM, Mark Wheeler wrote: So I need to install Xcode and then: cpan Mac::Glue again in the terminal. Is that right? Basically. However you install this or other modules, you'll need to install Xcode first. I'm assuming the Xcode

Re: Mac::Glue script

2005-04-28 Thread Mark Wheeler
Hi all, OK, I installed Xcode - 1.1 then upgraded to 1.5, and ran the cpan Mac::Glue again and still had problems. Here are snipits of the the output: Removing previously used /Users/markwhee/.cpan/build/Mac-Glue-1.23 CPAN.pm: Going to build

Re: Mac::Glue script

2005-04-28 Thread Mark Wheeler
Beautiful. I'll give it a try. Thanks, Mark At 4:19 PM -0700 4/28/05, Mark Wheeler wrote: And if so, how do I reconfigure CPAN? cpan o conf init -Jeff Lowrey

Re: Mac::Glue script

2005-04-28 Thread Mark Wheeler
On Apr 28, 2005, at 4:46 PM, Mark Wheeler wrote: At 4:19 PM -0700 4/28/05, Mark Wheeler wrote: And if so, how do I reconfigure CPAN? cpan o conf init --- Ok... I tried that, and got the following: Mark-Wheelers-Computer:~ markwhee$ cpan o conf init CPAN

Re: Mac::Glue script

2005-04-28 Thread Mark Wheeler
Ok.. I think I got it. I needed to be in the CPAN shell first then do o conf init: cpan o conf init I let it do the auto config then got out of the shell. and sudo cpan to get back in. Then in the cpan shell, did: cpan install Mac::Glue That seemed to do the trick. It took much longer, as it

Re: Location redirect question [SOLVED]

2005-06-02 Thread Mark Wheeler
Hi all, Thanks for all your input. What I decided to do was put up a page that had links to download each of the two files. That is working great. I remember doing the onLoad thing before, too. That also works great. Thanks again, Mark

OT-good DEDICATED hosting service

2005-06-10 Thread Mark Wheeler
Hi, Sorry if this is off topic, but I need to move a shared account to a dedicated account, but picking a new host provider is a need in a haystack. So I ask, where is a good place to go for a DEDICATED server hosting package? What are your good experiences? Thanks, Mark

Re: OT-good DEDICATED hosting service

2005-06-10 Thread Mark Wheeler
to match. I've also had good luck with Pair.com. Ian On Jun 10, 2005, at 5:58 PM, Mark Wheeler wrote: Hi, Sorry if this is off topic, but I need to move a shared account to a dedicated account, but picking a new host provider is a need in a haystack. So I ask, where is a good place to go

Flat file being Scrambled

2005-06-15 Thread Mark Wheeler
Hi, Here's a quick question. This doesn't have anything to do with perl on my mac, but just a perl question. I have a a small script that simply increases a number by 1, when it is run, then writes the changes back to the file. I am using it to check how many people come to the site by way

Re: Flat file being Scrambled

2005-06-15 Thread Mark Wheeler
Hi, Sorry, I don't understand. What's my breakage? Should I not use flock? Thanks, Mark Mark open (FILE, $pathtodatafile) || die (Cannot open file); Mark flock (FILE, 2); 0wn3d! That's your breakage. Once in a blue mooon, you'll kill your entire data this way

Send authenticated mail with MIME::Lite

2005-11-09 Thread Mark Wheeler
Hi all, Just a quick question. I've been using MIME::Lite to send emails from my home computer as I am running a server there. But I recently switched to DSL with SBC/Yahoo and they are blocking port 25. My mail suddenly stopped going through. I've opted out of that, thinking that was the

Re: Send authenticated mail with MIME::Lite

2005-11-09 Thread Mark Wheeler
at a loss of how to do that. Any ideas? Thanks, Mark On Nov 9, 2005, at 8:42 PM, Sherm Pendley wrote: On Nov 9, 2005, at 11:30 PM, Mark Wheeler wrote: Just a quick question. I've been using MIME::Lite to send emails from my home computer as I am running a server there. But I recently switched

Re: Send authenticated mail with MIME::Lite

2005-11-10 Thread Mark Wheeler
Hi Brian, Yes, I did that, but mail is still not going through. Does anyone know what happens to the mail when it is doesn't go through? Thanks, Mark On Nov 10, 2005, at 6:39 AM, brian pink wrote: the easiest fix for this issue is to go to the SBC DSL site and file the request to have the

Re: Send authenticated mail with MIME::Lite

2005-11-10 Thread Mark Wheeler
, but just set it up though postfix. Thanks again for all you help. I will check out Mail::Sender, though. Looks interesting. Thanks again. Mark On Nov 10, 2005, at 8:58 AM, Daniel T. Staal wrote: On Thu, November 10, 2005 11:43 am, Mark Wheeler said: Hi Brian, Yes, I did that, but mail is still