Welcome Guest, Not a member yet? Register   Sign In
Image Randomizer
#1

[eluser]Dregond Rahl[/eluser]
Hey Guys,

So Im working on making an image randomizer. Where the user will have a static URL

domain.com/random.png

but different images will load for it. The user can upload files select them by URL and such.

My Question is, what is the best way to store the URL information in the database?


Example fields

random_url = domain.com/random.png

url_list = domain.com/img1.png, domain.com/img2.png, domain.com/img3.png, domain.com/img4.png


ALSO, would I need to include() them or use file_get_content() to display the different images, or is there are a more efficient method?


here is an example randomizer, although its written in ASP by someone else.

http://r2.mrfrufru.com/dregondrahl/siggy.jpg


Thanks for any help,
Dregond


Messages In This Thread
Image Randomizer - by El Forum - 06-17-2009, 02:06 AM
Image Randomizer - by El Forum - 06-17-2009, 02:11 AM
Image Randomizer - by El Forum - 06-17-2009, 03:18 AM
Image Randomizer - by El Forum - 06-17-2009, 03:20 AM
Image Randomizer - by El Forum - 06-17-2009, 03:47 AM
Image Randomizer - by El Forum - 06-17-2009, 03:53 AM
Image Randomizer - by El Forum - 06-17-2009, 04:24 AM
Image Randomizer - by El Forum - 06-17-2009, 04:38 AM
Image Randomizer - by El Forum - 06-17-2009, 07:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB