Search found 2 matches

by jeffshead
Sun Jun 08, 2008 9:26 am
Forum: PHP - Code
Topic: Notice: Undefined offset: 1
Replies: 2
Views: 136

Re: Notice: Undefined offset: 1

pytrin, Thank you for your reply. :D I grasp what you are saying, but I am new to PHP and I did not write the code so it is not being developed on my computer so the host name would not be "localhost". Would it? This code is for logging into webmail with the username being an email address...
by jeffshead
Sun Jun 08, 2008 4:13 am
Forum: PHP - Code
Topic: Notice: Undefined offset: 1
Replies: 2
Views: 136

Notice: Undefined offset: 1

Googled for hours and can't find an answer :banghead: I get a "Notice: Undefined offset: 1" warning referring to line 2 in the the code below: /* add domain name to username if whatnot and soforth */     if (!list($login_host, $other) = split(':', $_SERVER['HTTP_HOST'])) {       $login_hos...