Gossamer Forum
Quote Reply
If PDF
Hi,

Is there a way to make Links SQL recognize if the URL for a link is a link to a pdf file?

Thanks
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] If PDF In reply to
Hi,

I think you should be able to do this:

Code:
<%if URL contains ".pdf"%>
its a PDF
<%endif%>

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!