Code that works under ISAPI not working under CGI, any suggestion s?

From: Date: Wed, 12 Jul 2000 14:30:23 +0000
Subject: Code that works under ISAPI not working under CGI, any suggestion s?
Groups: php.windows 
Request: Send a blank email to php-windows+get-1043@lists.php.net to get a copy of this message
I just changed my installation of PHP from ISAPI to CGI so that I could use a search script... now an IMPORTANT piece of my code doesn't work. IIS 4, PHP 4, WinNT The code creates $levels used by three different includes CODE------ //establish page level and assign it $levels $URL_vars=explode("/",$URL); $URL_parts=sizeof($URL_vars); $URL_parts=$URL_parts-1; $levels=""; $i=1; if($i<$URL_parts) { while($i < $URL_parts) { $levels.="../"; $i++; } } ------ Thanks in advance, John --------------------- John Asendorf - jasendorf@lcounty.com Web Applications Developer Licking County, Ohio, USA 740-349-3631

« previous php.windows (#1043) next »