Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
One questions about programming an image hosting...
Old 05-19-2005, 12:28 AM One questions about programming an image hosting...
cuongdm's Avatar
Skilled Talker

Posts: 63
Name: Cuong Dao M.
Location: Vietnam
Trades: 0
hi,
I am using PHP to code my image hosting project...
And i want to know "how many times an image is downloaded?"
cause we have to give our members a link like:
--------------
http://.../imagename.jpg
not like
http://..../view.php?name=imagename.jpg
-----------------
Now I can't calculate exactly how much bandwidth a member used,
need your helps...
__________________
visit my site :) [
Please login or register to view this content. Registration is FREE
]
cuongdm is offline
Reply With Quote
View Public Profile Visit cuongdm's homepage!
 
 
Register now for full access!
Old 05-19-2005, 02:48 AM
OmuCuSucu's Avatar
Vi Veri Veniversum Vivus

Posts: 1,168
Name: Dragos-Valentin
Location: Cluj-Napoca, RO
Trades: 0
why do ytou have to give them a link like that ? why can't it be like the second you posted and afetr clicking the stats should be updated and the user redirected to the first you posted ?

other than doing that you cannot do stats for the pictures directly using php. you could do a program in php that calculates your stats based on the server access log though.
__________________
.
» Please remember to add to my Talkupation if you enjoyed my post. Thank you :)
.
OmuCuSucu is offline
Reply With Quote
View Public Profile
 
Old 05-19-2005, 04:39 AM
cuongdm's Avatar
Skilled Talker

Posts: 63
Name: Cuong Dao M.
Location: Vietnam
Trades: 0
some people told me about mod-rewrite, so even we give them a link like http://..../image.jpg but actually, it's a php file... i'll try to do it now...
thanks
__________________
visit my site :) [
Please login or register to view this content. Registration is FREE
]
cuongdm is offline
Reply With Quote
View Public Profile Visit cuongdm's homepage!
 
Old 05-19-2005, 05:12 AM
OmuCuSucu's Avatar
Vi Veri Veniversum Vivus

Posts: 1,168
Name: Dragos-Valentin
Location: Cluj-Napoca, RO
Trades: 0
i am not sure that is one of the best things to do in your case ... come back and tell us the results please

good luck.
__________________
.
» Please remember to add to my Talkupation if you enjoyed my post. Thank you :)
.
OmuCuSucu is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to One questions about programming an image hosting...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25015 seconds with 12 queries