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
PIN Access to Specific Images
Old 04-12-2009, 02:46 AM PIN Access to Specific Images
Junior Talker

Posts: 3
Trades: 0
Hello everyone,

I would like to create a site that had a place to input a pin number. This pin number would then in turn pull up a specific image for the user that they could order/delete/print/whathaveyou.

I'm thinking that I could create a mysql database with the image, the pin number, and maybe a category or something. Then the place that the user inputs the pin number is actually a spot simply allowing input to pull up the corresponding image.

Does this sound along the lines what other people would do?

Also, have any clues on how to effectively upload these images with pin numbers?
CWitt is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-12-2009, 06:09 AM Re: PIN Access to Specific Images
lizciz's Avatar
Webmaster Talker

Posts: 744
Name: Mattias Nordahl
Location: Sweden
Trades: 0
Sounds like a good aproach. Just generate a random PIN number when the user uploads a picture and print it so he can see it. Perhaps you could also send it in a mail to the user, in case he doesn't see it.

You should also probably have some clean up feature that removes images of a certain age, which nobody has viewed, since it's possible a user will forget his PIN and then the image is useless and just takes up space.
__________________
34343639363436653237373432303635373837303635363337 34323037343638363137343263323036343639363432303739 366637353366
lizciz is offline
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Old 04-12-2009, 03:10 PM Re: PIN Access to Specific Images
Junior Talker

Posts: 3
Trades: 0
I need something that could do this quick and efficient to hand out to people as I take their photo. I would like to go to events and snap shots, then in turn hand out cards that would correspond with that person's photo.

Any ideas?
CWitt is offline
Reply With Quote
View Public Profile
 
Old 04-13-2009, 11:16 PM Re: PIN Access to Specific Images
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,898
Name: Keith Marshall
Location: Connecticut
Trades: 0
You could store the images in a directory that is not in the public root path. Use the DB entries to store image name, id and server path. Then the PHP script could just read the image and output it to the buffer while its still binary.
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to PIN Access to Specific Images
 

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.39677 seconds with 12 queries