OxyScripts.com
Menu spacer Home Tutorials Articles Code Forums irc.freenode.net #oxyscripts
Main (PHP)
Home Forums PHP News PHP Tutorials Articles PHP Code Snippets Contact Us Sysadmin Resources Books Template Shop
3rd Party Streams
SlashDot PHPDeveloper.org PHP.Net
Resources
PHP Manual MySQL Manual Smarty Manual PEAR Manual PHP-GTK Manual Symfony Manual
Code Snippets
Authentication Database Graphics HTTP Miscellaneous Time/Date
Affiliates
Scripts TutorialMan TutorialGuide CodingForums.com PHP Scripts Cheap Web Hosting Affordable Web Hosting Dreamweaver Templates

Search This Site :     PHP Function Reference :
 
PHP Code Snippets: Simple counter
By Oxy ( 2002-08-09  8558 views. )
This snippet counts the number of hits a website receives, using flat files.
 

 
PHP Code Snippets: Multiple pages using PHP/MySQL
By Chad ( 2002-08-02  7264 views. )
This is yet another snippet from an oekaki board I helped program. It lets you specify the number of results per page and displays the page numbers.

This is very usful for things like guestbooks, forums, or if you just want to keep things organized.
 

 
PHP Code Snippets: Block multiple email addresses
By Chad ( 2002-07-17  7242 views. )
I wrote this snippet assuming you will do the following:

° change localhost, username, and password to your own information

° change $db_name to the name of your database

° change "tablename" to the name of the database table you are using

° create a row in that table called "email" to store the emails people submit

° error.php is a simple page that has an error message on it.
--------------------------------

This snippet was taken from an Oekaki board I helped program. This was used so that when a new user was registering, they could not use an email that already existed.

NOTE: You can change the "header('Location: error.php');" line into any other form of error message including an echo string or whatever you want. Fool around with it.
 

 
PHP Code Snippets: DB Class
By Oxy ( 2002-07-15  7209 views. )
This class lets you connect to and query a database using OOP. It's pretty simple and my first stab at OOP.
 

 
PHP Code Snippets: Spam bot protection
By Oxy ( 2002-07-15  7222 views. )
This snippet stops spam bots, which crawl the web for email addresses, from picking up email addresses from your site. you@email.com will become you-at-email-dot-com, so people can still email you by replacing the at and dot.
 

 
Item(s) 21 to 25 of 57.   Go to page: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
 
   Print this page

Top Sponsor
Symantec\'s Norton SystemWorks 2006
Sponsors
CA
Sponsors
AdWords Dominator 125*125
Advertisting

Affiliates
VertexTemplates PHPFreaks CodeWalkers StarGeek DevScripts CGI & PHP Scripts PHP CMS

Shopping Rebates   Sell It 4 You   Flash Page Counters   Get Insured
GPS Tracking Service   Charity Donate Info   Web Site Hosting   VOIP Service

Privacy Policy | Links | Site Map | Advertising

All content on OxyScripts.com is (©)2002-2007

 
Powered by Adrastea - Version 1.0.0. Copyright © Rune Solutions, 2004-2005