Question: |
Hello do you have curl?We just have the site operates a system of sending SMS and without curl they are not sent, please check, maybe there as something you can enable or add? |
Answer: |
Hello. of course there are |
Question: |
So clear, thank you. Then we have another problem: curl_setopt($curl, CURLOPT_URL, `http://IP:9501/api`); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS, $data); $out = curl_exec($curl); curl_close($curl);script hangs while sending request via curlРё in the end, nothing sends. In consequence of which we are not running the SMS service, and it does not receive text messages. |
Answer: |
what is this address ? IP |
Question: |
Ip address of SMS gateway of the local machine everything is fine... the Problem is where you have.... Waiting for response...thank you. |
Answer: |
Provide a link where you can see the problem. |
Answer: |
please Check now.
|
Question: |
Here is the link - http://gslot.cash/func.inc.php?act=get_pass&phone=79687013375&type=1 it should return a response SMS gateway and just hangs on the line $out = curl_exec($curl);DOP. the function that sends the SMS is in func.inc.phpsendSms()Really need your help... Waiting for response |
Answer: |
According to the link required to enter a username and password. Provide them. |
Question: |
try again, dressed purely |
Answer: |
the Script is very long running. The script execution time on the server is limited to 30 seconds. |
Question: |
For a long time the query is run curl_exec , without it it works instantly, check... |
Answer: |
please Wait. |
Answer: |
please Check now.
|
Question: |
Everything works. Thank you |
Answer: |
OK
|