Skip to content

Instantly share code, notes, and snippets.

View vranac's full-sized avatar

Vranac Srdjan vranac

  • Novi Sad, Vojvodina, Serbia
View GitHub Profile
[vagrant@vagrant-centos65 ~]$ sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Preparing... ########################################### [100%]
package epel-release-6-8.noarch is already installed
begin
declare continue handler for sqlstate '42710' begin end;
execute immediate 'create table versions(name varchar(255)) in userspace1';
execute immediate 'insert into versions values (''component-name'')';
end/
<?php
session_start();
$db= mysqli_connect('localhost', 'korisnik1', '12345', 'baza1');
if(isset($_POST['send'])){
$pass=addslashes($_POST['pass']);
$sql=" SELECT * FROM baza1 WHERE pass='$pass' ";
$result=mysqli_query($db,$sql);
if(mysqli_num_rows($result)==1){
{
"github-oauth": {
"github.com": "YOUR_OAUTH_TOKEN_HERE"
}
}