I am trying to store PDF generated by tcpdf in "uploaded_files" but getting error. I checked existing answers but they have path inside webroot. In my situation path is above root.
$pdf->Output("../../uploaded_files/".'Temp.pdf', 'F');
Message: fopen(): remote host file access not supported
Following are path details:
Web Root Path:/var/www/html/index.php
Upload Folder Path: /var/uploaded_files/
Permissions for both directories & files are 0777