Using PHP to link to MS Publisher file

K

Kevin

I have a PHP/MySQL subscription database where users are given access to over
800 MS Publisher files.

I am trying to protect these files by putting them one directory above my
webroot on my server and I am using PHP to authenticate the user (MySQL based
login system) I am trying to use PHP to open the Publisher file and it
appears that the Publisher HTML files are a redirect and it makes it
difficult to open using the PHP readfile() function.

I dont want to use .htaccess because I need to user to login using the
PHP/MySQL database first, and I cant pass their session over to htaccess.

Any suggestions?
 
M

Mike Koewler

Kevin,

I have not heard of needing to install the php program in a directly
other than public_html (or html_public, http_docs, etc.).

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top