racer99 Posted November 21, 2006 Share Posted November 21, 2006 Hi all,quick question with Apache. I am working on a project the involves PHP creating .CSV file on an Apache server. However, when I try to call the file in the browser in tells me it can't be found. Does anyone know if Apache has a setting for placing default files in a different directory. The file is suppose to be created in the same directory as the other pages; however, obviously this isnt the case. I am pretty sure the file is being created somewhere though because I am not getting any errors when the script writes to to the file. Thanks in advance Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted November 22, 2006 Share Posted November 22, 2006 No. This is down to your PHP script. Perhaps there is a variable somewhere which defines where your .csv file is being created.Also have a look at Apaches error logs to see if your PHP is actually creating the file. Just because you're getting no errors doesn't mean PHP has created the file, especially if your server doesn't have display_errors directive enabled in the php.ini Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.