[LUGOS] Ali je mozno uporabljati spremenljivke pri pisanju HTML strani?

Bostjan Muller neonatus at neonatus.net
Wed Jan 28 08:58:28 CET 2004


* On 27-01-04 at 22:10 Gregor Gorjanc (gregor at mrcina.bfro.uni-lj.si) wrote:
+----Here quoted text begins----+
> > >
> > > Ali je mozno uporabljati spremenljivke pri pisanju HTML strani?
> > > Slike bi rad imel na enem mestu, pa me moti pisanje celotnih poti ali pa
> > > ../.../../...................................................
> > >
> > Sam html tega ne podpira, vendar ce imas apache streznik lahko to
> > dosezes z uporabo shtml-ja (SSI - Server Side Includes) - vec o tem si
> > poisci na apache.org imas lepo razlozeno s primeri.
> >
> 
> Hvala Bostjanu za tole. Kako pa naj bi zadeva res izgledala?
> Recimo jaz imam tole
> 
> <img src="../../../fig/slika.png">
> 
> Kako pa sedaj to napises za shtml?
> 
[deleted text from previous mails] 
+----and here the quote ends----+

Tule imas primere in navodila za SSI:
http://httpd.apache.org/docs/howto/ssi.html#settingvariables
Ceprav moram priznati, da teh spremenljivk drugje kot v ssi ukazih ne
mores uporabljat, se pravi z enim ukazom bi nastavil neko variablo, ki
bi vsebovala pot, potem bi pa z echo klicem to izpisal pred imenom
slike. (ni najlepsa resitev).

Regards/Lep pozdrav

Boštjan Müller
-- 
[*] Bostjan Müller |n at neonatus.net| http://neonatus.net/~neonatus [*]
[*] PGP key --> finger: neonatus at neonatus.net, DSA id: 0x9B2FF108 [*]
[*]  Celular: +38641243189, Powered by GNU/LiNUX - ICQ #:7506644  [*]
          Software is like sex- the best is for free" -Linus Torvalds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: Digital signature
Url : http://liste2.lugos.si/pipermail/lugos-list/attachments/20040128/11083ffd/attachment-0001.pgp


More information about the lugos-list mailing list