On Thu, Apr 8, 2010 at 12:26 PM, Jack <JackListMail@xxxxxxxxx> wrote: > I get a couple of errors like this one for undefined variable: > > PHP Notice: Undefined variable: s_company_name > > And this one for undefined contstant > > PHP Notice: Use of undefined constant account_type - assumed > 'account_type' > f_put_cookie($auth[user_name],$auth[user_email],$auth[account_type],$auth[co mpany_name]); That's your culprit. You'll need quotes around those. $auth["username"], "user_email", "account_type", "company_name" Otherwise, it thinks they are constants that haven't been defined: php.net/define -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry