【发布时间】:2023-04-06 20:07:01
【问题描述】:
我想知道当您遇到错误HTTP request failed! HTTP / 1.1 463 时如何提取网站图像?
该网站会阻止所有 PHP 查询,但不会阻止所有 Internet 服务器。
我在 One.com 的服务器上测试了脚本,该脚本可以运行,但在其他任何地方都无法运行。我收到错误 463,确切地说是:HTTP request failed HTTP / 1.1 463。
这是脚本:
<?php
header("Content-type: image/gif");
$habbo = $_GET['habbo']; // Habbo
$habbo2 = $_GET['habbo2']; // Habbo N°2
$habbo3 = $_GET['habbo3']; // Habbo N°3
$pays = $_GET['pays']; // Pays
$image = imagecreatefromgif("bureau_behind.gif"); // Bureau
$avatar = imagecreatefromgif("https://www.habbo.".$pays."/habbo-imaging/avatarimage?user=".$habbo3."&action=sit&direction=2&head_direction=2&gesture=sml&size=b&img_format=gif");
imagecopy($image, $avatar, 78, -16, 0, 0, 64, 110); // Lien Habbo
$avatar = imagecreatefromgif("https://www.habbo.".$pays."/habbo-imaging/avatarimage?user=".$habbo2."&action=sit&direction=2&head_direction=2&gesture=sml&size=b&img_format=gif");
imagecopy($image, $avatar, 48, -2, 0, 0, 64, 110); // Lien Habbo n°2
$avatar = imagecreatefromgif("https://www.habbo.".$pays."/habbo-imaging/avatarimage?user=".$habbo."&action=sit&direction=2&head_direction=2&gesture=sml&size=b&img_format=gif");
imagecopy($image, $avatar, 20, 10, 0, 0, 64, 110); // Lien Habbo n°3
$bureau = imagecreatefromgif("bureau_before.gif"); // Bureau image
imagecopy($image, $bureau, 0, 0, 0, 0, 300, 200); // Composition image
imagegif($image);
imagedestroy($image);
?>
提前致谢!
【问题讨论】:
-
显示一些代码,否则没人能帮忙
-
我的帖子更新了,谢谢!