Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#303857 - 05/11/2007 20:14 Mac users: Test a link for me?
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3583
Loc: Columbus, OH
I have a user that claims that some code I wrote doesn't work on Mac. Can someone click on the following link and confirm that it opens a PDF file inline?

Safari, FireFox or both are good.

EDIT: link removed. Thanks for the help!


Edited by JBjorgen (05/11/2007 20:25)
_________________________
~ John

Top
#303858 - 05/11/2007 20:19 Re: Mac users: Test a link for me? [Re: JBjorgen]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Firefox 2.0.0.9 brings up a Open/Save dialog with the default as open in Preview which when clicked brings up some sort of school report.

Top
#303859 - 05/11/2007 20:21 Re: Mac users: Test a link for me? [Re: JBjorgen]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Looks fine here on Firefox 2.0.0.9. and Safari 3.0.3 on my Macbook Pro running OS X 10.4.10
_________________________
- Tony C
my empeg stuff

Top
#303860 - 05/11/2007 20:24 Re: Mac users: Test a link for me? [Re: tman]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3583
Loc: Columbus, OH
Thanks. The dude totally flamed me in the email, so I wanted to make sure it worked before I wrote a nice message back .

Claimed I wrote it for "WINTEL". He must have failed to notice that it's a PDF file opened through PHP running on a Linux server.
_________________________
~ John

Top
#303861 - 05/11/2007 21:35 Re: Mac users: Test a link for me? [Re: JBjorgen]
hybrid8
carpal tunnel

Registered: 12/11/2001
Posts: 7738
Loc: Toronto, CANADA
I wouldn't be so quick to assume it's working for everyone.

Some people had issues on my server downloading certain files because their browser interpreted them incorrectly. I had to add a MIME type declaration in the base .htaccess file to ensure it works for everyone. The last was with dmg files.

I've also seen plenty of sites where PDF files will not open inline, but I've never bothered to check why. I'm sure their web masters weren't going to send me a check for my time and i had other stuff to move on to.
_________________________
Bruno
Twisted Melon : Fine Mac OS Software

Top
#303862 - 05/11/2007 23:14 Re: Mac users: Test a link for me? [Re: hybrid8]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3583
Loc: Columbus, OH
Yeah...I don't expect it to display inline on all browser/os/viewer combinations, but it should at least ask to download, and it seems to be.

I also have had some issues with sending the right headers when serving up files with PHP, but my current configuration seems to work well in all the various combinations that I've tried. That said, I'm sure there are some combinations somewhere that don't work, and I'm going to work with my critic to get it to work, cause I'm just nice like that .
_________________________
~ John

Top
#303863 - 05/11/2007 23:55 Re: Mac users: Test a link for me? [Re: JBjorgen]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
The person does have some sort of PDF viewer yeah?

What happens according to the user?

Top
#303864 - 06/11/2007 00:23 Re: Mac users: Test a link for me? [Re: tman]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3583
Loc: Columbus, OH
That was my first thought. Surely OS X has a pdf viewer built in?
_________________________
~ John

Top
#303865 - 06/11/2007 02:25 Re: Mac users: Test a link for me? [Re: JBjorgen]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Absolutely.
_________________________
Bitt Faulk

Top
#303866 - 06/11/2007 09:34 Re: Mac users: Test a link for me? [Re: hybrid8]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
Quote:
I've also seen plenty of sites where PDF files will not open inline


Good. I hate that. I much prefer PDF files to open in a separate window.
_________________________
-- roger

Top
#303867 - 06/11/2007 12:03 Re: Mac users: Test a link for me? [Re: Roger]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14486
Loc: Canada
Quote:
Quote:
I've also seen plenty of sites where PDF files will not open inline


Good. I hate that. I much prefer PDF files to open in a separate window.


Ditto here. Having them shoehorned inside a browser makes full-page viewing impractical on most displays, and just confuses the user as to how browsers work.

Cheers

Top
#303868 - 06/11/2007 13:38 Re: Mac users: Test a link for me? [Re: Roger]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
So don't install the browser plugin.
_________________________
Bitt Faulk

Top
#303869 - 06/11/2007 13:48 Re: Mac users: Test a link for me? [Re: wfaulk]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
Quote:
So don't install the browser plugin.


PITA with Adobe on Windows. You have to go and uninstall it afterwards. Which is why I installed FoxIt on my machines at home.
_________________________
-- roger

Top
#303870 - 06/11/2007 13:54 Re: Mac users: Test a link for me? [Re: Roger]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
You can install the PDF Download addon if you're using Mozilla. It will prompt you each time.

Top