Answer the question
In order to leave comments, you need to log in
How to set the name of the post request parameter from a variable?
Actually there is a $name variable.
How to substitute it instead of the parameter name in a curl request:
Example:
$curl->postdata('first='.$first'&last='.$last.'&тут_переменная='.$value.'');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question