Answers for "SYNCHRONOUS CURL IN PHP"

PHP
0

SYNCHRONOUS CURL IN PHP

//usually when you run a curl in php, 
//your session will be affected and will not respond
//this will happen if your curl request will take too long to respond.

url: index.php?session=name
<?php 
set_time_limit(0); 
$start_time = microtime(true); 
session_name($_GET["session"].'$start_time');
session_start();

//set your curl script


//feel free to upvote this if this work on you :) - rhalp10
Posted by: Guest on June-24-2021

Browse Popular Code Answers by Language