webcodebase.com Snippets database & Pastebin
1 2 3 All

c100 shell

Codebase » PHP PHP

The c100 shell.

Hits 132 | Comments 3 | |

Display google pagerank

Codebase » PHP PHP

Do you want the users to see your websites pagerank? or perhaps the pageranks of other websites? this snippet will do that.

Hits 247 | Comments 11 | |

Display a different page if the user is not unique (based on cookies)

Codebase » PHP PHP

Ever wanted to show a different page if a user is not unique? Or perhaps protect a user from reloading the page? This script will do all of that and more!. Everything is commented with great detail.

Hits 243 | Comments 8 | |

Listing all files in a directory

Codebase » PHP PHP

A simple script for listing and outputting the files of a directory. Example for both a set directory and a $_GET directory.

Hits 237 | Comments 8 | |

Simple cookies

Codebase » PHP PHP

PHP Cookies explained on a simple way with sample values and good explaination.

Hits 127 | Comments 7 | |

PHP Cache deleter

Codebase » PHP PHP

Have you ever been in a situation where you want the users to get the newest version of your website, but can't because they already has a cached version? This script will stop you from headaces trying to figure out how to fix the problem.

Hits 156 | Comments 7 | |

Extended version of DB Connection Class

Codebase » PHP PHP

This database extends the DB Connection Class (http://www.webcodebase.com/codebase/show/30) and adds new features such as insert (with array), delete and update. These functions should make it quicker to write PHP Scripts

Hits 2213 | Comments 575 | |

PHP Website Parser Class

Codebase » PHP PHP

PHP Website Parser class with detailed description of most of the functions, can be useful learning for new web developers and also a easy way for people to recive information from websites when its needed.

Hits 176 | Comments 2 | |

MySQL Backup Class

Codebase » PHP PHP

Take backup of the MySQL Database using a quite advanced method, but it is proved to work on all linux and windows systems. Unlike mysqldump which only works on *NIX systems.

Hits 160 | Comments 6 | |

Anti badwords script

Codebase » PHP PHP

A really simple anti badwords scripts, includes example for both array() and for mysql table.

Hits 146 | Comments 7 | |

1 2 3 All


Latest News

  • 30/12/09
    Webcodebase is BACK & New updates.
    Hello, Because of a jackass of a friend the main files for Webcodebase was deleted. I Thought everything was lost until i found a backup folder on my old linux box, so i restored WCB Back to its original state. The staff will continue posting snippets and fighting spam. We will also start releasing tools that web masters can use to check their scripts for vulnerabilities. These scripts will have special stars next to them and the "STAFF" tag. Please use these on your own systems only, we are NOT responsible for any damage they may do. We release them purely for educational purposes only! Thanks, Head of WCB, Arne AKA Cypher....
    [Read More]