On Sat, 2009-10-31 at 21:29 +0100, Athmane Madjoudj wrote:
On Sat, Oct 31, 2009 at 9:25 PM, Nigel Henry
<cave.dnb2m97pp(a)aliceadsl.fr> wrote:
> I was trying to read an online tool catalogue, and noticed a PDF button at the
> bottom of the webpage. Clicked on it, and it opened the dialog box to
> download. What has been downloaded though is a .php script (27.3MB).
>
> The properties shows that it contains a pdf document, but I've no idea how to
> run it, open it, or whatever needs to be done, to get to see the PDF.
>
> Any suggestions folks.
Try to rename it:
mv FILE_NAME.php FILE_NAME.pdf
and open it with Evince
Athmane Madjoudj
No need to rename it, just run
$ evince FILE_NAME.php
Of course
$ file FILE_NAME.php
will always give you a reasonable guess about what the file format
really is.
jon