SV: Re: [NEWBIE] can't read file:resource (w98)

From: Date: Thu, 10 May 2001 13:53:47 +0000
Subject: SV: Re: [NEWBIE] can't read file:resource (w98)
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-732@lists.php.net to get a copy of this message
Hi! I don't know if it's win98 specific, but I tried to do the call without the 'file'-part and it worked, so instead for: $sidan->display("file:c:/program/apache group/apache/htdocs/cz2/moduler/login/tpl/login.tpl"); i now do: $sidan->display("/program/apache group/apache/htdocs/cz2/moduler/login/tpl/login.tpl"); And it works, so far anyway, but will it work when I transfer my files to the production environment (which is a linux-box)? a&l, tomas -----Ursprungligt meddelande----- Från: Andrei Zmievski [mailto:andrei@ispi.net] Skickat: den 10 maj 2001 15:40 Till: Monte Ohrt Kopia: alain@nvision.lu; tomas@lobbyist.com; Smarty List Ämne: [smarty] Re: [NEWBIE] can't read file:resource (w98) On Thu, 10 May 2001, Monte Ohrt wrote: > yuck! :-) Is this OS (win98/nt/2000) specific, php installation specific > or something else? This looks like a good candidate for the FAQ. Windows should support both forward and backward slashes, as I far as I know. -Andrei The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall --- You are currently subscribed to smarty as: tomas@altern.org To unsubscribe send a blank email to $subst('Email.Unsub') Visit Smarty's homepage at http://www.phpinsider.com/php/code/Smarty/

« previous php.smarty.general (#732) next »