View Full Version : PHP / Browser Problem
TinMan
08-28-2009, 09:31 AM
I have created a secure login area for customers, and up until now it ran smoothly. The problem I now have (since doing a clean re install of win xp and all my apps) is that if I test this secure area, i can login in ok, but there is an option to view a file, coded as
<li class="profile-info"><a href="redir.php?filename=July2009.pdf" target="_blank">View List</a></li>
if i click on this option to view, the page opens up dreamweaver, and the pdf does not open up for viewing.
I have just found out that it does work OK if I try it from a colleagues PC.
So is it a browser setting issue?
Fou-Lu
08-28-2009, 09:44 AM
OS setting, .pdf is set up to run through dreamweaver.
Open an explorer window, select tools > Folder options.
On the folder options window, select the File Types tab and scroll down to .pdf. Click on the change and use Adobe Acrobat.
I guess I should mention that I assumed adobe acrobat was installed.
In any case, this isn't a PHP problem, so I'm moving it to the Computer / PC Discussions forum.
Zangeel
08-28-2009, 09:45 AM
PHP is purely server-side this means it affects the functionality depending on your code, however it does not output anything visual or cosmetic. So PHP is not related to this problem, one problem maybe as simple as adobe reader not being installed, or the version of dream weaver may not be compatible with .pdf files.
TinMan
08-29-2009, 03:49 PM
I use nitro pdf for this format and it is set as the default for pdf files, so this is not the cause.
Apostropartheid
08-29-2009, 05:51 PM
What browser are you using?
TinMan
08-30-2009, 12:05 PM
Ive tried both IE8 and firefox.
Now I have noticed that the problem is only on my work pc.
I can access with no problem from home.
As far as I am aware I have similar setups so I am not sure where to look now.
Apostropartheid
08-30-2009, 02:25 PM
It's definitely a problem with the settings on your computer, then. What OS are you using?
TinMan
08-30-2009, 03:48 PM
xp, sp3
Apostropartheid
08-30-2009, 04:22 PM
Are you sure the right MIME type is being sent with the file?
If it is, try uninstalling Nitro PDF and installing Adobe Reader, and see whether that works.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.