Jump to content

PasteBin Engine 2.2


About This File

his is basically just an pastebin engine with a quick example class

 

Setup

[ul]

[li]in index.php edit $pbMySQL to your details[/il]

[li]set $pbRealPath to the absolute path to the directory, in most cases you won't have to change this[/il]

[li]set $pbRelativePath to the relative site path, i.e. if you want www.example.com/pastebin you would set it to '/pastebin/'[/il]

[/ul]

 

once you have configured all the variables run the file, comment out/remove $pb->firstRun() and reload the page

 

if you would like to make use of the Apache module "mod_rewrite" set $pbFancyURL to true

 

the rest of the variables declared in the index file should have enough explained about them in comments for you to understand


User Feedback

Recommended Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...