ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    PHP Script for cURL

    Developer Discussion
    3
    4
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User
      last edited by

      I'm not much of a PHP Programer but I need to make a script some I'm hoping someone can give me some guidance. Basically what I need is a php file that can take some kind of input (I think php files normally do this in like file.php?id= or something idk). that tells it which cURL function to use. and I new a few different cURL scripts to based on that. I hope that makes sense. How do I go about this?

      1 Reply Last reply Reply Quote 2
      • scottalanmillerS
        scottalanmiller
        last edited by

        You need it to be PHP because you want to run it as a web page? Doing this is BASH would be pretty easy, too.

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @scottalanmiller
          last edited by

          @scottalanmiller said:

          You need it to be PHP because you want to run it as a web page? Doing this is BASH would be pretty easy, too.

          Yeah I need it so my mFi controller can pull it as a webpage.

          thanksajdotcomT 1 Reply Last reply Reply Quote 0
          • thanksajdotcomT
            thanksajdotcom @A Former User
            last edited by

            @thecreativeone91 said:

            @scottalanmiller said:

            You need it to be PHP because you want to run it as a web page? Doing this is BASH would be pretty easy, too.

            Yeah I need it so my mFi controller can pull it as a webpage.

            So basically you need to accept input, evaluate the input based on criteria, and then execute the corresponding script(s) based on that input?

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post