Hello!
Is it possible to have PHP save a file to a UNC Share (\server\share$) that has windows permissions from Active Directory set up on it?
I am using FPDF to generate my pdf document, and I would like to save it directly to that share, rather than my users having to currently view the pdf and then manually save it.
Is there a way PHP can authenticate to access this share which has permissions granted on this share to a Active Directory account? Thank you for help!
-Jason
$pdf->Output("\\\\001file100\\share$\\folder\\document.pdf","F");
Warning: fopen(\\001file100\proc_wgp$\PO DB Backups\305-21315 Bus Mart.pdf) [function.fopen]: failed to open stream: Permission denied in C:\Web\WebServer\Apache2\htdocs\podb\lib\fpdf\fpdf.php on line 1046
FPDF error: Unable to create output file: \\001file100\proc_wgp$\PO DB Backups\305-21315 Bus Mart.pdf