GithubHelp home page GithubHelp logo

mattwanderson / web-server-source Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pmt-mcpe-me/pmt.mcpe.me-source

0.0 2.0 0.0 406 KB

pemapmodder.zapto.org source (partial)

ApacheConf 0.47% PHP 97.10% JavaScript 1.28% CSS 1.15%

web-server-source's Introduction

web-server-source

pemapmodder.zapto.org source (partial)

Requirements

  • PHP 5.6 (yes, and the default PHP 5 installation on Ubuntu is PHP 5.5)
  • PHP YAML extension
  • PHP cURL extension
  • probably other things that I forgot

Installation

Clone this repo at the document root of your website. It is because some hyperlinks explicitly indicate as /file.php. Assuming /var/www/html in this page.

Please allow read/write access to the parent directory of the document root of the website, i.e. /var/www. I do that with chmod -R www-data:www-data /var/www.

A GitHub service client_id + client_secret is required to be set up at /var/www/cid.txt and /var/www/secret.txt

A GitHub API access token for any valid account (without any scopes required) is required at /var/www/token.txt

All these three files should contain the tokens/secrets in plaintext. No trimming would be done by the PHP script.

You are recommended to add a file .git/.htaccess with the content:

deny from all

for the sake of security.

This website generates files at /var/www/html/insta/data/ without deleting them. If you find the directory too resource-consuming, please add a cronjob yourself to clean it.

===

Here is a list of PHP extensions used by the website at pmt.mcpe.me:

Array
(
    [0] => Core
    [1] => date
    [2] => ereg
    [3] => libxml
    [4] => openssl
    [5] => pcre
    [6] => zlib
    [7] => bcmath
    [8] => bz2
    [9] => calendar
    [10] => ctype
    [11] => dba
    [12] => dom
    [13] => hash
    [14] => fileinfo
    [15] => filter
    [16] => ftp
    [17] => gettext
    [18] => SPL
    [19] => iconv
    [20] => mbstring
    [21] => session
    [22] => posix
    [23] => Reflection
    [24] => standard
    [25] => shmop
    [26] => SimpleXML
    [27] => soap
    [28] => sockets
    [29] => Phar
    [30] => exif
    [31] => sysvmsg
    [32] => sysvsem
    [33] => sysvshm
    [34] => tokenizer
    [35] => wddx
    [36] => xml
    [37] => xmlreader
    [38] => xmlwriter
    [39] => zip
    [40] => apache2handler
    [41] => yaml
    [42] => Weakref
    [43] => PDO
    [44] => curl
    [45] => json
    [46] => readline
    [47] => mhash
    [48] => Zend OPcache
)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.