ppl
03-17-2010, 05:51 AM
I have a perl script running a website which works fine. I wish to place a link on the site that would connect to a php file. I have tried two approached with the same result. First was to create the link directly to the php file, but that did not work.
<A HREF="/test_php.php">Test</A>
I then created a html file with a link to the php file and that did not work. In this second case, I could click the html link and would be directed to the html page with no problems. However, when I click the link to the php file the result was the same as in the first case with a direct link to the file. The browser pops-up the Download file message box rather than opening the page.
Is it possible to link to a php file? and if so what additional steps am I missing? Thanks.
<A HREF="/test_php.php">Test</A>
I then created a html file with a link to the php file and that did not work. In this second case, I could click the html link and would be directed to the html page with no problems. However, when I click the link to the php file the result was the same as in the first case with a direct link to the file. The browser pops-up the Download file message box rather than opening the page.
Is it possible to link to a php file? and if so what additional steps am I missing? Thanks.