[Date Prev][Date
Next][Thread Prev][Thread Next][Date
Index][Thread Index]
Re: Starting a batch file from a webpage...
Alternatively, with PHP
<?php
system('mybatchfile.bat');
?>
if you want the output to be visible
<?php
echo system('mybatchfile.bat');
?>
Ross
--
Ross McKillop
On 6 Dec 2003, at 09:18, Justin wrote:
> You should be able to place a batch file in your CGI folder and run it
> from a
> link etc.
>
> Justin.
>
> Quoting mailinglists@xxxxxxx:
>
>> I'd like to kick off a dos batch file from a button/link on a
>> webpage, this
>> has been discussed before using ASP, but as I don't run IIS/ASP,
I'd
>> like
>> to
>> do the same from Apache maybe using PHP/Perl ???
>> Any ideas?
>>
>> Cheers,
>> Lee
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
> Printer at MyInks.com. Free s/h on orders $50 or more to the US &
> Canada.
> http://www.c1tracking.com/l.asp?cid=5511
> http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/IBOolB/TM
> ---------------------------------------------------------------------
> ~->
>
> UKHA 2004: 15th and 16th May 2004
>
> http://www.automatedhome.co.uk
> Post message: ukha_d@xxxxxxx
> Subscribe: ukha_d-subscribe@xxxxxxx
> Unsubscribe: ukha_d-unsubscribe@xxxxxxx
> List owner: ukha_d-owner@xxxxxxx
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content and is believed to be clean
>
--
This message has been scanned for viruses and
dangerous content and is believed to be clean
Home |
Main Index |
Thread Index
|