Add to Google

How To: Hide The Real Url Of Your Images - using php

Pages: 1, 2, 3
free web hosting
Open Discussion > CONTRIBUTE > Tutorials

How To: Hide The Real Url Of Your Images - using php

cmatcmextra
Thanks for the good comments smile.gif

23 downloads and a listing in hotscripts. Yay biggrin.gif

Comment/Reply (w/o sign-up)

Sprnknwn
Really useful. I´ve downloaded the script and I hope I can make it work. People who hotlink is very annoying (although I have to admit that I have done it several times in the past, biggrin.gif ).

Thanks!

Comment/Reply (w/o sign-up)

mizako
Really useful, thanks for the script.

QUOTE(Saint_Michael @ Jul 22 2005, 01:22 AM)
not bad but another way to prevent people from hijacking your images do what ign.com doest, water mark it, but this could be a useful script hopefully its gets downloaded alot.
*



Does anyone a way insert watermarks automatically in the images. I mean a PHP script or a free program that run in a server.











Comment/Reply (w/o sign-up)

cmatcmextra
QUOTE(mizako @ Jul 28 2005, 12:47 PM)
Does anyone a way insert watermarks automatically in the images. I mean a PHP script or a free program that run in a server.
*



Please start a new topic in the programming languages forum....

Comment/Reply (w/o sign-up)

areawe
Thank you for this very useful script. This, along with a watermark on all the images, and the available protection through Trap 17 would really help deter a thief.

Comment/Reply (w/o sign-up)

SecureA
wow , nice script,anybody ever tried it?

Comment/Reply (w/o sign-up)

Shackman
Wow....this is really cool....thanks...been wanting to do it .....

Comment/Reply (w/o sign-up)

cmatcmextra
QUOTE(SecureA)
wow , nice script,anybody ever tried it?


Yep, me. I've had it running on my site for about a month or so now. No problems with it.

If you want to decrease the size of the script but still want it to remain just as functional as it was before, change:

CODE

if (!$ext) {

echo "Could not find appropiate information";

exit;

}

if (!$filename) {

echo "Could not find appropiate information";

exit;

}

if (!$img) {

echo "Could not find appropiate information";

exit;

}


To...

CODE

if (!$ext || !$filename || !$img) {

echo "Could not find appropiate information";

exit;

}




 

 

 


Comment/Reply (w/o sign-up)

Adamrosso
Thanks. I will be using this on my website to stop those hotlinkers/leechers.

Comment/Reply (w/o sign-up)

MarCrush
QUOTE(s2city @ Jul 14 2005, 10:01 PM)
This would still allow your image to be hotlinked... it'd just disguise the URL. Most forums don't allow dynamic urls, so it couldn't be posted... but would work fine in coded html.
*



This guy is right, you could just copy the URL and put it in a <img> tag and it will show. You have to use .htaccess or use cPanel to prevent hotlinking.

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

Pages: 1, 2, 3
Recent Queries:-
  1. script php hide - 7.42 hr back. (1)
  2. how to hide real web address in php - 41.61 hr back. (1)
  3. php hide file link - 44.26 hr back. (1)
  4. images - 44.86 hr back. (1)
  5. would anyone now how i can hide actual url, for example - 45.27 hr back. (1)
  6. php how to hide a input text - 69.21 hr back. (1)
  7. php hiding url script - 99.34 hr back. (1)
  8. realurl hide in menu - 132.65 hr back. (1)
  9. how to disguise url - 140.51 hr back. (1)
  10. hide images folder on website - 166.55 hr back. (1)
  11. how to hide images folder from website - 166.87 hr back. (1)
  12. url images - 187.71 hr back. (1)
  13. get images url code - 196.49 hr back. (1)
  14. how to put image url - 212.26 hr back. (1)
Similar Topics

