webcodebase.com Snippets database & Pastebin

c100 shell

Codebase » PHP PHP

The c100 shell.

Hits 25 | Comments 0 |

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 173 | Comments 8 |

Refresh page every X seconds

Codebase » Other PHP

Just edit the X and put the amount of seconds.

Hits 150 | Comments 3 |

Christmas Countdown 2008 (No IFRAME)

Codebase » JavaScript PHP

Just put this code where you want it to appear, will not update without the pageviewers page refreshing.

Hits 171 | Comments 6 |

Christmas Countdown 2008 (IFramed to update every Second)

Codebase » JavaScript PHP

Just put the code anywhere in your page, it is IFramed so it can reload every second without making your whole page reload, and without making the viewers PC lag at all.

Hits 186 | Comments 5 |

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 181 | Comments 6 |

Image opacity in CSS

Codebase » CSS PHP

This works on both IE and on Mozilla. It sets the opacity of a image (on hover in this example).

Hits 159 | Comments 4 |

Style a button to look like a link

Codebase » CSS PHP

This makes a button look like a text-link.

Hits 153 | Comments 4 |

Get elements by class name

Codebase » JavaScript PHP

Return elements by class name given a parent node.

Hits 125 | Comments 4 |

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 160 | Comments 4 |


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]