On Sat, 10 Feb 2001, Chris Johnson wrote:

> On Sun, Feb 11, 2001 at 04:57:14AM +0100, Halfdan Mouritzen wrote:
> > In the .qmail-robot file I've written
> >
> > |usr/hotel/topdog/WWW/temp/qmailtest.php
>
> Can you just go piping things into a php script and expect your PHP interpreter
> to spring into action to interpret the script for you? Isn't there supposed to
> be a web server involved somewhere? (Maybe you can do this, but it would come
> as a surprise to me.) What happens if you pipe the data into the script
> directly, without involving qmail?

You can build PHP for command line use, but even from the command line
the first thing it does is prints some html headers.  I never found a
way to shut that off, but I also didn't try that hard.  I guess you can
grep them out but the end result is why bother?

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================



Reply via email to