Re: [GURU'S ONLY ;-)] Howto determine from which file an image is being requested?
- From: Floortje <floortje@xxxxxxxxxxxxx>
- Date: Mon, 10 Nov 2008 15:03:00 +0100
Fluffy Convict wrote:
Within my CMS, I want to keep track of where images (uploaded to the
site) are being used within the site. This could be within pages, but
also within .js or .css files. For tracking images, I created the
following in my .htaccess:
Guru's only ... ???
1 solution: store the requesr uri in a session, rewrirte your url like you did. Store the location. Then use readfile() instead of fopen().
2 SELECT * FROM pages WHERE text like '%user_uploaded_img%';
But off course im no guru.
.
- References:
- [GURU'S ONLY ;-)] Howto determine from which file an image is being requested?
- From: Fluffy Convict
- [GURU'S ONLY ;-)] Howto determine from which file an image is being requested?
- Prev by Date: Re: Array Help Needed
- Next by Date: Re: Array Help Needed
- Previous by thread: Re: Howto determine from which file an image is being requested?
- Next by thread: Scheduled emails
- Index(es):