Support » Plugin: Redirection for Contact Form 7 » Get Image from redirected page

  • Resolved sakal037


    So passing data is simple and clear

    $email = strip_tags(trim($_GET[“email”]));
    $firstname = strip_tags(trim($_GET[“firstname”]));
    $lasttname = strip_tags(trim($_GET[“lastname”]));

    That work fine.

    But I want to get an image that user submit so this not work
    $file = $_FILES[“featuredimage”][“name”];

    Is there way I can get image?

Viewing 1 replies (of 1 total)
  • Plugin Author yuvalsabar


    Hi @sakal037,

    I’m afraid currently we do not support files, only fields with text, but you can do that by a little bit of programming. One method to pass the name of the file is to create a hidden input, and when the user selects a file, pass the value of the name by JS. You can do that by using jQuery .change() event handler.


Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.