调用图像< img src =" .PHP"隐藏img src [英] calling image <img src=" .php" hiding img src

查看:62
本文介绍了调用图像< img src =" .PHP"隐藏img src的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的网站上发布一个脚本,允许我隐藏图像

来源。

我对它有粗略的想法。我将src指向某些php页面,例如:

< img src =" image.php">

&在PHP扫描仪中完全不好意思,所以用户不知道

点击图像文件后的图像文件的真实源位置。

我看过网站在做什么这个。有人可以为它发帖吗?


提前完成

I wanna publish a script on my site which allows me to hide image
source.
i have rough idea abt it. i`ll point src to some php page like:
<img src="image.php">
& in tht php wat exactly shud be done so tht user doesnt come to know
the real source location of image file upon clicking its properties.
I''ve seen websites doing this. can somebody post the script for it?

Thanx in advance

推荐答案

FX写道:
< img src =" image.php">
我见过网站这样做。有人可以为它发布剧本吗?
<img src="image.php">
I''ve seen websites doing this. can somebody post the script for it?



http:// php.net/imagejpeg


-

E. Dronkert



http://php.net/imagejpeg

--
E. Dronkert


" ; FX"写道:
"FX" wrote:
我想在我的网站上发布一个脚本,它允许我隐藏图像源。


只是不要发布你的图片。每次都有效。

我有一个粗略的想法。我将src指向某些php页面,例如:
< img src =" image.php">
&在PHP扫描仪完全shud完成所以用户不知道
图像文件点击其属性时的真实源位置。


你是用手机发布的吗?请打开预测短信

功能,这样我们就可以看到整个单词而不是这个整齐的单词。


在回答你的问题时,脚本位于image .PHP"要么必须提供图像源本身,要么将用户的浏览器重定向到图像的实际

位置。无论哪种方式你都没有隐藏任何东西。


想一想。您的浏览器到底应该如何显示图像

而无法看到图像的源代码?

我看过网站这样做了。
I wanna publish a script on my site which allows me to hide image
source.
Just don''t publish your images. Works every time.
i have rough idea abt it. i`ll point src to some php page like:
<img src="image.php">
& in tht php wat exactly shud be done so tht user doesnt come to know
the real source location of image file upon clicking its properties.
Are you posting from a mobile phone? Please turn on the predictive texting
function so we can see whole words instead of this giberish.

In answer to your question, the script at "image.php" will either have to
supply the image source itself, or redirect the user''s browser to the actual
location of the image. Either way you''re not hiding anything.

Think about it. How the hell is your browser supposed to display an image
without being able to see the source code of the image?
I''ve seen websites doing this.




不,你没有。


-

phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil .ronan /



No you haven''t.

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/


来吧我可以打赌,我见过这些。

<?php

header(" Content-Type:image / jpeg");

imagejpeg(
come on i can bet, i`ve seen these.
<?php
header("Content-Type: image/jpeg");
imagejpeg(


这篇关于调用图像&lt; img src =&quot; .PHP&QUOT;隐藏img src的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