你好,我正在尝试植入类似static.domain.com的东西,我们可以在没有 cookie 的情况下放置我们的图像。但问题是我通过 php 提供我的图像。像这样
public function getIMG( $img )
{
if ( ! file_exists( "www-static". DS ."assets". DS ."images". DS . $img ) ) {
throw new Exception( "No such img as $img" );
}
$img = "/image-static". DS ."assets". DS ."images". DS . $img;
echo '<img src="' . $img . '" />';
}
我们还能植入它们吗?也许使用 php cookie_set 并以某种方式清除所有 cookie ?但如果我正确的话,我担心它与会议一起。
这是萤火虫的要求。