Re: [vox-tech] reading files into a web page

2002-02-02 Thread Peter Jay Salzman
begin Mark K. Kim <[EMAIL PROTECTED]> > On Sat, 2 Feb 2002, nbs wrote: > > > Or simpler yet: > > > > > > "include" does PHP translation, which Peter may not want. It's especially > fatal if you're including a user-posted data. "fpassthru" is safer from > security point of view. what's ph

Re: [vox-tech] reading files into a web page

2002-02-02 Thread Peter Jay Salzman
jim, just out of curiosity, in my hypothetical webpage: Bulletin Board `cat /www/pcgm/bulletins` where would the perl code go? (i am a total newbie in dynamic webpage content). sorry if this question is painful, but i honestly don't know. :) pete > Hi Pete, >

Re: [vox-tech] PDF/PS formating to save paper

2002-02-02 Thread Henry House
On Sat, Feb 02, 2002 at 12:22:56PM -0800, nbs wrote: > On Sat, Feb 02, 2002 at 12:19:40PM -0800, Ryan wrote: > > > > I'd like to be able to processs my PDF or PS files to shrink pages form the > > orignal and fit 4 of them on each page of a new document, anyone know how i > > miggh pull this of

Re: [vox-tech] reading files into a web page

2002-02-02 Thread Micah Cowan
On Sat, 2002-02-02 at 03:14, Mark K. Kim wrote: > SSI can do that, like this: > >... > > > >... > > I *think* that's the right syntax. It's been eons since I've used SSI. > Depending on the host, you may need to name your file with a special > extension, like ".phtml" or

Re: [vox-tech] ZIP drive woes

2002-02-02 Thread ME
On Sat, 2 Feb 2002, nbs wrote: > Odd... No light. Just this: > # dd if=/dev/sda of=/dev/zero bs=1024k count=10 > dd: /dev/sda: Input/output error > 0+0 records in > 0+0 records out OK, how about this. Did you recently make any changes to the parallel port in the BIOS? For example: Unidir

Re: [vox-tech] ZIP drive woes

2002-02-02 Thread nbs
On Sat, Feb 02, 2002 at 07:20:06PM -0800, ME wrote: > insmod load a module, but does not do deps. Why do I /always/ forget about modprobe!? :) Thanks! :) > Also, see if you can dd the device and see if the drive comes on. > # dd if=/dev/sda of=/dev/zero bs=1024k count=10 Odd... No light.

Re: [vox-tech] ZIP drive woes

2002-02-02 Thread ME
insmod load a module, but does not do deps. You should avoid using insmod unless you know for certain that only one module is needed. Try rmmod the ppa module and then after it is removed, try modprobe ppa. modprobe does mod deps and may solve the problem you are having. (It seems more like that

Re: [vox-tech] ZIP drive woes

2002-02-02 Thread Rod Roark
Well, "unable to read partition table" sounds pretty bad. But for what it's worth, zip disks are generally formatted as fat on partition 4 (/dev/?da4). -- Rod http://www.sunsetsystems.com/ nbs said: > I found some old ZIP disks I had backed up some of my websites on, and thought I'd > poke a

Re: [vox-tech] ZIP drive woes

2002-02-02 Thread Gabriel Rosa
Bring the disks over tomorrow and I'll test them on mine. There's a reason why I bought the SCSI model :) -Gabe On Sat, 2 Feb 2002, nbs wrote: > I found some old ZIP disks I had backed up some of my websites on, > and thought I'd poke around and see what I had. > > Unfortunately, when I went t

[vox-tech] ZIP drive woes

2002-02-02 Thread nbs
I found some old ZIP disks I had backed up some of my websites on, and thought I'd poke around and see what I had. Unfortunately, when I went to use my drive (an older, PPA-style 100MB drive), I was faced with the following: # insmod ppa Using /lib/modules/2.2.18pre21/scsi/ppa.o ppa: Versi

Re: [vox-tech] PDF/PS formating to save paper

2002-02-02 Thread Ryan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yup. On Saturday, February 02 2002 12:22 pm, nbs wrote: > On Sat, Feb 02, 2002 at 12:19:40PM -0800, Ryan wrote: > > I'd like to be able to processs my PDF or PS files to shrink pages form > > the orignal and fit 4 of them on each page of a new docume

Re: [vox-tech] PDF/PS formating to save paper

2002-02-02 Thread nbs
On Sat, Feb 02, 2002 at 12:19:40PM -0800, Ryan wrote: > > I'd like to be able to processs my PDF or PS files to shrink pages form the > orignal and fit 4 of them on each page of a new document, anyone know how i > miggh pull this off? Dont have time to give details, but I think "psnup" is wha

[vox-tech] PDF/PS formating to save paper

2002-02-02 Thread Ryan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'd like to be able to processs my PDF or PS files to shrink pages form the orignal and fit 4 of them on each page of a new document, anyone know how i miggh pull this off? - -- No Microsoft products were used in any way for the creation of this me

Re: [vox-tech] reading files into a web page

2002-02-02 Thread nbs
On Sat, Feb 02, 2002 at 12:13:12PM -0800, Mark K. Kim wrote: > On Sat, 2 Feb 2002, nbs wrote: > > > Or simpler yet: > > > > > > "include" does PHP translation, which Peter may not want. It's especially > fatal if you're including a user-posted data. "fpassthru" is safer from > security poin

Re: [vox-tech] reading files into a web page

2002-02-02 Thread Mark K. Kim
On Sat, 2 Feb 2002, nbs wrote: > Or simpler yet: > > "include" does PHP translation, which Peter may not want. It's especially fatal if you're including a user-posted data. "fpassthru" is safer from security point of view. -Mark -- Mark K. Kim http://www.cbreak.org/mark/ PGP key available

Re: [vox-tech] reading files into a web page

2002-02-02 Thread nbs
On Sat, Feb 02, 2002 at 03:14:02AM -0800, Mark K. Kim wrote: > Better way would be with PHP: > >... > > $fp = fopen("/www/pcgm/bulletins", "r"); > fpassthru($fp); > ?> > >... Or simpler yet: -bill! _

Re: [vox-tech] reading files into a web page (long scripts)

2002-02-02 Thread Eric Engelhard
Peter Jay Salzman wrote: [snip] > how can i do this? i *think* php can do this, but i don't know a lick > of php. can someone give me explicit instructions on how to do this > sort of thing? > > if it makes a difference, i'm putting a form on the same page that adds > text to /www/pcgm/bulletin

Re: [vox-tech] reading files into a web page

2002-02-02 Thread Jim Angstadt
--- Peter Jay Salzman <[EMAIL PROTECTED]> wrote: > > Bulletin Board > > > `cat /www/pcgm/bulletins` > > > > > how can i do this? i *think* php can do this, but i Hi Pete, Don't know PHP but Perl could do it: # - #!/perl/bin/perl.exe -w use strict; use File::Slurp; my $file = 't

Re: [vox-tech] reading files into a web page

2002-02-02 Thread Mark K. Kim
SSI can do that, like this: ... ... I *think* that's the right syntax. It's been eons since I've used SSI. Depending on the host, you may need to name your file with a special extension, like ".phtml" or something. Of course, the server needs to support SSI. Better way wo

[vox-tech] reading files into a web page

2002-02-02 Thread Peter Jay Salzman
suppose i have a web page http://www.dirac.org/pcgm/bulletinboard: Bulletin Board and i'd like to put the contents of some file in the body, formatted as verbatim text (say, between pre tags). i'd like to do something like: Bulletin Board `cat /www/pcgm/bulletins` how can i do t