synchronous curl in php

Solutions on MaxInterview for synchronous curl in php by the best coders in the world

showing results for - "synchronous curl in php"
Mattia
19 Jan 2017
1//usually when you run a curl in php, 
2//your session will be affected and will not respond
3//this will happen if your curl request will take too long to respond.
4
5url: index.php?session=name
6<?php 
7set_time_limit(0); 
8$start_time = microtime(true); 
9session_name($_GET["session"].'$start_time');
10session_start();
11
12//set your curl script
13
14
15//feel free to upvote this if this work on you :) - rhalp10
16