Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

Go Back   EduGeek.net Forums > Coding and Web Development > Coding
Reply
 
LinkBack Thread Tools Search Thread Language
Sponsored Links
Old 29-11-2008, 12:53 PM   #1
 
Jackd's Avatar
 
Join Date: Jan 2007
Location: Chilton, Durham, UK
Posts: 239
uk uk durham city
Thanks: 5
Thanked 0 Times in 0 Posts
Rep Power: 6 Jackd is on a distinguished road
Send a message via AIM to Jackd Send a message via MSN to Jackd
Default PHP ID

Can anyone help me out on how to create a unique id similar to the ones that youtube uses e.g. qas27wHba4w in php, ive searched google but havent found anything


Thanks
Jack
  Reply With Quote
Old 29-11-2008, 02:58 PM   #2
 
rosswilson's Avatar
 
Join Date: Feb 2008
Location: Cheshire
Posts: 3
uk
Thanks: 1
Thanked 1 Time in 1 Post
Rep Power: 0 rosswilson is an unknown quantity at this point
Send a message via MSN to rosswilson
Talking Shaun the Sheep

I personally quite like the Shaun The Sheep video - YouTube - Shaun the Sheep - Still Life.

On topic however, a quick search for "PHP password generator" would get you on track . For example: PHP random password generator.
  Reply With Quote
Old 29-11-2008, 03:06 PM   #3
 
Jackd's Avatar
 
Join Date: Jan 2007
Location: Chilton, Durham, UK
Posts: 239
uk uk durham city
Thanks: 5
Thanked 0 Times in 0 Posts
Rep Power: 6 Jackd is on a distinguished road
Send a message via AIM to Jackd Send a message via MSN to Jackd
Default

lol i knew someone would look at the video :P

And thanks thats what im looking for
  Reply With Quote
Old 29-11-2008, 03:06 PM   #4
 
webman's Avatar
 
Join Date: Nov 2005
Location: County Durham
Posts: 5,668
uk uk durham city
Thanks: 105
Thanked 87 Times in 71 Posts
Blog Entries: 1
Rep Power: 38 webman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to allwebman is a name known to all
Default

You could use uniqid() for something similar.
  Reply With Quote
Old 30-11-2008, 02:08 PM   #5
 
dhicks's Avatar
 
Join Date: Aug 2005
Location: Alton, Hampshire
Posts: 1,510
Thanks: 128
Thanked 99 Times in 94 Posts
Rep Power: 30 dhicks is a name known to alldhicks is a name known to alldhicks is a name known to alldhicks is a name known to alldhicks is a name known to alldhicks is a name known to all
Default

Quote:
Originally Posted by Jackd View Post
Can anyone help me out on how to create a unique id similar to the ones that youtube uses e.g. qas27wHba4w in php
What you want is a unique identifier rather than just a randomly generated password - i.e. not only should your ID be random, it should be unique (because you don't want two objects identified with the same ID string):

Universally Unique Identifier - Wikipedia, the free encyclopedia

--
David Hicks
  Reply With Quote
Reply

Register now for FREE and post messages!


Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Birthday:      
Image Verification
  I agree to forum rules 

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP commands Silverman Web Development 10 03-06-2008 03:24 PM
PHP Help! Cravon Coding 2 20-11-2007 06:05 PM
Help with PHP Gatt Web Development 1 14-11-2006 10:01 PM
php help beeswax Windows 33 14-10-2005 04:51 PM


Tags
php, unique id, youtube


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 08:24 PM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright EduGeek.net