OK. Thanks. So I want to open the file in the server application. So I need to create a link to the server and have the file open in it.
Here's my code so far...
the link...
<a href="full/path/to/crystal.exe?id=file.rpt">View Report in Crystal rpt</a>
Code to open file...
// create file name variable
$id = $_GET['id'];
// open file
$fp = fopen('$id', 'w');
// write to file
fwrite($fp, $content);
// save and close file
fclose($fp);
Am I on the right track?