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

From: Date: Thu, 10 May 2001 13:36:15 +0000
Subject: Re: [NEWBIE] can't read file:resource (w98)
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-730@lists.php.net to get a copy of this message
yuck! :-) Is this OS (win98/nt/2000) specific, php installation specific or something else? This looks like a good candidate for the FAQ. Alain Fontaine wrote: > > Hi, > > I know that PHP under Windows does not always like the "forward-slash" > syntax. Try accessing the file using double-backslashes, as in: > > "file: c:\\program\\apache > group\\apache\\htdocs\\cz2\\moduler\\login\\tpl\\login.tpl" > > > -----Message d'origine----- > > De : mohrt@basie.ispi.net [mailto:mohrt@basie.ispi.net]De la part de > > Monte Ohrt > > Envoye : jeudi 10 mai 2001 15:25 > > A : tomas@lobbyist.com > > Cc : Smarty List > > Objet : [smarty] Re: [NEWBIE] can't read file:resource (w98) > > > > > > Hmm, does it not like the space in the directory name? I don't have a > > win setup to test this, can someone with a bit of smarty/windows > > experience test this and see if it is the problem? Also, check that the > > file:c:/path/template.tpl syntax works OK? > > > > Thanks > > Monte > > > > Tomas Sanchez Romani wrote: > > > > > > Hi! > > > > > > another problem. I think that the new resource-thing for templates looks > > > great, but I can't seem to get to work (win98, apache 1.3.14, php > > > 4.0.4.pl1). > > > > > > what I do is: > > > $sidan->display("file:c:/program/apache > > > group/apache/htdocs/cz2/moduler/login/tpl/login.tpl"); > > > > > > where: > > > c:/program/apache group/apache/htdocs/cz2/moduler/login/tpl/ > > > > > > is the directory in which the file 'login.tpl' resides > > > > > > where did I go wrong? > > > > > > thanks, a&l, tomas > > > > > > --- > > > You are currently subscribed to smarty as: monte@ispi.net > > > To unsubscribe send a blank email to $subst('Email.Unsub') > > > Visit Smarty's homepage at �NV"?×¥Ä > > > öÄîã"Œ’http://www.phpinsider.com/php/code/Smarty/ > > > > -- > > Monte Ohrt <monte@ispi.net> > > http://www.ispi.net/ > > > > --- > > You are currently subscribed to smarty as: alain@nvision.lu > > To unsubscribe send a blank email to $subst('Email.Unsub') > > Visit Smarty's homepage at > > http://www.phpinsider.com/php/code/Smarty/ -- Monte Ohrt <monte@ispi.net> http://www.ispi.net/

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