Forums

trouble with this plugin and http_post (1 post)

  1. whooami
    Member
    Posted 3 years ago #

    ive found something that is stumping me, and have read the codex and all the plugin api stuff, to no avail.

    im writing a simple plugin that needs to take some input from a submitted form and regurgitate out some other info from that.

    Unfortuntely the page refreshes upon submitting the http_post, without any output.

    Comparing the headers there are no differences:

    POST /_some.plugin.php variable1=one&variable2=clicker

    POST /path-to/wp-admin/post.php?page=some_plugin.php variable1=one&variable2=clicker

    Im at a loss, Ive tried this 2 seperate ways.

    Ideas? Suggestions?

    Ooops, I neglected to say that the stand alone script works, exactly as is, after removing the necessary wp additions

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.