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 | |
/** | |
* | |
*/ | |
class ShopifyProducts{ | |
public function getProducts($count = false, $page){ | |
$apikey = 'API_KEY'; //Replace with your's | |
$pass = 'PASS'; //Replace with your's | |
$store = 'STORE_URL'; //Replace with your's | |
if ($count == true) { |
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 | |
$host = 'HOST'; //Hostname or Server ip | |
$user = 'USER'; //Database user | |
$pass = 'PASS'; //Database user password | |
$con = mysql_connect($host,$user,$pass); | |
if($con){ | |
$count = 0; |
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 | |
$db = 'Database'; //Database name | |
$host = 'Database_host'; //Hostname or Server ip | |
$user = 'USER'; //Database user | |
$pass = 'Password'; //Database user password | |
$con = mysql_connect($host,$user,$pass); | |
if($con){ |
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 | |
$dbhost = 'DB_Host'; // Database Host | |
$dbuser = 'DB_User'; // Database User | |
$dbpass = 'DBUser_Password'; // Database User Password | |
$db='DB_Name'; // Database Name | |
$i=0; | |
$conn = mysql_connect($dbhost, $dbuser, $dbpass); | |
mysql_select_db($db); | |
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 | |
/** | |
* Transfer Files Server to Server using PHP Copy and PHP ZipArchive | |
* @link http://glowLogix.com | |
*/ | |
/* Source File URL */ | |
$remote_file_url = 'http://example.com/filename.zip'; | |
/* New file name and path for this file */ |
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
<!-- Basic calculator using jQuery --> | |
<html> | |
<head> | |
<title>Calculator</title> | |
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> | |
<style type="text/css"> | |
.field{ | |
padding: 4px; | |
border-radius: 4px; | |
border: solid black 1px; |
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
<!-- Basic calculator using javaScript --> | |
<html> | |
<head> | |
<title>Calculator</title> | |
<style type="text/css"> | |
.field{ | |
padding: 4px; | |
border-radius: 4px; | |
border: solid black 1px; | |
margin: 3px; |
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 | |
$db = 'database'; //Database name | |
$host = 'host'; //Hostname or Server ip | |
$user = 'database_user'; //Database user | |
$pass = 'password'; //Database user password | |
$con = mysql_connect($host,$user,$pass); | |
if($con){ |
NewerOlder