"Warning: Undefined variable" when used locally, but fine on remote server

From: Date: Mon, 24 Sep 2001 17:40:32 +0000
Subject: "Warning: Undefined variable" when used locally, but fine on remote server
Groups: php.general 
Request: Send a blank email to php-general+get-68576@lists.php.net to get a copy of this message
I have recently installed Apache 1.3.2 and PHP 4.0.6 using the instructions at http://hotwired.lycos.com/webmonkey/00/44/index4a.html?tw=programming on a Win98 machine which I will later use as an intranet server (NT workstation refuses to detect NT server, and the machine is too slow for Win2k). When I run scripts on this instalation that work fine on my free webspace at uklinux.net, they return "Warning: Undefined variable: sub" at every occurance of my menu system which uses sub as it its main vairable, if i specify the variable in the URL that partiular page will work, but only of the links

« previous php.general (#68576) next »