RE: [PEAR] Auth : login form display
| From: | Joe Stump | Date: | Thu, 08 Apr 2004 14:19:57 +0000 |
| Subject: | RE: [PEAR] Auth : login form display | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11742@lists.php.net to get a copy of this message | ||
You could check out the output buffering if all else fails (though I bet
some other alternative exists).
ob_start();
// echo a bunch of stuff
$contents = ob_get_contents();
ob_end_clean();
--Joe
> -----Original Message-----
> From: Vincent DUPONT [mailto:Vincent.dupont@ausy.be]
> Sent: Thursday, April 08, 2004 10:11 AM
> To: pear-general@lists.php.net
> Subject: [PEAR] Auth : login form display
>
>
> Hi,
>
> I'm trying to include the Auth LDAP functions into an
> existing application. It works very well, but I have a poblem
> with the login form.
>
> As far as I known, the only way to display the login form is
> with a 'print'. This However, I generate my page content
> before 'printing' everything and the end. When Auth calls the
> login form, it then prints on top of the page, outside the
> designed layout.
>
> Is it possible to change this behavior??
>
> Vincent
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>