Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chidambaram

macrumors member
Original poster
Mar 9, 2008
67
0
hi,

What is the equivalent dylib in MAC machine for AcroPDF.dll in PC?

My requirement is i want to find the version of acrobat in my machine using PHP?

how can i do this?

Thanks in advance...
 

chidambaram

macrumors member
Original poster
Mar 9, 2008
67
0
Thanks for ur reply...

My requirement is i want to know the version of adobe acrobat which is installed in my system using PHP.The following code works fine for Firefox in PC.
But for Mac this code shows undefined. What can i do for this?


<coding>function OtherPDFVersion()
{
var version = null;
var plugin = navigator.plugins["Adobe Acrobat"];
if (plugin == null) return null;
if (plugin.description == "Adobe PDF Plug-In For Firefox and Netscape")
{
version = '8.0';
}
else
{
version = plugin.description.split('Version ')[1] + '.0';
}
// return version;
alert(version);
}


</coding>
 

ElectricSheep

macrumors 6502
Feb 18, 2004
498
4
Wilmington, DE
Thanks for ur reply...

My requirement is i want to know the version of adobe acrobat which is installed in my system using PHP.The following code works fine for Firefox in PC.
But for Mac this code shows undefined. What can i do for this?


<coding>function OtherPDFVersion()
{
var version = null;
var plugin = navigator.plugins["Adobe Acrobat"];
if (plugin == null) return null;
if (plugin.description == "Adobe PDF Plug-In For Firefox and Netscape")
{
version = '8.0';
}
else
{
version = plugin.description.split('Version ')[1] + '.0';
}
// return version;
alert(version);
}


</coding>

There is very little need for most users to have any Acrobat PDF plugin installed. PDF support is built directly into the Graphics sub-system of Mac OS X. Safari doesn't need to use a plugin to render PDFs, and there is a small plugin for Firefox that leverages the same ability.
 

timbos

macrumors member
Jan 2, 2009
34
0
My requirement is i want to know the version of adobe acrobat which is installed in my system using PHP.The following code works fine for Firefox in PC.
But for Mac this code shows undefined. What can i do for this?


Can't you just use phpinfo(), which (at least on my Vista machine running xammpp here at work) reads the pdf version as one of the output groups?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.