Hirdetés
- iPhone topik
- Megjelent az iOS 26.1 és iPadOS 26.1
- Xiaomi 14T - nem baj, hogy nem Pro
- Poco F7 – bajnokesélyes
- Az eddigieknél részletesebb videón a Samsung harmonikamobilja
- Samsung Galaxy Note10 és Note10+ duplateszt
- Hivatalosan is bemutatta a Google a Pixel 6a-t
- Samsung Galaxy A52s 5G - jó S-tehetség
- Samsung Galaxy S25 Ultra - titán keret, acélos teljesítmény
- Motorola Edge 70 - többért kevesebbet
Új hozzászólás Aktív témák
-
Lacces
őstag
válasz
PazsitZ
#10559
üzenetére
Nálam például ez sem működik:
<?php
function curl_download($Url){
// is cURL installed yet?
if (!function_exists('curl_init')){
die('Sorry cURL is not installed!');
}
// OK cool - then let's create a new cURL resource handle
$ch = curl_init();
// Now set some options (most are optional)
// Set URL to download
curl_setopt($ch, CURLOPT_URL, $Url);
// Set a referer
curl_setopt($ch, CURLOPT_REFERER, "http://www.example.org/yay.htm");
// User agent
curl_setopt($ch, CURLOPT_USERAGENT, "MozillaXYZ/1.0");
// Include header in result? (0 = yes, 1 = no)
curl_setopt($ch, CURLOPT_HEADER, 0);
// Should cURL return or print out the data? (true = return, false = print)
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// Timeout in seconds
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
// Download the given URL, and return output
$output = curl_exec($ch);
// Close the cURL resource, and free system resources
curl_close($ch);
return $output;
}
error_reporting(2);
print curl_download('http://www.example.org/');
?>Firefox nem jelenít meg, Chrome pedig csak egy laza server_error-t dob...
Új hozzászólás Aktív témák
- Thinkpad T14 Gen5 14" FHD+ IPS Ultra 7 155U 16GB 512GB NVMe ujjlolv IR kam gar
- Dell Pro 14 Plus 14" FHD+ IPS Ultra 7 265U 16GB 512GB NVMe ujjlolv IR kam gar
- Apple iPhone 12 Pro Max / 128GB / Kártyafüggetlen / 12Hó garancia
- Huawei P30 Pro / 6/128GB / Kártyafüggetlen / 12Hó Garancia / Kijelzőn beégés
- Dell Latitude 7450 14" FHD+ IPS Ultra 7 165U 16GB 512GB NVMe ujjlolv IR kam gar
- HP EliteBook 850 G7 15.6 inch (256GB SSD, i7-10610U, 8GB DDR4) Akció!
- AKCIÓ!!! RITKASÁG! Microsoft Surface Pro 11 Qualcomm Snapdragon X Elite 16GB 512GB OLED 120Hz Gar!
- GYÖNYÖRŰ iPhone 13 256GB Pink -1 ÉV GARANCIA - Kártyafüggetlen, MS3209, 100% Akkumulátor
- BESZÁMÍTÁS! MSI H310M i5 9400F 16GB DDR4 240GB SSD 2TB HDD RTX 2060 6GB THERMALTAKE VERSAH17 600W
- Xiaomi Redmi Note 13 Pro 5G 256GB, Kártyafüggetlen, 1 Év Garanciával
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
Cég: NetGo.hu Kft.
Város: Gödöllő


