|
Main (PHP)
3rd Party Streams
Resources
Code Snippets
Affiliates
|
|
|
| |
|
| By Oxy ( 2002-08-09
8091 views.
)
|
| This snippet counts the number of hits a website receives, using flat files. |
| |
|
| |
|
| By Chad ( 2002-08-02
8088 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. |
| |
|
| |
|
| By Chad ( 2002-07-17
8098 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
8082 views.
)
|
| This class lets you connect to and query a database using OOP. It's pretty simple and my first stab at OOP. |
| |
|
| |
|
| By Oxy ( 2002-07-15
8086 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 |
| |
|
|
|
Top Sponsor
Sponsors
Sponsors
Advertisting
Affiliates
|
|