Support » Plugin: PHP Everywhere » get_query_var throwing a 403 i believe

  • Resolved mkentwell

    (@mkentwell)


    I’m trying the following in my code and it seems to be throwing a 403, so I would suggest there is something obvious I have not setup – apologies for the newby question.

    I am trying to see if the URL Parameter “ThisCancelled” exists and if so show the message in the echo on the page.

    PHP Everywhere box reads:

    <?php
    if (get_query_var(‘ThisCancelled’)) {
    echo (“Setup Transaction Cancelled, please try again”);}
    ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • mkentwell

    (@mkentwell)

    Ignore this, the message was a furphy – was probably just bad code on my part, reverted to JS/JQ

    Plugin Author Alexander Fuchs

    (@alexander_fuchs)

    Hi mkentwell,

    thanks for sharing your experience.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘get_query_var throwing a 403 i believe’ is closed to new replies.