PHP Function to Parse URLs From a PDF Document

You don’t have to actually programmatically read a PDF to parse out the links in them. This simple routine below will parse out all the links embedded from a PDF and return an array of URL/URIs.

Leave a Reply

Your email address will not be published. Required fields are marked *