PHP Script for cURL
-
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?
-
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.
-
@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.
-
@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?