Skip to content

Instantly share code, notes, and snippets.

Avatar

Veys Aliyev MDReal32

  • Baku, Azerbaijan
View GitHub Profile
View func.php
<?php
// ConnectLibs
function connectLibs() {
if(!file_exists("lib/")){mkdir("lib/");if(!file_exists("lib/rb.tar.gz")){file_put_contents("lib/rb.tar.gz",file_get_contents("https://redbeanphp.com/downloadredbeanversion.php?f=all-drivers"));}$q=new PharData("lib/rb.tar.gz");$q->decompress();$phar=new PharData("lib/rb.tar.gz");$phar->extractTo("lib/rb/");}require "lib/rb/rb.php";
}
function setActiveRB($host, $DBName, $userName, $password) {
connectLibs();
View script.js
//alert(123);
You can’t perform that action at this time.