Re: [PHP] restricting files

2002-06-09 Thread Jason Wong
On Sunday 09 June 2002 23:08, Justin French wrote: > Have you got a link for somewhere to look for a base set of functions for > me to build on? Search the archives, I'm sure I've posted some download code on the list before, as have others. -- Jason Wong -> Gremlins Associates -> www.gremlin

Re: [PHP] restricting files

2002-06-09 Thread Justin French
Have you got a link for somewhere to look for a base set of functions for me to build on? Thx, Justin on 08/06/02 5:39 PM, Miguel Cruz ([EMAIL PROTECTED]) wrote: > On Sat, 8 Jun 2002, Justin French wrote: >> When you say serve the files through a script, I assume you mean >> "download.php" for

Re: [PHP] restricting files

2002-06-08 Thread Miguel Cruz
On Sat, 8 Jun 2002, Justin French wrote: > When you say serve the files through a script, I assume you mean > "download.php" force-feeds an MP3 (or whatever) to the browser. > > Is this correct? > > I read people have lots of problems with this... Only until they get it working (I should hope).

Re: [PHP] restricting files

2002-06-07 Thread Justin French
When you say serve the files through a script, I assume you mean "download.php" force-feeds an MP3 (or whatever) to the browser. Is this correct? I read people have lots of problems with this... Justin on 08/06/02 4:08 PM, Jason Wong ([EMAIL PROTECTED]) wrote: > On Saturday 08 June 2002 13

Re: [PHP] restricting files

2002-06-07 Thread Jason Wong
On Saturday 08 June 2002 13:46, Justin French wrote: > MP3 and quick time -- otherwise the solution would be easy :) > > Thanks, > > Justin > > on 08/06/02 3:42 PM, Jason Wong ([EMAIL PROTECTED]) wrote: > > On Saturday 08 June 2002 09:19, Justin French wrote: > >> Hi, > >> > >> I wish to restrict

Re: [PHP] restricting files

2002-06-07 Thread Justin French
MP3 and quick time -- otherwise the solution would be easy :) Thanks, Justin on 08/06/02 3:42 PM, Jason Wong ([EMAIL PROTECTED]) wrote: > On Saturday 08 June 2002 09:19, Justin French wrote: >> Hi, >> >> I wish to restrict access to a dir of files, depending on if the user is a >> logged in

Re: [PHP] restricting files

2002-06-07 Thread Jason Wong
On Saturday 08 June 2002 09:19, Justin French wrote: > Hi, > > I wish to restrict access to a dir of files, depending on if the user is a > logged in and validated member. What kind of files are they? html? php? or others? -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source

[PHP] restricting files

2002-06-07 Thread Justin French
Hi, I wish to restrict access to a dir of files, depending on if the user is a logged in and validated member. My first guess was to restrict access to the files with .htaccess, only allowing access if the referring (linking) script was something like members.php, so they'd only get the link if