RE: [PHP] How do I hide download link ...

2002-06-18 Thread John Holmes
ailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 18, 2002 5:04 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] How do I hide download link ... > > Hi, if using the header command for attaching a file really prevents the > user from seeing the actual download link, is it really all that

RE: [PHP] How do I hide download link ...

2002-06-18 Thread Martin Towell
ansfer-Encoding: binary"); Header("File-Length: $fsize"); Header("Content-Disposition: attachment; filename=$fname"); echo $buff; -Original Message- From: Lazor, Ed [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 19, 2002 8:59 AM To: 'Martin Towell

RE: [PHP] How do I hide download link ...

2002-06-18 Thread Martin Towell
#x27;s site to see what hidden things I can find :) But it's up to you where you ultimately put it -Original Message- From: Fargo Lee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 19, 2002 7:04 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] How do I hide download link ...

RE: [PHP] How do I hide download link ...

2002-06-18 Thread Lazor, Ed
x27;Fargo Lee'; [EMAIL PROTECTED] > Subject: RE: [PHP] How do I hide download link ... > > > Have a page that checks the user's authentication > > if they're "invalid" then display an error msg and exit the script > > otherwise, send the header comm

Re: [PHP] How do I hide download link ...

2002-06-18 Thread Fargo Lee
ependent on the > types > > of files your offering, but you should get the idea. > > > > Adapt to your needs, but this is the basics of it. Check for a valid > > session, if it exists, send appropriate headers and use passthru() to send > > the file. (you can us

Re: [PHP] How do I hide download link ...

2002-06-18 Thread Fargo Lee
n't remember > the exact syntax right now) > > read the file from somewhere that's not accessable from the web and spit it > out to the browser > > HTH > Martin > > > -Original Message- > From: Fargo Lee [mailto:[EMAIL PROTECTED]] > Sent: Thu

Re: [PHP] How do I hide download link ...

2002-06-18 Thread Fargo Lee
ter the headers...). If session doesn't match up, send > an HTML page. > > Hopefully this thread will die now... > > ---John Holmes... > > > - Original Message ----- > From: "Nathan Taylor" <[EMAIL PROTECTED]> > To: "Fargo Lee" <[EMA

Re: [PHP] How do I hide download link ...

2002-06-18 Thread Justin French
on 19/06/02 12:27 AM, 1LT John W. Holmes ([EMAIL PROTECTED]) wrote: > I thought we answered this question already! Hehe yup -- a different thread that I started :) Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How do I hide download link ...

2002-06-18 Thread 1LT John W. Holmes
<[EMAIL PROTECTED]> Sent: Tuesday, June 18, 2002 5:42 AM Subject: Re: [PHP] How do I hide download link ... > > - Original Message - > From: "Fargo Lee" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, June 12, 2002 4:14 PM > Subjec

Re: [PHP] How do I hide download link ...

2002-06-18 Thread Nathan Taylor
ssage- > From: Nathan Taylor [mailto:[EMAIL PROTECTED]] > Sent: 18 June 2002 11:33 AM > To: Bret L Conard; [EMAIL PROTECTED] > Subject: Re: [PHP] How do I hide download link ... > > > > if (!session_is_registered("SESSION")){ > > print (&qu

RE: [PHP] How do I hide download link ...

2002-06-18 Thread Brian McGarvie
e 2002 11:33 AM > To: Bret L Conard; [EMAIL PROTECTED] > Subject: Re: [PHP] How do I hide download link ... > > > > if (!session_is_registered("SESSION")){ > > print ("You must Log-In to access this page\n"); > > print (&qu

Re: [PHP] How do I hide download link ...

2002-06-18 Thread Nathan Taylor
physical file. If a user for some reason desires to leak the actual link then there could be a problem. This is why he probably should change the physical file data. - Original Message - From: "Bret L Conard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday,

Re: [PHP] How do I hide download link ...

2002-06-18 Thread Bret L Conard
t; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 4:14 PM Subject: [PHP] How do I hide download link ... > Hi, my customers go through a password authentication to access a link on my > site to download a file. I want to prevent the distribution of the loca

Re: [PHP] How do I hide download link ...

2002-06-18 Thread Nathan Taylor
- Original Message - From: "Fargo Lee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 4:14 PM Subject: [PHP] How do I hide download link ... > Hi, my customers go through a password authentication to acc

Re: [PHP] How do I hide download link ...

2002-06-18 Thread Nathan Taylor
- Original Message - From: "Fargo Lee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 4:14 PM Subject: [PHP] How do I hide download link ... > Hi, my customers go through a password authentication to access a link on my > site t