This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Webmaster forum > February 2007 > Need help with image requests
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Need help with image requests
|
|
| Mike S. 2007-02-09, 6:16 am |
| Right now I need a way to use htaccess to send image requests to a
specific PHP file. How would I go about doing this?
I've spent hours searching the web and I can't come up with anything.
I've tried a few things but nothing is working (at least not like I
need it to). Could someone help me, please?
BTW, I don't know too much about htaccess or PHP but I'm trying to
learn.
| |
| Tom Miller 2007-02-09, 10:15 pm |
| > Right now I need a way to use htaccess to send image requests to a
> specific PHP file. How would I go about doing this?
>
I am no expert and perhaps an expert would "get it" with nothing more than
what you have posted but if you could give me and the rest a little more
context and the "whole" problem your trying to solve, it might kick off a
very lively and helpful discussion.
Thanks,
Tom Miller
--
Try http://www.ChatNFiles.com which has a new telnet chat system and a HUGE
file downloads collection. Ecard: http://bccs.chatnfiles.com/ecard3.htm
--
Posted via a free Usenet account from http://www.teranews.com
| |
| Mike S. 2007-02-09, 10:15 pm |
|
Tom Miller wrote:
>
> I am no expert and perhaps an expert would "get it" with nothing more than
> what you have posted but if you could give me and the rest a little more
> context and the "whole" problem your trying to solve, it might kick off a
> very lively and helpful discussion.
>
Ok. I have images hosted on my website in an image folder. If I use
them on other websites I want that info (that the image was accessed/
requested) to go to a specific PHP file. The problem is that I don't
know how to record/log that info and send it to the PHP file. I'm told
that I should use a htaccess file, but that's as far as I got.
The idea is to obtain the IP address of whoever is trying to access
the images whether the image is on my website or someone elses.
| |
| Tom Miller 2007-02-23, 6:17 pm |
| "Mike S." <littleboyblu87@yahoo.com> wrote in message
news:1170996506.521111.24210@k78g2000cwa.googlegroups.com...
> Right now I need a way to use htaccess to send image requests to a
> specific PHP file. How would I go about doing this?
>
> I've spent hours searching the web and I can't come up with anything.
> I've tried a few things but nothing is working (at least not like I
> need it to). Could someone help me, please?
>
> BTW, I don't know too much about htaccess or PHP but I'm trying to
> learn.
Mike,
I remember seeing this message a bit ago. Try a followup where you tell us
in general the problem your trying to solve rather than a specific technical
detail. We maybe able to offer some ideas then.
For instance, I have many thousand images for download and I don't use
either PHP or .htaccess to do it.
Another for instance. Your trying to charge for downloading images. Have
you considered putting the link to the image in an sql database and having
an indirect link via the PHP script?
Once again, your asking a specific technical question when maybe a broader
question would generate more ideas/responses.
Thanks,
Tom Miller
--
Try http://www.ChatNFiles.com which has a new telnet chat system and a HUGE
file downloads collection. Ecard: http://bccs.chatnfiles.com/ecard3.htm
--
Posted via a free Usenet account from http://www.teranews.com
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|