On Tuesday 10 August 2004 03:29, Aaron Todd wrote:
> When you say "outside of the webroot" do you mean. Can you give me an
> example. The root of my web is in /var/www/html/. Thats where you are
> taken when you punch in my domain. Currently I have a directory called
> /test/ which is protected
if you have /var/www/html/ defined as documentroot, as you mentioend
then outside is anything outside the directory html/ so /var/www/php/
could hold all your php files, and be outside the docroot.
JAson
"Aaron Todd" <[EMAIL PROTECTED]> wrote:
>
> When you say "outside of the webroot" do you m
When you say "outside of the webroot" do you mean. Can you give me an
example. The root of my web is in /var/www/html/. Thats where you are
taken when you punch in my domain. Currently I have a directory called
/test/ which is protected by .htaccess but it is inder the
webroot.../var/www/html/t
"Aaron Todd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Do you recomend the same for downloading of a file. I have a few zip
files
> that need to be protected too. Do I have to open the file using fopen and
> then write it to the users machine using fwrite?
>
> Thanks,
>
> Aaro
Do you recomend the same for downloading of a file. I have a few zip files
that need to be protected too. Do I have to open the file using fopen and
then write it to the users machine using fwrite?
Thanks,
Aaron
"Ed Lazor" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Adding t
Adding to what Miles says, use the fopen and fread commands (see manual on
the PHP site) for accessing the PDF files so that you can send copies of
them to the user. Examples are in the user comments of the manual.
> -Original Message-
> At 05:42 PM 8/5/2004, Aaron Todd wrote:
> >So far I
At 05:42 PM 8/5/2004, Aaron Todd wrote:
So far I have made this work. But now I have to ask...what about a pdf
file? I cant add php code to it so what do I do. I need to be able to
restrict the pdf so a user can only get to it during a current session.
Thanks again for all the previous posts. Y
"Aaron Todd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I hate to sound ignorant, but how do I get a file out of a .htaccess
> protected directory without logging in again? You cant use the normal
> syntax of http://username:[EMAIL PROTECTED] anymore. Microsoft "fixed" that
> "
I hate to sound ignorant, but how do I get a file out of a .htaccess
protected directory without logging in again? You cant use the normal
syntax of http://username:[EMAIL PROTECTED] anymore. Microsoft "fixed" that
"bug".
Thanks,
Aaron
"Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
news:
"Aaron Todd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> So far I have made this work. But now I have to ask...what about a pdf
> file? I cant add php code to it so what do I do. I need to be able to
> restrict the pdf so a user can only get to it during a current session.
>
>
So far I have made this work. But now I have to ask...what about a pdf
file? I cant add php code to it so what do I do. I need to be able to
restrict the pdf so a user can only get to it during a current session.
Thanks again for all the previous posts. You all directed me to a good
place. My
On Thursday 05 August 2004 10:42, Aaron Todd offered up the following
tid-bit of information :
> The direction I need is how do I go about restricting access to the
> members only pages? I have been reading up on sessions, which I think
> will be a cool addition to this site, but I still havent
Aaron,
The way to do it is to have an authentication page where users log in. A
successful login starts the session, on each subsequent page test for the
session and if it is not present, redirect to the login page. This test is
just one line at the top of each page you want to protect.
This w
I created a simpleAuth script that handles authentication, then sets up
a session, there is a method that i called requireAuth(); i call this
method on any page i want restricted to the members, it checks the for
the valid sessoin, and also checks the time of login, and calls my
destoy method if u
14 matches
Mail list logo