Unstoppable Domains โ€” Expired Auctions

I need some code explanation

NamecheapNamecheap
Watch

paaaaaaaaaa

Established Member
Impact
6
Hi I need an explaination to this part of code.

I have a piece of html code that looks like this
src="{images}/animage.jpg"
it seems to call a php function to find out the directory of where the images are. This is clearly so that you can include this page on any level directory without losing images.

I couldn't find a fucntion but I found something like

$content {images}="the/directory/"

Can anybody explain how this works.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Try replacing "the/directory" with the directory where you have your images.
 
0
•••
Yes I know this. Im looking for an explaination. Ive never seen this style of coding before.
 
0
•••
Seems to be a template system where php script read the html file and replace variables with the values..
 
0
•••
yes as dgaussin suggests it certainly looke like a template system
 
0
•••
Any documentation on this or tutorials?
 
0
•••
Any documentation on this or tutorials?
 
0
•••
It really depends script you're using and which template system it uses.
 
0
•••
Hmmm ok. So Iโ€™m guessing what is going on here is the html gets read through on the server side and replaces these "tags" with some new code which is decided by some php variables. Is this right? I want to know how I would could do this?

I found this. Pretty much the same thing?
 
0
•••
Exactly, you're right. Myself I use Smarty at http://smarty.php.net/ but there's a lot of template systems.
 
0
•••
Yeah I just found smarty. I also found this script. I think I will use the latter method.

Cheers for the help.
 
0
•••
0
•••
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back