Random Password - PHP





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 3 4 5 6 7 8 9  ...  15 16 Next »
-4
Date Submitted Thu. Mar. 2nd, 2006 11:02 AM
Revision 1
Syntax Master dannyboy
Tags Password | VBSCRIPT
Comments 1 comments
Usage: cscript //nologo RandPass.vbs [password_length]|[?] [complexity] [uniqueness]

This script will generate a random password of X length. It will build the password from seed 'strings of increasing complexity.
1 - simple is the lower case alphabet, numbers 2-9 and !@#$%^&*() all randomly interspersed.
2 - complex is the same as the previous with the addition of UPPER case letters.
3 - insane is the same as the previous with the additional symbols of ,./?>;'[]}{\|~`:
The numbers 0 and 1 have been removed to avoid confusion with the letters O and L.

password_length should be a number between 4 and 127, although a limit of 14 is recommended for Win9x clients. Default is 7
complexity must be 1,2 or 3
uniqueness value of 0 will make each password character unique. A value of 1 [default] will allow repeated characters.

If you don't pass values at the command prompt, you will be prompted for each value.
0
Date Submitted Wed. Oct. 29th, 2008 9:21 AM
Revision 1
Helper Celebhir
Tags Directory | Files | PHP | Recursive | structure | tree
Comments 0 comments
Takes a given directory and lists all the files and folders under it, including sub folders. Resulting array contains associative (folders) and indexed (files) elements. Doesn't return "." and ".."
0
Date Submitted Wed. Oct. 29th, 2008 10:51 AM
Revision 1
Helper Celebhir
Tags Directory | find | Folder | PHP | Recursive | search
Comments 1 comments
This function takes a directory, and a "folder" search parameter.
If it finds the directory (either in single level, or any sub folder) it will return the relative path of that folder. "FALSE" if not found. Skips over files and "." and ".." directories. Recursive by default.
0
Date Submitted Wed. Oct. 29th, 2008 11:26 AM
Revision 1
Helper Celebhir
Tags Directory | File | PHP | Recursive | search
Comments 0 comments
This function tries to locate a file in a give folder (either single level, or in any sub folder). Returns the relative file and path, or FALSE if not found. Skips over "." and "..".
0
Date Submitted Mon. Dec. 29th, 2008 2:03 PM
Revision 1
Helper ffxfiend
Tags Date | future | PHP
Comments 0 comments
This function will take four arguments, the year, month, day and number of days in the future you want to go and return to you as an array (year,month,day) of that date.

It is a simple function that is only for convenience. It is meant to be used in conjunction with the list() command.
0
Date Submitted Mon. Dec. 29th, 2008 2:11 PM
Revision 1
Helper ffxfiend
Tags "find date" | Date | PHP
Comments 0 comments
This function will let you find the Sunday, Monday, Tuesday, etc of a month and return to you that date.

It is a modification of a script I found online at this site: http://filchiprogrammer.wordpress.com/2008/02/27/getting-the-first-monday-of-the-month/.

The function takes three arguments, the month, year and the weekday you are looking for. The weekday is represented by an integer, 0 for Sunday, 1 for Monday and so on.
0
Date Submitted Fri. Nov. 28th, 2008 3:12 AM
Revision 1
Beginner RB
Tags PHP | xoops
Comments 0 comments
auto create and check token with different xoops versio
0
Date Submitted Mon. Dec. 15th, 2008 6:57 AM
Revision 1
Beginner suin
Tags excel | Password | Random | VBA
Comments 0 comments
This is a function which generates random letters for password. Programers can use this at Microsoft Excel and so on.
0
Date Submitted Sat. Mar. 8th, 2008 3:54 PM
Revision 1
Beginner chorny
Tags MD5 | Perl
Comments 0 comments
Digest::MD5 is core from 5.8.
1
Date Submitted Thu. Aug. 28th, 2008 9:33 AM
Revision 1
Scripter Fordiman
Tags buffering | errors | Output | PHP | template
Comments 0 comments
Best use of ob_, custom error handling, and variable variales evar: simple templating.

_parse($filename[,$locals])
includes $filename and renders its output to the return value. $locals, if used, will add a set of variables to the included context.

Parse($template[,$locals])
Same as above, but allows you to define a base template folder and omit the .php - just for cleaner code.

t($template[,$obj])
...
t()
Same as Parse, but any output between the opening call and the closing call (no arguments) will be buffered intot he $content variable of the template.

Play around with t(..) to find out more; I don't feel like documenting it.
« Previous 1 2 3 4 5 6 7 8 9  ...  15 16 Next »