franzwarning Posted June 17, 2011 Share Posted June 17, 2011 Hi, How could I get random images off the web? When I mean random I mean anything, from ads to pictures of the ocean. I don't even know where to begin. Cheers, George Quote Link to comment https://forums.phpfreaks.com/topic/239618-random-image-from-the-internet/ Share on other sites More sharing options...
sKunKbad Posted June 17, 2011 Share Posted June 17, 2011 The internet is a big scary place, and if you could get a random picture, you'd probably find that most of them would be worthless. That said, if it were me I'd probably use a dictionary and have my script randomly search google for combinations of dictionary words. Then randomly choose one. Quote Link to comment https://forums.phpfreaks.com/topic/239618-random-image-from-the-internet/#findComment-1230912 Share on other sites More sharing options...
franzwarning Posted June 17, 2011 Author Share Posted June 17, 2011 Thanks, that's the kinda of approach I was looking for. If I did search for an image in google how would I save the image to a php script? Cheers, George Quote Link to comment https://forums.phpfreaks.com/topic/239618-random-image-from-the-internet/#findComment-1230913 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.