RE: [PHP] http authentication and php

2001-09-23 Thread Don Read
On 23-Sep-2001 Jeff Bristow wrote: > I am trying to write a php script that will work around a http > authentication that I do have access to. I am trying to do this so that a > form process in my control panel can automatically have information sent to > it from a form that a user will fill out.

Re: [PHP] http authentication and php

2001-09-22 Thread Jeff Brtistow
Well the actual problem is that this file is behind a http authenticated directory. I actually don't want the users to know the login and password for it since it is the login for my control panel for my website. However, I do want to be able to execute a url, this is to allow users to create thei

Re: [PHP] http authentication and php

2001-09-22 Thread Evan Nemerson
if you just want to output the file to the user, readfile("http://server.com/greendocks/locked/useradd.htm?user=blah&pass=blah";); should work. If you want to play with the file first, file() will put it in an array, fopen() will create a file pointer to it, you could create your very own HTTP