1
0

userhead.php 300 B

123456789101112
  1. <?php
  2. require_once("../config.php");
  3. $id = (int)$_GET["id"];
  4. header("Content-type: image/jpg");
  5. $ch = curl_init();
  6. curl_setopt($ch, CURLOPT_URL, "https://embed.pixiv.net/user_profile.php?id=".$id);
  7. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  8. curl_exec($ch);
  9. curl_close($ch);
  10. ?>