e-mail to a friend has error?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
skinnypig
Posts: 4
Joined: Tue Feb 17, 2004 3:54 pm

e-mail to a friend has error?

Post by skinnypig »

Hi,
I'm trying the e-mail to a friend section and after I've pressed the button it has the following error:

Warning: Variable passed to each() is not an array or object in C:\Domains\hostentrance.com\wwwroot\kb\inc\functions.php on line 348

and here is the code in function.php:

line348: while (list($k, $line ) = each($output)) {
if (eregi("^$host", $line)) {
return true;
}
}

anyone knows why??
Thorsten
Posts: 15759
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

do you have Safe Mode turned on?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
skinnypig
Posts: 4
Joined: Tue Feb 17, 2004 3:54 pm

Post by skinnypig »

safe mode=off
Thorsten wrote:Hi,

do you have Safe Mode turned on?

bye
Thorsten
Thorsten
Posts: 15759
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

which Windows do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply