![]() |
|
How to get image from website without image filename - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Visual Basic & .NET Framework (https://sinister.li/Forum-Visual-Basic-NET-Framework) +--- Thread: How to get image from website without image filename (/Thread-How-to-get-image-from-website-without-image-filename) |
RE: How to get image from website without image filename - Coder-san - 11-27-2013 (11-27-2013, 06:15 PM)Geoff Wrote:(11-27-2013, 06:08 PM)Coder-san Wrote: Hi @avahdon can you post the whole html code where you have the captcha? (11-27-2013, 06:32 PM)DHFDJFJHGDFJKG Wrote:(11-27-2013, 06:08 PM)Coder-san Wrote: Hi @avahdon can you post the whole html code where you have the captcha? I know. I mean to see the page source (I shouldn't say HTML code). Usually these captcha create a randomized image, or have an identifiable class name/id name in CSS. Which can be used to display the image. RE: How to get image from website without image filename - hellomen - 11-27-2013 (11-27-2013, 11:28 AM)Geoff Wrote:(11-27-2013, 10:29 AM)hellomen Wrote: because their might be an issue regarding to the php file. I assume the page he is using is made into PHP RE: How to get image from website without image filename - hellomen - 11-27-2013 (11-27-2013, 11:28 AM)Geoff Wrote:(11-27-2013, 10:29 AM)hellomen Wrote: because their might be an issue regarding to the php file. I assume the page he is using is made into PHP RE: How to get image from website without image filename - The Real Slim Shady - 11-27-2013 (11-27-2013, 09:16 PM)hellomen Wrote: I assume the page he is using is made into PHP even if the page was generated in PHP - 1. The page isnt his, so how would he have the PHP file 2. Why does it even matter? he's attempting to essentially download the image. How the image is generated is pretty much irrelevant. RE: How to get image from website without image filename - The Real Slim Shady - 11-27-2013 (11-27-2013, 09:16 PM)hellomen Wrote: I assume the page he is using is made into PHP even if the page was generated in PHP - 1. The page isnt his, so how would he have the PHP file 2. Why does it even matter? he's attempting to essentially download the image. How the image is generated is pretty much irrelevant. RE: How to get image from website without image filename - hellomen - 11-28-2013 (11-27-2013, 10:36 PM)Geoff Wrote:(11-27-2013, 09:16 PM)hellomen Wrote: I assume the page he is using is made into PHP you can block downloading in the php.ini if I am correct or high requests... this might be an issue and this can be set in a php file RE: How to get image from website without image filename - hellomen - 11-28-2013 (11-27-2013, 10:36 PM)Geoff Wrote:(11-27-2013, 09:16 PM)hellomen Wrote: I assume the page he is using is made into PHP you can block downloading in the php.ini if I am correct or high requests... this might be an issue and this can be set in a php file RE: How to get image from website without image filename - The Real Slim Shady - 11-28-2013 (11-28-2013, 09:14 AM)hellomen Wrote: you can block downloading in the php.ini if I am correct You are incorrect. If you blocked an image from downloading it would defeat the purpose of having the image. if the browser cant download, it cant display it. you cant effectively block an image from being downloaded by specific applications (User agents are easily spoofed). And even if it could be done... its obviously not his server, so how would you propose he changed the php.ini or php code? RE: How to get image from website without image filename - The Real Slim Shady - 11-28-2013 (11-28-2013, 09:14 AM)hellomen Wrote: you can block downloading in the php.ini if I am correct You are incorrect. If you blocked an image from downloading it would defeat the purpose of having the image. if the browser cant download, it cant display it. you cant effectively block an image from being downloaded by specific applications (User agents are easily spoofed). And even if it could be done... its obviously not his server, so how would you propose he changed the php.ini or php code? RE: How to get image from website without image filename - hellomen - 11-28-2013 (11-28-2013, 09:29 AM)Geoff Wrote:(11-28-2013, 09:14 AM)hellomen Wrote: you can block downloading in the php.ini if I am correct http://php.net/manual/es/function.ini-set.php anyways I will review his code and try it afterwards and see what he has done wrong |