On Sat, Nov 09, 2002 at 11:37:57AM +1000, [EMAIL PROTECTED] wrote:
> Hi all,
> I have written a perl cgi script to get wvdial to dial the internet, but I
> would like to fork the process and print the output to the webpage.
> What would be the easiest way to accomplish this?
I don't know if it will allow you to do this in a default apache setup,
but anyway, you fork like so:
if (fork()) {
# display webpage here
} else {
# do modem dialling here.
}
HTH
James.
--
"The Greatest Common Divisor is a curious concept in mathematics in that it is
defined by its name. " - Number Theory and Algebra, Terry Gagen.
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug