Re: PEAR Auth embedded in HTML?



On Sep 3, 4:31 pm, ha...@xxxxxxxx wrote:
I've started playing with the Auth module, and I have a quick question
before I go any deeper. Is it possible to embedd the Auth login form
in an HTML page? I would like to put a login form in a sidebar of a
page.

use PHP include/require statements to include form saved on a separate
file

The problem seems to be that Auth relies on sessions, which
causes problems when the start() function sends header information.
Any suggestions and examples would be welcome.

/H

use output buffering, aka ob_start() function to deal with this or
rethink application design in such way that headers will always be
sent before any output.

.



Relevant Pages

  • Re: PEAR Auth embedded in HTML?
    ... Is it possible to embedd the Auth login form ... in an HTML page? ... causes problems when the startfunction sends header information. ...
    (comp.lang.php)
  • Orkut Grabber
    ... Now google, yahoo mails are working fine but orkut doesn't working, ... #the globals will be updated/used in the read_header function ... #get the html from gmail.com ... #submit the login form: ...
    (comp.lang.php)
  • Loggin in from form
    ... If I create a login form with html that takes a username and password. ... and log the user in to an apache .htaccess protected directory? ... Or would I have to use mod_perl and create a whole separate authentication scheme? ...
    (perl.beginners)
  • Re: PEAR Auth embedded in HTML?
    ... Is it possible to embedd the Auth login form ... in an HTML page? ...
    (comp.lang.php)