you could use mod_rewrite to have that url redirected to something like images.php?file=image.jpg and then you can update the database in that script using the file name in the url.
do what keith says, or; before the person goes onto the image, put them onto an page that uses a GET parameter to remember what image needs to be logged. It will get the image name, date and time and insert it into the database. Then it will redirect to the image page using the GET parameter.
Apache already logs the access to your image (image view)
All you have to do is configure apache to log access to certain files (like images) to a database instead of to the normal access log.
If you have control over your server, then install something like mod_log_sql and configure it accordingly.
I've done exactly that for my image site, I can post instructions if you need.
Thank guys so much
unfortunately I don't have control over the server but I found another way just maybe some wanna know
I created a folder with the image name
and inside the folder I have index.php which will log the information I need and view the image to the visitor
Sir I have these codes
and autocomplete.php has ...
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
I'm working in Excel to extract content of a table from a web page and populate Excel sheet cells with it. I'm trying to extract data from a table that gets loaded to a web page after show results method gets called. I have an error that says "Run-time error ...