RE: [PHP] weird isset problem
| From: | Johnson, Kirk | Date: | Thu, 29 Mar 2001 22:21:06 +0000 |
| Subject: | RE: [PHP] weird isset problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-46174@lists.php.net to get a copy of this message | ||
I see one typo, is that the problem?
Kirk
> Hi! I have this weird thing happening here and I just can't
> see the problem.
> Can someone look at this and tell me if you see what is wrong?
> ---- Code ----
> print isset($config["harvester_list"]) ."\n1\n";
> print isset($config["download_list"]) . "\n2\n";
> print isset($config["linkchecker_list"]) . "\n3\n";
> print isset($config["offline_list"]) . "\n4\n";
> print isset($config["spider_list"]) . "\n5\n";
##### harvester is misspelled in the next line ########
> if (!isset($config["havester_list"]) ||
> !isset($config["download_list"]) ||
> !isset($config["linkchecker_list"]) ||
> !isset($config["offline_list"]) ||
> !isset($config["spider_list"])) {
> print "-----------------------------\n";
> print isset($config["harvester_list"]) ."\n1\n";
> print isset($config["download_list"]) . "\n2\n";
> print isset($config["linkchecker_list"]) . "\n3\n";
> print isset($config["offline_list"]) . "\n4\n";
> print isset($config["spider_list"]) . "\n5\n";
>
> die("Agent Automated System Lists Not Found!\n");
> }
>