Hiya, Got an image hosting and it seems the images expires after a certain period of time. How can I make it so images never expire? http://www.imagegrip.com I know it's a bit vague but just need a bit of guidance what code should I be looking in my php files? Cheers
Well you could be looking for a constant that determines the expiration time or looking around in the database assuming it uses a database for registration and holding constants.
Yes it uses a database to store all images etc. Any idea what constant I should be looking at in the database? Sorry I am total newbie in this area. Thanks
The value may well be in the database, or a seperate php file (perhaps config.php or somesuch? Maybe in an "includes" directory) which holds a lot of defined variables used throughout all the php scripts. I'd imagine it will be located in a file somewhere, that's the most straightforward way of storing variables anyway. You'd probably want to edit a variable with "Expiry" or "lifetime" or something like that in its name. Also look for variables with a value equal to the lifetime of the images on the site