webcodebase.com Snippets database & Pastebin
1 2 3 All

Brief explaination about the PHP5 Function __autoload()

Codebase » PHP PHP

Many proffesional php programmers usally have one file with endless lines of include('lib/class1.php'); include('lib/class2.php'); and so on. With the new function __autoload() in PHP5, this is no longer needed.

Hits 166 | Comments 7 | |

IP Banning OOP Class

Codebase » PHP PHP

A simple OOP Class to ban IPs.

Hits 112 | Comments 5 | |

Body mass index class

Codebase » PHP PHP

BodyMassIndex based on information inputted.

Hits 104 | Comments 6 | |

GD Watermark

Codebase » PHP PHP

This script creates a watermarked image from an image file.

Hits 121 | Comments 6 | |

DB Connection Class

Codebase » PHP PHP

an amazing PHP DB Class which makes connections easy and secure

Hits 135 | Comments 6 | |

Hit Counter

Codebase » PHP PHP

Very simple hit counter, text-file based.

Hits 109 | Comments 6 | |

RSS Class

Codebase » PHP PHP

RSS Class with example database and how to use included.

Hits 110 | Comments 6 | |

File Uploader

Codebase » PHP PHP

PHP File uploader with max file size and allowed file types.

Hits 96 | Comments 5 | |

Unique hits counter

Codebase » PHP PHP

Simple unique hits counter.

Hits 92 | Comments 5 | |

Flip a Coin

Codebase » PHP PHP

Flip a Coin random statistics script.

Hits 85 | Comments 5 | |

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]