I'm fairly a novice to php. So plz excuse my ignorance
Also, can I in some way use it to make a click-able link?
Code: Select all
....snip....
include 'myClass.class.php';
$createFile = new myClassFunction();
echo '<div id="preview" style="display:block"><p>Please wait.</p>';
// still working on this part
flush();
// Main Program
if ($createFile->DownloadPDF(trim($_POST['userPDFurl'])))
{
echo "http://mystie.cc/",$createFile->GetFileName(),"<br />\n"; //This is the file user should be able to download
echo ($createFile->GeneratePDF('$_POST[quality]')) ? '<p>Success!</p>' : '<p>Error generating PDF file!</p>';
}
else
{
echo '<p>Error downloading PDF!</p>';
....snip.... }
Thanks.
Nitin