Jump to content


Limit link availability

  • Please log in to reply
2 replies to this topic

#1 ivalea

  • Members
  • PipPip
  • Member
  • 24 posts

Posted 11 October 2006 - 05:43 PM

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.


#2 Jocka

  • Members
  • PipPipPip
  • Advanced Member
  • 344 posts
  • LocationDallas, Texas

Posted 11 October 2006 - 08:18 PM

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.

#3 ivalea

  • Members
  • PipPip
  • Member
  • 24 posts

Posted 12 October 2006 - 04:49 AM

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! :)

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users