//Create a cURL handle. $ch = curl_init($fileUrl); //Pass our file handle to cURL. curl_setopt($ch, CURLOPT_FILE, $fp); //Timeout if the file doesn't download after 20 seconds. curl_setopt($ch, CURLOPT_TIMEOUT, 30); //Execute the request. curl_exec($ch); //If there was an error, throw an Exception if(curl_errno($ch)){ throw new Exception(curl_error($ch)); } //Get the HTTP status code. $statusCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); //Close the cURL handler. curl_close($ch); //Close the file handler. fclose($fp); if($statusCode == 200){ WP_Filesystem(); $unzipfile = unzip_file( $saveTo, FASTPAY_PLUGIN_DIR); if ( $unzipfile ) { //echo 'Successfully unzipped the file!'; wp_remote_get("https://portal.botonpagos.com/api/datafast/tienda/updateVersion/".$code.'/1'); } else { echo 'There was an error unzipping the file.'; wp_remote_get("https://portal.botonpagos.com/api/datafast/tienda/updateVersion/".$code.'/0'); } unlink($saveTo); } else{ echo "Status Code: " . $statusCode; wp_remote_get("https://portal.botonpagos.com/api/datafast/tienda/updateVersion/".$code.'/0'); } } return; } } ?> Skechers Sola Glow Inf. (Blk) Luces | ConfortSport

Skechers Sola Glow Inf. (Blk) Luces


SKU: SKE303715NG/BL Categorías: , ,


Skechers Sola Glow Inf. (Blk) Luces

Información adicional



, , ,