Keywords : hide, real, url, images, php

  1. Tutorial : Hide Folder Without Any Softwares
    Descriptive enough! (10)
  2. Make A Moderately-secure Password System Using Javascript
    using file redirection to hide the password. (11)
    JavaScript is very handy at making forms, allowing for much more customization and easier ways to
    send data. So making Login forms using JavaScript may seem to many to be a very feasable idea.
    However, JavaScript is very bad at protecting Passwords, as since the passwords are not encypted and
    the whole JavaScript code is in the page, a person could just view the Page Source and find out
    everything. Even if you use an external JavaScript, it would still be poor as the file name for the
    external JavaScript would still be revealed. But I have an answer! There is a relative....
  3. How To Hide Your Important Files And Folders
    In Ms. Windows, Without Using Programmes. (7)
    Most of people share their computers with others -family, mates, buddy or whoever- and that sharing
    threatens their secrets and private file to be revealed, letting some people to know things they
    shouldn't know.. My Securing Way: Operation - Camouflage Use an Icon
    Editor to generate a 1x1 Transparent Icon and Save it .. > 1 Open CMD.. Start >> Run or Press
    WindowsLogo+R.. Lets Say you wanna hide a Folder named " secure " and it's located in
    E:\folder\ so Write E: and Press Enter then Write Cd folder and Enter then Attrib +s +h....
  4. Uploading Images To Phpbb Galleries
    (0)
    This tutorial can be used to show someone how to upload images to a PHPBB Gallerie addon. This
    tutorial is not specific to any particular phpbb mod since all mods will most likely be similar. 1)
    go to the website galleries (easy) (http://www.school-stuff.org/album.php) 2) Click on the category
    that you want to upload the images to. 3) Look for a button that says Upload and click on it. 4)
    Insert a Title in the title box this will be what people can identify the picture by, does not need
    a description. 5) Click on the Browse Button next to 'Upload a picture from ....
  5. Uploading Images To The Trap17 Gallery
    A How To, on uploading images to the trap17 gallery (4)
    Well, seeing as how BuffaloHelp or OpaQue has told us to upload our images to the trap17 gallery
    instead of our own, i figure that i could help out those who dont know how to do it because it
    isn't all that easy for the noobs. Uploading Images To The Trap17 Gallery Step 1:..
    Obviously You need a picture so get one of those Step 2:.. Go to "My Controlls" Step 3:.. Once
    you get there, on the left hand side look for "Invision Gallery" Step 4:.. Click On "Your Albums"
    Step 5:.. Now you need to create an album so click on "Create My First Album" S....
  6. Blending Patterns Onto Images
    blending patterns onto images (2)
    Hmm. I wrote this for a thread, but I decided to submit it here too. First you need to download or
    make the patterns. I have some ready made patterns here:
    http://www.members.lycos.co.uk/boysbr3akhearts/Patterns .You have to save each image in that
    directory, and place them into your Patterns folder (C:\Program Files\Jasc Software Inc\Paint Shop
    Pro 7\Patterns). I made this mini-tutorial in PSP 7, but I don't think it's hard to figure
    out how to do this in other programs. After you have downloaded the patterns. ^ Find that in PSP
    and click the Pattern opti....
  7. Hide Names In Welcome Screen
    in XP (0)
    Annoyed by seeing many User Names in the Welcome Screen you can remove them Some times a user needs
    to be added to access a network resource but the user will not be physically logged in to your
    system. In such cases you can remove his/her name from the WelcomeScreen in Xp to do this go to
    Registry editor as normal go to HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS NT\CURRENT
    VERSION\WINLOGON\SPECIALACCOUNTS\USERLIST\ Right click in the empty space in the right pane and
    create a new DWORD value Name this new value "Username" and enter "0" as the data value you are....
  8. Writing On Images
    ...with PHP and GD library (2)
    Demo: http://www.fantastictutorials.com/files/av...er&color=random ..and:
    http://www.fantastictutorials.com/files/avatar/index.php This tutorial is based on the code I used
    for this avatar generator . This tutorial is for people that are reasonably comfortable with
    php. I have went to a lot of work making it as simple as possible so even if you are a beginer you
    shouldn't have problems. After writing the tutorial, I realised how difficult it is to read
    when the source and tutorial seperately ... so I commented the tutorial into the source of the php.
    First....
  9. Making Shadows Without Images
    (4)
    Im going to show you very simply how to create boxes with Shadows using div tags and css, no images
    needed, meaning fat pageload times! /biggrin.gif' border='0' style='vertical-align:middle'
    alt='biggrin.gif' /> You simple need to create two layers, one behind the other, the one behind
    will have a top and left margin on 20px, the one infront 10px, set teh background colour of the one
    behing darker than teh one infront, you should end up with something like this: Here is th html
    to create this effect: CODE Its as simple as that, two divtags, a bit of cs....
  10. How To Resize/host Images!
    Very easy to understand! (15)
    For the tutorial I'm ganna be using IrfanVeiw. It's a freeware image program which you can
    use to resize and add effect to image, and a lot more ofcourse. If you don't have IrfanVeiw you
    can get it from download.com or anyother download site. How to resize images: First you gatta
    open Irfanveiw...gee, how obvious. First, open the picture you wish to resize. Second, click the tab
    that says "Image" -=Example=- Third, click "Resize/Resample -=Example=- Finaly, set the Height
    and Width of the picture to what you want, make sure you have "Set New Size" a....
  11. Extending The Image Preloader With Php4
    Dynamically adds your images to Preloader! (3)
    Tutorial: Extending the Image Preloader with PHP4, by Rob J. Secord, B.Sc. (SystemWisdom)
    Second Tutorial in a Series of 2 Tutorials! Be sure to have read the First One here: "Image
    Preloader With Progress Bar Status" See a working Sample of this Script! (Note: Preloads 100
    images, some images are larger than others, and may take awhile for some people.) Description :
    A Tutorial for Extending the Image Preloader with PHP4 to Dynamically Populate the Array of
    Preloaded Images. This tutorial is the second in a series of 2 tutorials, and assumes that y....
  12. Css Trick: Hide Disabled Internet Explorer Vertical Scrollbar
    (20)
    I'm working on a website and a few minutes ago I got very tired from the Internet Explorer
    vertical scrollbar. This vertical scrollbar is always there, even if the length of the page does not
    require a vertical scrollbar. In this case, Internet Explorer will disable the scrollbar though not
    remove it. In my opinion this would be correct behaviour. The disabled however not hidden scrollbar
    means that a switch between a preview of your website in Mozilla Firefox and MS Internet Explorer
    will lead to an annoying change of the location of your layout. To disable this an....
  13. Roll-over Image Links With Css
    No preloading of images (2)
    Here is a way of having roll over image links without preloading images by using CSS and a table.
    It's very useful for a list of links as in a side bar menu or header. It also solves not having
    to make a seperate image for each different link by placing the desired text over the image. 1.
    First you need an image which comprises of the main link image, the 'mouse over' image link
    underneath plus you can have another for visited links. As for most roll over images, the images
    should be the same size. The above example - button.gif is 100x60px with each lin....
  14. Simple Image Rotator
    randomly rotate images (6)
    First, It's really confusing. Do you know any tutorials on Image Manipulation on PHP?
    Here's another simple one: 1. Create a 5 image. 2. Rename them to something like:
    image1.jpg; image2.jpg; and so on... 3. Create your PHP file (rotation.php) 4. Enter the
    following code: CODE header("content-type: image/jpeg");
    readfile("image".mt_rand(1,3).".jpg"); ?> 5. Execute your script.....

    1. Looking for hide, real, url, images, php

Searching Video's for hide, real, url, images, php




advertisement



How To: Hide The Real Url Of Your Images - using php