Title: fopen problem
Last modified: August 31, 2016

---

# fopen problem

 *  [guylancaster](https://wordpress.org/support/users/guylancaster/)
 * (@guylancaster)
 * [10 years ago](https://wordpress.org/support/topic/fopen-problem-1/)
 * I am having problems with fopen.
 * A php file in the app directory but not using wordpress it works accessing /data/
   m.csv
 * The same code in a plugin accessing that data in the [http://myapp/data](http://myapp/data)
   directory above dosent work
 * The same code in a plugin accessing that data in the wp-includes directory (using
   the fopen includes flag =true) dosent work.
 * The same code in a plugin accessing that data in a plugin/myplugin/data directory
   dosent work.
 * Any help much appreciated

Viewing 1 replies (of 1 total)

 *  Thread Starter [guylancaster](https://wordpress.org/support/users/guylancaster/)
 * (@guylancaster)
 * [10 years ago](https://wordpress.org/support/topic/fopen-problem-1/#post-7410798)
 * wp_remote_fopen seems to fix it

Viewing 1 replies (of 1 total)

The topic ‘fopen problem’ is closed to new replies.

## Tags

 * [fopen](https://wordpress.org/support/topic-tag/fopen/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [guylancaster](https://wordpress.org/support/users/guylancaster/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/fopen-problem-1/#post-7410798)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
