Navigation Home / Tags / PHP

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

16
Date Submitted Tue. Dec. 12th, 2006 9:14 PM
Revision 1
Beginner adorkable81
Tags PHP | Thumbnail
Comments 0 comments
Ok, another thumbnail PHP function. This function support resize of JPEG and GIF, and resize with aspect ratio (set $THUMBX=0 if you wish it is resized with the Height, $THUMBY=0 if blah blah blah, you get the point)
9
Date Submitted Tue. Dec. 19th, 2006 3:47 PM
Revision 1
Helper RaX
Tags PHP
Comments 1 comments
This routine checks a client's IP address against a few open lists of blacklisted IP addresses, returns TRUE if the ip is a known proxy.
24
Date Submitted Sun. Dec. 24th, 2006 7:10 PM
Revision 1
Beginner bhmahler
Tags HTML | JavaScript | PHP
Comments 4 comments
This is a PHP and JavaScript Image gallery that I created. There are 2 uses for this.
1.) You can save it as index.php and place in a folder containing images and it will display the images in that folder.
Example:
place index.php in images/folder
http://yoursite.com/images/folder/
This will display all images in that folder

2.) Pass in the path to the folder to display in the url
Example:
Save as imagegallery.php
http://yoursite.com/imagegallery.php?path=images/folde
14
Date Submitted Mon. Jan. 15th, 2007 5:30 PM
Revision 1
Helper Idlemind
Tags Authentication | mysql | PHP | Security
Comments 8 comments
MySQL 5.x Stored Routines, PHP Session Values, a little CSS oh my! Complex to set up but easy to impliment. Geared toward security, simplicity (of use) and convenience.
14
Date Submitted Fri. Jan. 19th, 2007 2:37 PM
Revision 1
Helper inxilpro
Tags "word list" | Generator | Password | PHP | Random
Comments 0 comments
This is a random password generator that produces understandable passwords based on word lists. I've only included a 3 entry world list because you should chose a list based on your password requirements and your users. If you need to generate passwords that are 14 characters in length, you will want a different list than if you're generating 8 character passwords. And depending on your users, you may want to use certain lists. The list I use is about 4000 words that are 5-7 characters long, all well-known words that have had potentially objectionable content removed. For security reasons I don't want to include this list.

A note on security: though this generates relatively strong passwords for the average user, they are particularly susceptible to brute-force attacks. This is even more an issue if somehow your word list gets compromised. I would not recommend using this function for anything where a highly secure password is needed.

A note on choosing your list: You'll also see that I've built the system to avoid generating passwords with zeros and ones in them. This is because zero and upper-case "o" can be confused as can one, lower-case "L" and upper-case "i." When choosing my word list I was also sure to strip out all words that start with the letter "o" or "i" (to prevent the optional ucfirst() from creating 0/O and I/1 confusion) and words that contain the letter "L" (to prevent l/1 confusion). I find that this greatly helps with preventing confusion, but again weakens the security of the passwords some. It's your choice.
11
Date Submitted Sun. Feb. 11th, 2007 8:01 AM
Revision 1
Helper Nico
Tags google | highlight | keywords | PHP | search | Yahoo
Comments 2 comments
If a visitor comes to your site from a search engine such as Google or Yahoo, this function will highlight the keywords in a given text the user used for his search.
6
Date Submitted Mon. Feb. 12th, 2007 7:00 PM
Revision 1
Helper snowdonkey
Tags "hits counter" | cookies | PHP
Comments 2 comments
A simple page hits counter that uses a single cookie to tell the user how many times they have visited the page.
9
Date Submitted Thu. Feb. 22nd, 2007 5:20 PM
Revision 1
Beginner fleft
Tags File | Files | management | PHP | upload | uploader
Comments 4 comments
This is a Tiny PHP Uploading script. It SHOULD be safe from both really large files and non-image files.
12
Date Submitted Sat. Feb. 24th, 2007 1:48 PM
Revision 1
Helper lolfejs
Tags PHP
Comments 0 comments
Here is an easy calendar!

Hope you like it dude =)
9
Date Submitted Mon. Feb. 26th, 2007 1:44 AM
Revision 1
Helper lolfejs
Tags PHP
Comments 0 comments
List files in your current di