Jump to content

Archived

This topic is now archived and is closed to further replies.

ivalea

Limit link availability

Recommended Posts

Hello - I've got a page that includes a link to download a dynamic pdf using the fpdf class and I've got a couple of questions - been searching for awhile now and I can't find the answer!  ???

First, is there a way for me to make the link available to users for only a certain number of attempts without having to set up something in mysql?

Second, would anyone familiar with fpdf happen to know how I can get my images to come out looking better?  I'm not sure if it's the way they're are being set on the page or if it's just how the class generates the pdf.  I've tried using a 300dpi jpg and png but still my images are fuzzy.

Thanks! 

Share this post


Link to post
Share on other sites
You could use SESSIONS, COOKIES, or a file. Sessions would probably be the best way.

I've never needed fpdf so I dunno about that.

Share this post


Link to post
Share on other sites
Thanks Jocka - i actually got the fpdf thing worked out - though now file size is huge! :)

Also, I'm not altogether sure how use sessions for this purpose - would I have to add anything to the db for this to work? 

Thanks! :)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.