tags:

views:

64

answers:

2

Hello,

I have to insert full path to every single image/css file of my website, because of url_rewriting and I'm looking for the most officiant way to do it.

Of course I could do:

<img src='<?php echo $full_path; ?>/images/theImg.jpg' alt='alternative text' />

But somewhere I saw people doing it like this, or something:

<img src='{full_path}/images/theImg.jpg' />

Now do you know how the second example is possible, or is it just part of some framework and can't be used in normal document?

Thanks for answers,

Mike

+2  A: 

It is just part of some framework and can't be used in normal document.

Col. Shrapnel
+1  A: 

And if it's not a full framework, perhaps it's just a templating engine like Smarty http://www.smarty.net/

robertbasic