For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > October 2004 > Auth help









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Auth help
Eduardo Gargiulo

2004-10-13, 3:57 am

Hi all

I'm using pear Auth packages to authenticate users on my system. I'm trying
(without success) to load a http form and after th user fill the data fields
(username and password) I want to display a new tamplate if the user login and
the same for (with a failure message) if the login fails.

The problem is that I don't know how to achieve this, because if I call a
display method for second time, the php says that the headers are already sent.

How can I solve this?

thanks in advance and sorry for my english

--ejg
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com