PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Where to put start() method ?

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Authentication
View previous topic :: View next topic  
Author Message
fram3rate



Joined: 06 Apr 2008
Posts: 2

PostPosted: Sun Apr 06, 2008 2:47 am    Post subject: Where to put start() method ? Reply with quote

I'm having a hard time trying to figure out where to put my start() method in relation to the login form.

If I put start() before every piece of code or HTML then my login form is just stuck at the very top of my web page and doesn't look nice.

If I embeb the start() method inside my HTML then I get "header" errors after the first login:

"Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent..."

I'm not sure the right way to do this, and I can't seem to find an answer.

Any help? Thank you....
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Authentication All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement

'Actiemonitor' online projectmanagement software