|
Your time now: Mon Nov 23, 2009 12:25 pm
|
View unanswered posts | View active topics
| Author |
Message |
|
chubzyko
|
Post subject: code on how to see how many times an image has been viewed. Posted: Thu Jul 31, 2008 11:33 pm |
|
 |
| 100+ Club |
 |
Joined: Wed Jul 30, 2008 11:48 pm Posts: 104 Location: Marikina City, Philippines
|
haiya guys, some forums have this feauture, there are some images in a page and below it, there is a text showing how many times the image had been viewed. is that code still i html, or js?
if someone know how to do it, can you help me plz? 
_________________ "Failure is the key to success, so try and try until you succeed."
|
|
| Top |
|
 |
|
flabbyrabbit
|
Post subject: Posted: Fri Aug 01, 2008 1:45 pm |
|
 |
| 500+ Club |
 |
Joined: Thu Jan 25, 2007 2:10 pm Posts: 691 Location: Midlands, England
|
|
I think that would be achieved using PHP and MySQL. Where MySQL is a database and it holds a record for each image and every time the image is viewed the PHP updates the record.
If you would like more detail on how this is done dont hesitate to ask,
Flabby Rabbit
_________________ http://www.hackthis.co.uk
|
|
| Top |
|
 |
|
chubzyko
|
Post subject: Posted: Fri Aug 01, 2008 6:24 pm |
|
 |
| 100+ Club |
 |
Joined: Wed Jul 30, 2008 11:48 pm Posts: 104 Location: Marikina City, Philippines
|
well, there is actually lots of features i want my website to have. haha! But the prob is, I don't know how to code it. Like making a comment box, I can't understand how to do those tutorials. But i've found a zip file of somethng like guess comment box. All I need to do is just save it in the ftp where my html's are saved. Anyway, back to the image viewed times, I tried to google on how to do it but i didnt find an easy tut. as what you have said, i can do it in php and mysql right? I dont know much about mysql actually. I guess you can explain it to me. 
_________________ "Failure is the key to success, so try and try until you succeed."
|
|
| Top |
|
 |
|
flabbyrabbit
|
Post subject: Posted: Fri Aug 01, 2008 7:26 pm |
|
 |
| 500+ Club |
 |
Joined: Thu Jan 25, 2007 2:10 pm Posts: 691 Location: Midlands, England
|
|
| Top |
|
 |
|
chubzyko
|
Post subject: Posted: Fri Aug 01, 2008 7:48 pm |
|
 |
| 100+ Club |
 |
Joined: Wed Jul 30, 2008 11:48 pm Posts: 104 Location: Marikina City, Philippines
|
|
Uh oh. Sorry I can't chat during office hours.
_________________ "Failure is the key to success, so try and try until you succeed."
|
|
| Top |
|
 |
|
flabbyrabbit
|
Post subject: Posted: Fri Aug 01, 2008 7:51 pm |
|
 |
| 500+ Club |
 |
Joined: Thu Jan 25, 2007 2:10 pm Posts: 691 Location: Midlands, England
|
|
Umm ok, ill write you some quick information on it tomorrow then, see if that helps you.
Flabby Rabbit
_________________ http://www.hackthis.co.uk
|
|
| Top |
|
 |
|
chubzyko
|
Post subject: Posted: Fri Aug 01, 2008 7:52 pm |
|
 |
| 100+ Club |
 |
Joined: Wed Jul 30, 2008 11:48 pm Posts: 104 Location: Marikina City, Philippines
|
|
Geee, Tnx!
_________________ "Failure is the key to success, so try and try until you succeed."
|
|
| Top |
|
 |
|
chubzyko
|
Post subject: Posted: Fri Aug 01, 2008 10:25 pm |
|
 |
| 100+ Club |
 |
Joined: Wed Jul 30, 2008 11:48 pm Posts: 104 Location: Marikina City, Philippines
|
|
Haiya! I just found some good tuts in making a comment box, and a pageview counter. I guess i'm going to study on how to do those things first. Harhar!
_________________ "Failure is the key to success, so try and try until you succeed."
|
|
| Top |
|
 |
|
flabbyrabbit
|
Post subject: Posted: Fri Aug 01, 2008 10:41 pm |
|
 |
| 500+ Club |
 |
Joined: Thu Jan 25, 2007 2:10 pm Posts: 691 Location: Midlands, England
|
|
Ok, it should be quite easy if you find yourself a good tutorial.
I need to write some stuff up to add to the scripts section as these sorts of questions crop up quite often.
Flabby Rabbit
_________________ http://www.hackthis.co.uk
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 9 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 5 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
|