Fopen

liunx

Guest
I can't get fopen to work. I keep getting this error:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Warning: fopen(test.pdf): failed to open stream: Permission denied in /home/zimmer/public_html/pdf/fpdf.php on line 1044<!--c2--></div><!--ec2--><br /><br />Any ideas?<!--content-->
Make sure you have the permissions on that file set to world readable.<br /><br />The webserver runs as a different user than you, so other than for scripts that you would setup under CGIwrapper, your files need to be world readable for the webserver to have access to them.<!--content-->
 
Back
Top