Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stop hotlinking 1

Status
Not open for further replies.

cali310

Technical User
Jun 11, 2001
2
US
I have tried a few of the scripts out there but none seem to work with FP2k. Anyone know of a site that has, or do you personally have, a script that will work with front page?
 
I don't understand what you are asking for. Can you be more specific? Mike Barone
FREE CGI/Perl Scripts & JavaScript Generators
Ace PopUp Generator Software - Totally FREE
 
If it was a problem for me, I would point the IMG SRC= to an ASP instead of an image with a URL string attached identifying the image plus an encrypted expiration date/time for asking for the image. I've done this for delivering Signature images from a bit an image stored temporarily in an Application variable. The ASP MUST use Response.ContentType = "image/gif" or "image/jpg" and RESPONSE.BINARYWRITE to write the image back. It can be difficult to debug because any error attempts to write the text of the error with a RESPONSE.WRITE which just causes the image not to appear.
Your problem is that there is no way to read a binary (image) file in VBScript because the FileSystemObject converts what it thinks is ASCII to Unicode. However, if you can put a VB6 component on your site, here is the answer.
 
You can keep this from happening using .htaccess file on your UNIX server. Mike Barone
FREE CGI/Perl Scripts & JavaScript Generators
Ace PopUp Generator Software - Totally FREE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top