ImageMagick & form $post

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Publisher Bucks
    Confirmed User
    • Oct 2018
    • 1366

    #1

    Tech ImageMagick & form $post

    Does anyone with knowledge of Imagemagick know if i *have* to use sessions in order to post form data to a .php file to generate the image based on pre-defined settings?

    I've Googled and not finding anyting definitive other than there being some 'bugs' in the latest version of ImageMagick.

    I'm just using a standard HTML form with the $post for the data being input, feeding it into the imagemagick.php file (which works if I edit it manually) but nothing is actually 'happening' as far as the data getting posted to the file.

    Im just trying to use a form to edit text, just as I would a regular .php page outputting form input in the browser when you hit the submit button
    Extreme Link List - v1.0
  • k0nr4d
    Confirmed User
    • Aug 2006
    • 9231

    #2
    It doesn't sound like you would need to use sessions in that scenario, unless your whole form required you to be logged in to use it.
    Mechanical Bunny Media
    Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

    Comment

    • Publisher Bucks
      Confirmed User
      • Oct 2018
      • 1366

      #3
      Originally posted by k0nr4d
      It doesn't sound like you would need to use sessions in that scenario, unless your whole form required you to be logged in to use it.
      That was what I was thinking, yet for some reason it does not appear to be parsing the data entered into the variable fileds in the imagemagick.php page :/

      I'm going to play with it a little more and see what I can find error wise but im about 99% certain this is error free and its related directly to my ImageMagickinstallation on the server :/

      Would being behind .htaccess count as being required to be logged in? Even if the form and ImageMagick.php page is in the same directory that is protected?
      Extreme Link List - v1.0

      Comment

      • k0nr4d
        Confirmed User
        • Aug 2006
        • 9231

        #4
        Originally posted by Publisher Bucks
        That was what I was thinking, yet for some reason it does not appear to be parsing the data entered into the variable fileds in the imagemagick.php page :/

        I'm going to play with it a little more and see what I can find error wise but im about 99% certain this is error free and its related directly to my ImageMagickinstallation on the server :/

        Would being behind .htaccess count as being required to be logged in? Even if the form and ImageMagick.php page is in the same directory that is protected?
        print_r() the $_POST and $_FILES arrays to make sure that the data is actually arriving at the server.

        If you are talking about htpasswd, that's doesn't count as a login system in the context of php sessions. That's separate.
        Mechanical Bunny Media
        Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

        Comment

        • Publisher Bucks
          Confirmed User
          • Oct 2018
          • 1366

          #5
          Originally posted by k0nr4d
          print_r() the $_POST and $_FILES arrays to make sure that the data is actually arriving at the server.

          If you are talking about htpasswd, that's doesn't count as a login system in the context of php sessions. That's separate.
          Thank you.

          Before I start screwing around with things and mess them up even more, can I confirm that you mean I should put print_r() like this at the top of the page where the arrays are and not somewhere else?

          <?php

          $Color = print_r($_POST)["Color"];
          $Title = print_r($_POST)["Title"];
          $TitleSize = print_r($_POST)["TitleSize"];

          ?>
          Extreme Link List - v1.0

          Comment

          • k0nr4d
            Confirmed User
            • Aug 2006
            • 9231

            #6
            print_r($_POST);
            Mechanical Bunny Media
            Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

            Comment

            • Publisher Bucks
              Confirmed User
              • Oct 2018
              • 1366

              #7
              Originally posted by k0nr4d
              print_r($_POST);
              Oh at the very top, gotcha.
              Extreme Link List - v1.0

              Comment

              Working...