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: Search Google with PHP
By Oxy ( 2003-07-16  7230 views. )
Searches Google for the keywords you specify and returns the first result as a link.
 

 
PHP Code Snippets: XML Parsing Class
By Oxy ( 2003-02-11  7242 views. )
Quick and dirty XML parsing class, as used at OxyScripts.com to parse the news feeds from other sites. It works as it should, although the coding is dirty and I've hacked it about a bit.
 

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

 
PHP Code Snippets: Block multiple email addresses
By Chad ( 2002-07-17  7254 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: Spam bot protection
By Oxy ( 2002-07-15  7227 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) 1 to 5 of 16.   Go to page: 1, 2, 3, 4
 
   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