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 their
own email addresses with pop access without requesting them from me all the

I am just not sure if I can push the login and password for the
authentication window that would normally pop up, so the file is executed
behind the scenes, and the user would merely see a output of their username
and password and information on how to login to their account which would be
output as long as the file was able to be executed.

Any ideas?

"Evan Nemerson" <[EMAIL PROTECTED]> wrote in message
> if you just want to output the file to the user,
> should work. If you want to play with the file first, file() will put it
> an array, fopen() will create a file pointer to it, you could create your
> very own HTTP session (if you know the protocol) with fsockopen()... i'm
> there are more, but that's all you need (probably). I would probably use
> if i wanted to place the whole thing in one variable, not an array.
> On Saturday 22 September 2001 20:39, you 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
> > form process in my control panel can automatically have information sent
> > it from a form that a user will fill out. However, my problem is in
> > to get PHP to automatically authenticate.
> >
> >
> > for example:  I want to be able to call a url like this:
> > http://server.com/greendocks/locked/useradd.htm?user=blah&pass=blah
> > this url is behind a http authentication.  Is it possible to have this
> > called by a php script?
> >
> > And the second part of the question is can I do this process so it is
> > completely invisible to the user that this page has been called? Because
> > course I don't want to allow users to have access to everything in my
> > control panel.
> >
> > Hopefully someone knows what I'm getting at. Thanks for any help you may
> > able to provide.
> >
> > Jeff

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to