php - . - - GoFuckBiz.info
 
 
   - GoFuckBiz.info

  - GoFuckBiz.info > - > ,
USD/RUB89.2589
BTC/USD69035.8145
, , .

24.09.2008, 14:40   #1
white powder
 
 
: 29.04.2007
: 2,684
: $370670
 php - .

, .

jpeg . /php .


PHP :
$im=imagecreatefromjpeg('http://www.google.com/adsense/static/en_US/images/logo_main.gif'); 

PHP :
$im=file_get_contents('http://www.google.com/adsense/static/en_US/images/logo_main.gif'); 

:
URL file-access is disabled in the server configuration in /home/domains/...
- ? Curl .
__________________
🙄https://t.me/musica_finale | : https://anchor.fm/hibrokakbiz 🙉🎤🙊
   
24.09.2008, 14:48   #2
solar
Senior Member
 
: 04.04.2007
: 601
: $7700

,
:
:
$data = ""; // tyt budet JPEG
$fp = fsockopen("www.example.com", 80, $errno, $errstr, 30);
if (!$fp) {
    echo "$errstr ($errno)<br />\n";
} else {
    $out = "GET /picture.jpg HTTP/1.1\r\n";
    $out .= "Host: www.example.com\r\n";
    $out .= "Connection: Close\r\n\r\n";

    fwrite($fp, $out);
    while (!feof($fp)) {
        $data.= fgets($fp, 128);
    }
    fclose($fp);
}
php.ini
allow_url_access = 1
( )
solar   
24.09.2008, 14:50   #3
white powder
 
 
: 29.04.2007
: 2,684
: $370670
-->

-! -..
__________________
🙄https://t.me/musica_finale | : https://anchor.fm/hibrokakbiz 🙉🎤🙊
   
24.09.2008, 15:07   #4
white powder
 
 
: 29.04.2007
: 2,684
: $370670
-->

, , .
echo $data,
:
HTTP/1.1 200 OK Date: Wed, 24 Sep 2008 11:03:40 GMT Server: Apache/2.2.3 (CentOS) Last-Modified: Fri, 05 Sep 2008 20:51:01 GMT ETag: "21ce19-cfc5-3a269740" Accept-Ranges: bytes Content-Length: 53189 Connection: close Content-Type: image/jpeg JFIF``C   $.' ",#
- ?


PHP :
header('Content-type: image/jpeg');
imagejpeg($data); 
.
__________________
🙄https://t.me/musica_finale | : https://anchor.fm/hibrokakbiz 🙉🎤🙊
   
24.09.2008, 15:21   #5
mavook
 
  mavook
 
: 04.04.2007
: 2,338
: $456535


)
exec("c:/curl/curl.exe http://url/captcha.php -b c:/cookie.txt -c c:/cookie.txt -k -o c:/home/domain/captcha1.png",$results,$return);
url/captcha.php - -

__________________
EPESE ! Bizzclick !
mavook   
24.09.2008, 15:23   #6
mavook
 
  mavook
 
: 04.04.2007
: 2,338
: $456535


-x hostort
__________________
EPESE ! Bizzclick !
mavook   
24.09.2008, 15:27   #7
white powder
 
 
: 29.04.2007
: 2,684
: $370670
-->

php ?
, - GD.
__________________
🙄https://t.me/musica_finale | : https://anchor.fm/hibrokakbiz 🙉🎤🙊
   
24.09.2008, 15:28   #8
deschain
Senior Member
 
  deschain
 
: 01.11.2007
: 2,268
: $288535

:
$fp = @fopen($SAVE_IMAGE_FILE, "wb");
if ($fp) {
	$c = curl_init();
	curl_setopt($c, CURLOPT_URL, $IMAGE_URL);
	curl_setopt($c, CURLOPT_FILE, $fp);
	curl_setopt($c, CURLOPT_HEADER, FALSE);
	curl_setopt($c, CURLOPT_RETURNTRANSFER, TRUE);
	$response = curl_exec($c);
	curl_close($c);
}
@fclose($fp);
deschain   
24.09.2008, 15:29   #9
deschain
Senior Member
 
  deschain
 
: 01.11.2007
: 2,268
: $288535

:

:
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $IMAGE_URL);
curl_setopt($c, CURLOPT_FILE, $fp);
curl_setopt($c, CURLOPT_HEADER, FALSE);
curl_setopt($c, CURLOPT_RETURNTRANSFER, TRUE);
$image = curl_exec($c);
curl_close($c);
$image.
deschain   
24.09.2008, 16:30   #10
white powder
 
 
: 29.04.2007
: 2,684
: $370670
-->

, , , ? .. ...

PHP :
<?php

$c 
curl_init();
curl_setopt($cCURLOPT_URL'http://gofuckbiz.info/spb/forsale2.jpg');
curl_setopt($cCURLOPT_HEADERFALSE);
curl_setopt($cCURLOPT_RETURNTRANSFERTRUE);
$image curl_exec($c);
curl_close($c);
 
//echo $image;
// Set the content type header - in this case image/jpeg
header('Content-type: image/jpeg');

// Output the image
imagejpeg($image);

// Free up memory
imagedestroy($image);
?>
__________________
🙄https://t.me/musica_finale | : https://anchor.fm/hibrokakbiz 🙉🎤🙊
   
- - - RSS -