[PHPLIB] Re: [PHP3] PHPLIB From: John Cherbini (cherbini <email protected>)
Date: 10/27/99

Problem starts towards the bottom and works its way up.

Thanks a bunch for any insight.
------------------------------------

Good thought.

When I do that, I get a 404 message in HTML format.

That is with the path directly to /usr/local/apache/htdocs/pictures/index.php3

that is the file that I'm trying to protect with PHPLIB as well as simply view
in the browser.

As I said in my previous message, i'm also getting the error message in the
returned page, when I authenticate correctly:

<TITLE>Missing Post reply data</TITLE>
<H1>Data Missing</H1>
This document resulted from a POST operation and has expired from the
cache. If you wish you can repost the form data to recreate the
document by pressing the <b>reload</b> button.

NOW, if I put in an incorrect UN and PW, it does it correctly and asks me to
input them again. Once I put in the correct UN and PW is when I get the
Missing Post reply data (Blank Page)

Thanks again for all the effort!

It is greatly appreciated!

jc

On Tue, 26 Oct 1999, you wrote:
> Hmmmmm.
>
> Okay try this one:
>
> Login to a shell acount somewhere or open a DOS window and do:
>
> telnet yourhosthere.com 80
> GET /path/from/web/root?whatever=unhunh HTTP/1.0
>
>
> You have to hit return twice after the HTTP/1.0
>
> You basically are fooling the server into believing you are a browser.
>
> At 09:36 PM 10/26/99 -0700, you wrote:
> >Yep, I checked that.....nothing.....
> >
> >jc
> >
> >On Tue, 26 Oct 1999, you wrote:
> >> Use "View Source" in your browser. Completely blank seldom means nothing
> >> got sent: Just that the browser didn't get enough to know how to draw it.
> >>
> >> At 07:52 PM 10/26/99 -0700, you wrote:
> >> >Hey all,
> >> >
> >> >You've been such a great help already, I thought I may try this post
> here as
> >> >well....
> >> >
> >> >I'm relatively new to PHP, and am pretty amazed at the capabilities of
> >> >the PHPLIB.
> >> >
> >> >I'm having a problem though.
> >> >
> >> >I got the example working well. It kept track of all the cookies, and
> UN and
> >> >PW combinations, and I could add and delete users.
> >> >
> >> >I'm trying to implement the PW protection on a page:
> >> >
> >> >I basically duplicated all the classes in local.inc to use the word
> Picture
> >> >instead of Example.
> >> >
> >> ><? page_open(array("sess" => "Picture_Session", "auth" => "Picture_Auth",
> >> "perm" => "Picture_Perm"));
> >> >?>
> >> ><? include ("./functions.php3"); ?>
> >> ><? include ("./dbconnect.php3"); ?>
> >> ><? include ("./footer.php3"); ?>
> >> ><?php
> >> >
> >> >rest of page here...................
> >> ><? page_close(); ?>
> >> >
> >> >I finally can get the login un and pw window, but when I log in, I get a
> >> >completely blank browser.
> >> >
> >> >I made a new_user.php3 for this class as well, and it works flawlessly
> >> logging
> >> >in and adding/deleting users.
> >> >
> >> >Any ideas on what I'm not getting??
> >> >
> >> >Many thanks!
> >> >
> >> >John Cherbini

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.