Follow us on Twitter!
Ideas are far more powerful than guns.
Wednesday, April 23, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 25
Guests Online: 21
Members Online: 4

Registered Members: 82885
Newest Member: ConiBE
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

save img from site's

hust921
Member

Your avatar

Posts: 26
Location: Denmark
Joined: 05.08.06
Rank:
Newbie
Warn Level: 70
Posted on 20-09-06 14:44
Hey. I'm trying to make a program that save's Imgens from a page. like:
somesite/img/1.jpg
somesite/img/2.jpg
somesite/img/3.jpg
and so on...

I don't know what langues i'm gonna program in.
Hope some of you can tell me a good lagues for the program, and a litle something about what i'm gonna code.

(sorry for my eng Pfft)




hust921


Author

RE: save img from site's


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 20-09-06 14:51
uhh how about doing it in php using "for" and "fget" and "fwrite" etc.. ?
u might find this useful for a part of the script if you wrote it in php:
Code
<?php
set_time_limit(0);
$f = fopen("http://somesite/whatever.jpg","r");
while (!feof($f))
{
$x=fgetc($f);
$file = fopen("whatever.jpg","w");
fwrite($file,$x);
fclose ($file);
}
fclose($f);
?>







Edited by on 20-09-06 14:55
Author

RE: save img from site's

hust921
Member

Your avatar

Posts: 26
Location: Denmark
Joined: 05.08.06
Rank:
Newbie
Warn Level: 70
Posted on 20-09-06 16:41
I thought about php to. but i can't not that muths php yet. so ivl try doing it php then.

Thanks Wink


Author

RE: save img from site's


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 20-09-06 18:39
mm u can do it in VB too, which is my fav. language, but i prefer php for such tasks..