Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Using filepath method to identify an .html page

by Anonymous Monk
on Jan 22, 2013 at 16:40 UTC ( #1014726=note: print w/ replies, xml ) Need Help??


in reply to Using filepath method to identify an .html page

If you've already got a database table with a column that holds the absolute path (or you can create one), and all you want to do is pick a number for each row, then, assuming you've marked the column that holds the number as UNIQUE, then you could just pick a random number for each row, right? Or, if you haven't filled the table yet, maybe you're looking for a feature like AUTO_INCREMENT? (a similar feature exists in virtually all databases)


Comment on Re: Using filepath method to identify an .html page

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-07-13 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (247 votes), past polls