Find File from a File-Link

2005-07-20 Thread armin . nolte
Hi, does someone know if it is possible to read a link-to-a-file ("Verknüpfung" in german) and find out where the real file is located to open it? cheers Armin Armin Nolte Database-Marketing Deutsche Behindertenhilfe - Aktion Mensch e.V. Heinemannstr. 36 53175 Bonn Tel.: 0228-2092-233 Fax: 022

RE: CGI Error message

2005-07-20 Thread Chris Wagner
If you're using Apache u can set an error handler to display an html document when that particular code is encountered. Don't know about IIS or others, lah. At 12:24 PM 7/21/05 +0800, Goh Chin Tiong wrote: >Kindly advise on how we can disable the following >error from appearing on the browser wh

RE: CGI Error message

2005-07-20 Thread Goh Chin Tiong
Kindly advise on how we can disable the following error from appearing on the browser when a non-existent cgi script is being called. Thanks CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Can't open perl script "e

RE: send output to a parallel port?

2005-07-20 Thread robert
> -Original Message- > From: Ken Cornetet > > Writing to an IO port from a user program isn't allowed under > NT/2k/XP. > > To do this you need some sort of driver. > > Check out http://www.winfordeng.com/products/portio32/#samples well somehow the single line of C code ou

RE: help with getting file stats

2005-07-20 Thread Darrell Gammill
Have you tried stat ("$dir/$file")? If you just stat ($file), $file would have to be the full path or a file in the current directory. Do you have a sample output you could share? -Dgg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of lorid Sent: Wednesda

RE: help with getting file stats

2005-07-20 Thread Wagner, David --- Senior Programmer Analyst --- WGO
[EMAIL PROTECTED] wrote: > I am trying to get the file stats > I found this code in ch8 of perl cookbook > ( $dev, $ino, $mode, $nlink, > $uid, $gid, $rdev, $size, > $atime, $mtime, $ctime, > $blksize, $blocks ) = stat($filename) > > and read the man page for stat and perlfunc but ca

RE: send output to a parallel port?

2005-07-20 Thread Thad Schultz
- Original Message - From: "robert" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 20, 2005 1:27 PM Subject: send output to a parallel port? > Hey all > > we have some devices at work that are controlled by sending signals via the > computer's parallel port. (because all the serial port

help with getting file stats

2005-07-20 Thread lorid
I am trying to get the file stats I found this code in ch8 of perl cookbook ( $dev, $ino, $mode, $nlink, $uid, $gid, $rdev, $size, $atime, $mtime, $ctime, $blksize, $blocks ) = stat($filename) and read the man page for stat and perlfunc but cant seem to get a simple program to get th

RE: send output to a parallel port?

2005-07-20 Thread robert
> -Original Message- > From: Sisyphus > Afaik a function declared as void would not return. it won't return a value, but it still has to go back to the caller. > Anyway, if it's that simple to do in C then it's also very > simple to achieve in perl, using Inline::C. thats interes

RE: send output to a parallel port?

2005-07-20 Thread Ken Cornetet
Writing to an IO port from a user program isn't allowed under NT/2k/XP. To do this you need some sort of driver. Check out http://www.winfordeng.com/products/portio32/#samples -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sisyphus Sent: Wednesday, July

Re: send output to a parallel port?

2005-07-20 Thread Sisyphus
- Original Message - From: "robert" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 20, 2005 1:27 PM Subject: send output to a parallel port? > Hey all > > we have some devices at work that are controlled by sending signals via the > computer's parallel port. (because all the serial por