php - FWRITE() Saving file to a specific location using XAMPP -
i realize there similar questions regarding saving files on linux servers or external windows servers. have script on local machine (running xampp) under c:/ drive. once script run, save file z:/ drive on computer network unable make happen.
is possible have script run say:
c:\xampp\htdocs\folder\script.php
and save .pdf file generated sent to:
z:\foldername2
edit
while able run script , store file anywhere on c drive, issue placing on network shared drive (the z drive). when run, following error:
warning: fopen(z:\form.pdf) [function.fopen]: failed open stream: no such file or directory in c:\xampp\htdocs\folder\fpdf\fpdf.php on line 1157 fpdf error: unable create output file: z:\form.pdf
assuming directory writable should able use f option in output method.
Comments
Post a Comment