Jump to content

CURL Image


The Little Guy

Recommended Posts

Uhm, PHP can generate images on the fly without saving them.

imagepng() and etc.

 

my host has url linking turned off, unless you use CURL... I can read the image in using curl, but when I print out the stuff, I get the encoding, the code with all the question marks and stuff.

 

Why are you trying to steal other peoples bandwidth and their images?  :o

 

If the host didn't want their images stolen, they would either do 1 or more of these things:

1. save the image encoding in a database

2. not allow hot linking

3. take the image off the internet

 

how do you know I am not taking images from one of my websites, and passing it through to another site?

Link to comment
Share on other sites

If the host didn't want their images stolen, they would either do 1 or more of these things:

1. save the image encoding in a database

2. not allow hot linking

3. take the image off the internet

 

how do you know I am not taking images from one of my websites, and passing it through to another site?

 

Well think about it this way, I asked why you were doing it, you could either say:

- It's my own site I'm getting them from, or

- I'm stealing them because I can't be stuffed to upload them on my website.

 

Also, this is all I found.

http://curl.haxx.se/libcurl/php/examples/getbinarypageinvar.html

You apparently have to change the header.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.