Zend - The PHP Company




Code Gallery: Lysander


An Authenticator with Cookies and Redirect  

Type: application
Added by: Lysander
Entered: 15/12/2000
Last modified: 01/12/2000
Rating: **** (16 votes)
Views: 39688
This code will check for a cookie. If none is found it will verify User ID and Password and then give the user a cookie for next time (or other parts of the site). In addtion this code will automatically direct the users browser to a page of your choice after authenticating. This code uses MySQL.


Bitwise Arithmatic  

Type: application
Added by: Lysander
Entered: 20/09/2001
Last modified: 31/10/2000
Rating: **** (3 votes)
Views: 6665
This script does Addition and Subtraction without once using the + or - operators. Good example of how to use bitwise operators.


Header for Authenticator with Cookies  

Type: application
Added by: Lysander
Entered: 22/12/2000
Last modified: 01/12/2000
Rating: - (fewer than 3 votes)
Views: 10863
I received some e-mail asking what code should be placed on other pages of the website using my Authenticator with Cookies and Redirect. This code should appear before the HTML Tag on any page you want protected.


Meta Search 1.0  

Type: application
Added by: lysander
Entered: 15/10/2002
Last modified: 31/10/2001
Rating: - (fewer than 3 votes)
Views: 4952
MetaSearch is a variation of SiteSearch 1.2 which only searches Meta keyword tags instead of all the text on the page.


Random Text Quote  

Type: code fragment
Added by: Lysander
Entered: 12/10/2002
Last modified: 31/10/2001
Rating: - (fewer than 3 votes)
Views: 4547
Chooses a random line of text from a list and displays it.


SiteSearch 1.1  

Type: application
Added by: Lysander
Entered: 07/02/2001
Last modified: 02/12/2001
Rating: ***** (7 votes)
Views: 10664
This app lets endusers search your site for keywords. You specify which directories should be included in the search. Version 1.1 Fixed a bug where if two words were only seperated by HTML Tags they were placed into only one string.


SiteSearch 1.2  

Type: application
Added by: lysander
Entered: 08/03/2002
Last modified: 03/12/2001
Rating: - (fewer than 3 votes)
Views: 6000
This app lets endusers search your site for keywords. You specify which directories should be included in the search. Version 1.2 Added: Reading of HTML Title tags for generating search results. Checking to see if SiteSearch has been included or required by another script to avoid HTML errors. Filter for files not to include in searches.




Search