It appears you have not yet registered with our marketplace community. To register please click here
Messages Preferences Watchlist Accounting Internet.com Freelancer
Listed in category: Web/App Development > PHPRFP: 68519425   Add Listing to Watchlist
Information
Event Overview
Meet the employer
Learn more about this employer
Budget Non-disclosed Non-Disclosed Budget 
Bidding Type For entire project
Bidding Privacy No Privacy
Low Bidder aj_nsc 0 Feedback Score: 0 to 49 points Freelancer Plan
Started 18-Nov-2009 12:49:13 AM
Ends
28-Nov-2009 12:49:13 AM
Expired
History 4 Bids, 0 Declined, 0 Retracted, 309 Views
Average Bid: US$105.25, Lowest Bid: US$1.00, Highest Bid: US$200.00
Event Public event
Status
Expired since 28-Nov-2009 12:49:13 AM
Action
Employer whotookit 0 Feedback Score: 0 to 49 points Employer Plan
Location California > United States
Feedback
0% Positive
Member since 18-Nov-2009 12:41:13 AM
People Invited Nobody invited
Payments Accepted Internet.com Freelancer Escrow Service Fee Calculator 
Escrow Funds will be secured via escrow after award
Specifics
Learn more details about this project
Report AbuseDescription
Portions of this description may be limited to guests or visitors. Login or register to view full description
I'm an Intro. to PHP student. Just wonder if you could provide me with a solution for this:
I'm kind of stuck in using cookie to set:
1. 7 days expiration for each email address registered.
2. within that 10 days, that user can download a file (say mypic.pdf) only once.

And then the same requirement but using session.
No attachments available
 
Bid History
Displaying all bids
ID Freelancer Bid Amount Delivery Bid Placed Portfolio
314
aj_nsc 0 Feedback Score: 0 to 49 points Freelancer Plan
Offline
US$1.00
For entire project
1 Days
Total
24-Nov-2009 08:23:35 AM Review
Take your question to webdeveloper.com and get your answer for free. The forum is full of very helpful, very knowledgeable people in all aspects of the web.

You probably shouldn't be using a cookie for your purposes anyway - all people have to do is delete their temp. internet files and poof....no cookies. If a user deletes the cookie before they download your file, then they won't get access to it. The best solution is as follows: Every time a user requests a file, then create a key and add it to a database (MySQL, .txt file, etc). E-mail the user they key and ask them for it when they try to download the file. Once they enter the key and download the file, then remove that key from your database and there you are, a one time download.
313
909FrankieT 0 Feedback Score: 0 to 49 points Freelancer Plan
Offline
US$100.00
For entire project
1 Days
Total
23-Nov-2009 06:33:38 PM Review
I have some experience with cookies. I would like to help you out on this project. I'll give you the cookie101 class. First, I will show you how to set the date of expiry in a cookie. Next, cookie retrieval is pretty basic. For this simple cookie we want it to expire in 7 days. You decide if it's 7 days or 10 days. Within this time before the cookie expires users can download a file only once. Check the count of downloads against the cookie in a database. You need some way of collecting email addresses with a database. We need to keep email addresses out of the cookies and any sensitive information. Do you know SQL? Keep it simple.


PHP Sessions are POST values for passing into other pages. I do this for most of my time in my web applications. It makes it very accessible for the quick form widget to submit values to a larger form. These sessions will hold a count value on visited pages. The first project with cookies we have to store the visitors email addresses. As with  getting to know MySQL. MySQL is the most used database with PHP and can be used with any other server-side scripting language. Here is the acronym for LAMP or WAMP which is Linux, Apache, MySQL and PHP or Windows, Apache, MySQL and PHP respectively.




Attachments
php- cookies.txt
319
rameshdh 0 Feedback Score: 0 to 49 points Freelancer Plan
Offline
US$120.00
For entire project
2 Days
Total
28-Nov-2009 12:34:52 AM Review
Already i  have implemented same in my project, can be deliver as per your requirment
311
tarek 0 Feedback Score: 0 to 49 points Freelancer Plan
Offline
US$200.00
For entire project
1 Days
Total
20-Nov-2009 05:29:03 PM Review
Buyer of this service auction? Award and Decline Bids

Resources     ·     FAQ     ·     Terms     ·     Contact Us     ·     About Us     ·     RSS     ·     Currency Converter


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers