Hi, currently i have a system set which forces people (on most browsers) to save the pdf document in question to disk. When this document saves the default save name is the name of the script rather then the name of the pdf document. Is there a way for me to make the default save name the actual name of the pdf document? here is my code...
@$fileName = \"27xSdox/$filedata.pdf\";
@$filesize = filesize($fileName);
if($filesize) {
@Header(\"Content-Length: \".$filesize);
@Header(\"Content-Disposition: attachment; filename=\".$fileName);
@readfile($fileName);
}
thanks