WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] HTTP wrapper does not support writeable connections (2 posts)

  1. chaaban
    Member
    Posted 8 years ago #

    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

  2. chaaban
    Member
    Posted 8 years ago #

    Thank's ... i found it in my database :)

    $pathtofile = get_settings('fileupload_realpath');

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.