Title: WordPress and CSV files
Last modified: August 19, 2016

---

# WordPress and CSV files

 *  [Jay1980](https://wordpress.org/support/users/jay1980/)
 * (@jay1980)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/wordpress-and-csv-files/)
 * Hi,
 * I want to use some PHP-Code in my Templates. I want to create one page, which
   converts the data of a csv-file into a HTML-table.
 * The script seems okay, it works on my local-non-wordpress installation. Basically
   the php-function “find()” reads the “file.csv”, converts the array into a string,
   built some tokens which will be placed in html-table tags.
 * Now I do not know, where to place the CSV File under my wordpress webroot directory:
   the file should be readable and writeable by php on the server and noone should
   be able to view the file in his browser.
 * What is your recommondation where to place the file, which chmod and what path
   must be in the template file?
 * Thanks in advance

The topic ‘WordPress and CSV files’ is closed to new replies.

## Tags

 * [chmod](https://wordpress.org/support/topic-tag/chmod/)
 * [csv](https://wordpress.org/support/topic-tag/csv/)
 * [path](https://wordpress.org/support/topic-tag/path/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 0 replies
 * 1 participant
 * Last reply from: [Jay1980](https://wordpress.org/support/users/jay1980/)
 * Last activity: [18 years, 4 months ago](https://wordpress.org/support/topic/wordpress-and-csv-files/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
