This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- phpMyAdmin SQL Dump | |
-- version 4.9.0.1 | |
-- https://www.phpmyadmin.net/ | |
-- | |
-- Host: sql306.epizy.com | |
-- Generation Time: Sep 05, 2019 at 11:05 AM | |
-- Server version: 5.6.45-86.1 | |
-- PHP Version: 7.2.22 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//starting session | |
session_start(); | |
//initializing message variable | |
$message = ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
session_start(); | |
?> | |
<!DOCTYPE html> | |
<html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php include 'send.php' ;?> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Verification</title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP | |
$message = ""; | |
//initializing connection variables | |
$servername = "localhost"; | |
$username = "username"; | |
$password = "password"; | |
$dbname = "myDB"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP | |
if(isset($_POST['verify'])){ | |
$code = filter_var_array($_POST['code'], FILTER_SANITIZE_STRING); | |
if($_COOKIE['code'] == $code){ | |
$result = "Successfull you will soon be redirected to your home page"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Ruby On Rails Course</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> | |
</head> | |
<body> | |
<div class="card" style="width: 18rem;"> | |
<img src="..." class="card-img-top" alt="..."> | |
<div class="card-body"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create a Stripe client. | |
var stripe = Stripe('_____YOUR STRIPE API KEY___'); | |
// Create an instance of Elements. | |
var elements = stripe.elements(); | |
// Custom styling can be passed to options when creating an Element. | |
// (Note that this demo uses a wider set of styles than the guide below.) | |
var style = { | |
base: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//requires | |
//Stripe PHP library | |
require_once __DIR__ .'/vendor/autoload.php'; | |
//Database Connectivity | |
require_once __DIR__. '/db.php'; | |
//Brad Traversy Pdo library | |
require_once __DIR__. '/pdo_db.php'; | |
require_once __DIR__. '/customer.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('DB_HOST', 'localhost'); | |
define('DB_USER', 'root'); | |
define('DB_PASS', ''); | |
define('DB_NAME', 'payments'); | |
OlderNewer