PHP JPEG Class





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

0
Date Submitted Sat. Sep. 22nd, 2007 9:45 AM
Revision 1
Helper el_nokio
Tags "auto" | "client" | "image" | "javascript" | "resize"
Comments 0 comments
This is a very simple javascript - script, which can help us to resize any image (picture) included on our web-page "automatecally" by getting the visιtor's(client side) dimensions Height + Width and so changing the image proportionally .
8
Date Submitted Mon. Oct. 9th, 2006 8:44 AM
Revision 1
Beginner shortkid422
Tags "Address" | "Email" | "Expressions" | "php" | "Regular"
Comments 3 comments
This will return a boolean (true/false) if the email address is valid or not.
-11
Date Submitted Thu. Sep. 28th, 2006 3:43 PM
Revision 1
Helper ffxfiend
Tags "php" | PHP | phpcode | RegExp
Comments 1 comments
This is a faily simple function to validate a URL being passed into your scripts. It will allow for http, https, and ftp. The beginning www. of a URL is optional as well. It will also validate if you have an IP address in place of the domain name. I'm sure this can be improved upon as this is my first attempt at regular expressions but it has worked good for me so far. Please comment or improve if your able.

Thanks!
6
Date Submitted Sun. Sep. 24th, 2006 5:23 PM
Revision 1
Helper kahotep
Tags "authentication" | "ldap" | "mysql" | "php"
Comments 1 comments
The following program was written for my company's time keeping system which utilizes an LDAP database for authentication and a MySQL database for time-keeping, account access control, etc.

If a user has >= 5 unsuccessful logins, it locks the account for 5 minutes. Once a successful LDAP bind has occured, the $_SESSION vars are set and the authorization process is bypassed until the user logs out or the session expires.