Re: Download images/movies

2004-08-25 Thread Mark Wheeler
Hi Andy, Yup, that was it. I was using a relative path, not abslute. That fixed it. I script now works great in Netscape and Safari, but not in IE. (All on a Mac - I'll check out the PC tomorrow). IE just displays the graphic but doesn't download it. The script does not seem to be

Brand New Empty Mac

2004-08-25 Thread John Horner
This is a not-strictly-Perl thing again, but I'm just about to inherit a G4 desktop from up the food chain at work, and it's been so comprehensively messed about with that I'm going to low-level-format the HD completely and start from scratch. Apart from anything else, this will mean I can

Re: Brand New Empty Mac

2004-08-25 Thread Chris Devers
On Wed, 25 Aug 2004, John Horner wrote: [D]o you partition your hard-drives? Do you have the system on one partition and documents on another and so on? No. I did that with my first Macs, but always regretted it. Just leave it as one volume -- there's very little to gain by partitioning it. Any

Re: Download images/movies

2004-08-25 Thread Andrew Mace
IE just displays the graphic but doesn't download it. The script does not seem to be overriding whatever the settings are in IE regarding MIME types and what to do with them -- I'm guessing. Is there a way to override that? You could try changing the Content-Type to application/download.

Re: Download images/movies

2004-08-25 Thread Pete Prodoehl
Andrew Mace wrote: IE just displays the graphic but doesn't download it. The script does not seem to be overriding whatever the settings are in IE regarding MIME types and what to do with them -- I'm guessing. Is there a way to override that? You could try changing the Content-Type to

Re: Download images/movies

2004-08-25 Thread Joel Rees
Just a few nosy comments -- html head titleUntitled Page/title /head body a href=javascript:window.location='cgi-bin/download.cgi?picname=Upload- Background.gif'picture link/a Not sure why you want to bother with javascript in there. ICBW, but I don't think it buys you anything. And some of

[OT]Re: Brand New Empty Mac

2004-08-25 Thread Joel Rees
But I just thought I'd get the opinions of the list on the best way to set up such a brand-new machine -- do you partition your hard-drives? I usually do. But on a Mac, I have decided not to to be play too smart. I'll usually format a gig or two for classic and leave the rest to the boot drive.

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
Hi Andy, I'll give it a try and let you know. I just tried the current version of the script (the one that IE Mac has a problem with) on a PC and it works great. So it seems to just be IE Mac. So I'll try the new thing and let you know. Thanks, Mark On Aug 25, 2004, at 5:47 AM, Andrew Mace

Re: Download images/movies

2004-08-25 Thread Bill Stephenson
On Aug 25, 2004, at 10:59 AM, Mark Wheeler wrote: 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

Re: Download images/movies

2004-08-25 Thread Bill Stephenson
On Aug 25, 2004, at 10:59 AM, Mark Wheeler wrote: 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

Re: [OT] Brand New Empty Mac

2004-08-25 Thread wren argetlahm
--- John Horner [EMAIL PROTECTED] wrote: But I just thought I'd get the opinions of the list on the best way to set up such a brand-new machine -- do you partition your hard-drives? Do you have the system on one partition and documents on another and so on? Any issues around the

@INC gone weird after repair

2004-08-25 Thread Alex Robinson
My iBook just came back from repair. The first thing I wanted to do was back up stuff that hadn't previously been. So I call psync into action and get the following: [solidgoldpig:~] alexr% sudo psync -r /Pictures/ /Volumes/192.168.0.40/SGPBACKUPS/Pictures/ Password: Can't locate MacOSX/File.pm

Re: @INC gone weird after repair

2004-08-25 Thread Sherm Pendley
On Aug 25, 2004, at 5:44 PM, Alex Robinson wrote: What is this /cb/perl5.8.4? Is it from the CamelBones bundle that I may have installed just before I had the hardware failure? Or is it something else entirely? The Fat Camel bundle includes Perl 5.8.4, installed in /usr/local/cb/perl5.8.4/.

Re: Download images/movies

2004-08-25 Thread Joel Rees
Thanks for your input. In regards to filename, I'm assuming you are talking about the filename passed within the HTML, right? If I know what you meant be that, I'd be more able to say. So I'll dodge and try explaining it this way: Any script that could potentially be called by someone typing