Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Uniquely identifying each & every html template

by Arunbear (Prior)
on Jan 21, 2013 at 13:33 UTC ( [id://1014444]=note: print w/replies, xml ) Need Help??


in reply to Uniquely identifying each & every html template

Maybe ... create a database table containing the name of each file along with an auto increment primary key id, and use that id in each file to identify it. Updating the files to add these id's could be done with a script of course.

If you rename a file, you'd have to update this table as well, but the id will be the same.

  • Comment on Re: Uniquely identifying each & every html template

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1014444]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (8)
As of 2024-04-18 16:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found