Title: HTTP wrapper does not support writeable connections
Last modified: August 18, 2016

---

# HTTP wrapper does not support writeable connections

 *  Resolved [chaaban](https://wordpress.org/support/users/chaaban/)
 * (@chaaban)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/http-wrapper-does-not-support-writeable-connections/)
 * Hello ,
 * i want to write some information to a file before inserting in the database but
   when i try to open the file
    i have to go this way :
 * fopen(home/domain/public_html/wp-content/plugins/file.txt)
 * how can i change this in a way that will work in a plugin (i mean in a way that
   it will work for all people if they enable the plugin that i’m trying 2 make …)
 * Thank’s

Viewing 1 replies (of 1 total)

 *  Thread Starter [chaaban](https://wordpress.org/support/users/chaaban/)
 * (@chaaban)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/http-wrapper-does-not-support-writeable-connections/#post-287262)
 * Thank’s … i found it in my database 🙂
 * $pathtofile = get_settings(‘fileupload_realpath’);

Viewing 1 replies (of 1 total)

The topic ‘HTTP wrapper does not support writeable connections’ is closed to new
replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 1 participant
 * Last reply from: [chaaban](https://wordpress.org/support/users/chaaban/)
 * Last activity: [20 years, 5 months ago](https://wordpress.org/support/topic/http-wrapper-does-not-support-writeable-connections/#post-287262)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
