runPHP and POST variables
-
tried searching for this but the difference between the browsers POST variables and post as in an actual WP post is hard to sort out.
anyway, i’m trying to use a form within a page written in the page writer. the form links to another wordpress page using action=”https://mysite.com/?page_id=255″
the page the form shoots to is using php, courtesy of the runPHP plugin. the PHP works fine. however, i’m having a problem accessing my POST variables, which makes my form less than useful.
i’m trying to get the post variables with
$myvariable = mysql_real_escape_string($HTTP_POST_VARS[‘postvarname’]);somewhere in there it’s like my POST_VARS array is just…either not being written to, or being emptied after the fact. i’ve tested the pages without outside of wordpress (i.e., without making wordpress pages of them) and they work OK then.
anyone know what’s up with this?
- The topic ‘runPHP and POST variables’ is closed to new replies.