PHP and Perl
| From: | Jarosław Jankowski | Date: | Tue, 04 Sep 2001 07:35:27 +0000 |
| Subject: | PHP and Perl | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-65854@lists.php.net to get a copy of this message | ||
Hi,
I have something like this in the script :
<?
header("Content-Type: application/force-download");
header("Content-Disposition:filename=$clientname.xls");
set_time_limit(180);
passthru("d:\\perl\\bin\\perl.exe test2.pl $var \"$query\"
\"$query1\"");
exit;
?>
Perl script is generating Excel file.
My question is :
How to do it in PHP (maybe javascript) that after sending data to
this script first I will have window with something like " Wait,
generating file"
and when perl script is done another window with link to
generated file?
Any suggestions ?
Thx in advance.
jarek