İptal Edildi

Making Coding Modifications To Website

Need some to do some minor coding. At present the system queries a marketplace to activate, verify the license, I want to add additional code to verify license that are bought on the website. This is what the code looks like right now. I need someone to add the code that will

1) Check the following table ppstmeta for the license key. If there is no key then it will say invalid. If there is a key it will try to insert the key into the database connect.

2) If there is a key in the database “connect” it will say “This license key is currently activated on another site”

3) If there is no key in the database connect, it will insert the key into database “connect”.

There might be other changes that have to be made. Also you should backup all files before you make changes. I have attached [url removed, login to view] (the code is shown below. [url removed, login to view] code that will be useful into making queries into postmeta table

Budget $30.00

<?php

defined('BASEPATH') OR exit('No direct script access allowed');

class Main extends CI_Controller {

protected $package_dir = '../ci-folder/product-packages/';

function __construct() {

parent::__construct();

$this->load->model('license_mdl');

$this->load->helper('download');

}

public function index() {

redirect('[url removed, login to view]');

}

public function license_verify( $key ) {

$this->load->database();

$verify = $this->envato_purchase( $key );

// Verify Envato purchase code

if ($verify) {

// Check DB for the key

$used = $this->license_mdl->where( 'code', $key )->get();

if ($used) {

$result = array(

'status' => FALSE,

'message' => "This license key is currently activated on another site."

);

}

else {

// Saved key to the DB and return true

$this->license_mdl->insert( array('code' => $key) );

$result = array(

'status' => TRUE,

'message' => "Valid License Key"

);

}

}

else {

$result = array(

'status' => FALSE,

'message' => "This license key is invalid."

);

}

// Return json result

$this->output

->set_content_type('application/json')

->set_output(json_encode( $result ));

}

public function license_deactivate( $key ) {

$this->load->database();

// Get the Code ID

$activated = $this->license_mdl->where( 'code', $key )->get();

// Delete the Code

$this->license_mdl->delete( $activated['id'] );

// Return json result

$result = array(

'status' => TRUE

);

$this->output

->set_content_type('application/json')

->set_output(json_encode( $result ));

}

public function download_woomobify( $key ) {

// Verify license and download file

$file_name = "" . $this->package_dir . "[url removed, login to view]";

force_download(''.$file_name.'', NULL);

}

/**

* Verify a purchase code using envato API

*/

private function envato_purchase($code) {

$this->load->helpers('curl');

$username = 'danthecoder';

$api_key = 'q3y7nynk7326uryiw0z896j47r4gm5za';

$verify_url = "[url removed, login to view]". $username ."/". $api_key ."/verify-purchase:". $code .".json";

$result = curl_api($verify_url);

if( isset($result['verify-purchase']['buyer']) ) {

return TRUE;

}

else {

return FALSE;

}

}

}

Budget Range $30-50

Beceriler: MySQL, PHP

Daha fazlasını görün: modifications to a website, Modifications to existing website, I need modifications to current Logo, ive bought a website need to design it, html coding for making website, html coding for making a website, does shopify website need coding, website need to be responsive, some edits to my website need it in 1 day, some edits to my website (need it in 1 day), coding making product page php, making modifications magento, making money coding html css, php coding site making, asp making modifications page, complete coding making point sales, coding integrate paypal website aspnet vbnet, coding integration paypal website aspnet vbnet, designed website need end help, website need password user, coldfusion website need help, website need video, commerce website need copy, hourly rate website design php coding, making online flash games multiplayer

İşveren Hakkında:
( 11 değerlendirme ) Richmond, Canada

Proje NO: #14787336

49 freelancer bu iş için ortalamada 134$ teklif veriyor

hiretechexperts

Hi, Have gone through the details provided , but still need to clarify few things before proceeding. So please send a message when you are available to discuss. For now I am putting a placeholder bid amount as the am Daha fazlası

in 10 gün içinde156$ USD
(0 Değerlendirme)
0.0
fruxinfopvtltd

I can complete your work Relevant Skills and Experience MySQL, PHP Proposed Milestones $155 USD - after

in 3 gün içinde155$ USD
(0 Değerlendirme)
0.0
codetechservices

Experts from India ‘Dedicated Developer Service’ gives you access to Single or team of Dedicated Developers / Programmers, exclusively working for you on your projects at our software development outsourcing center in Daha fazlası

in 3 gün içinde155$ USD
(0 Değerlendirme)
0.0
Brijrajs76

hello i am with 7 years experience in PHP, angular node and mongodb WordPress, WP pluagins,. expertise in the 3rd party API , shopping engines, [url removed, login to view] [url removed, login to view] Relevant Skills and Experi Daha fazlası

in 3 gün içinde150$ USD
(0 Değerlendirme)
0.0
in 3 gün içinde155$ USD
(0 Değerlendirme)
0.0
Brightinfotech3

I have more than 5 year experience in web development with PHP, as well as designing.I read your job description. you are looking good developer who has good experience in Development Relevant Skills and Experience Daha fazlası

in 3 gün içinde30$ USD
(0 Değerlendirme)
0.0
Meenutechnology

Hi , Greetings! from Meenutech We have read and understood your need. We have work with the similar type of project we are confident about the work Relevant Skills and Experience Our previous work [url removed, login to view] Daha fazlası

in 3 gün içinde250$ USD
(0 Değerlendirme)
0.0
in 3 gün içinde155$ USD
(0 Değerlendirme)
0.0
davinder0279

Kindly get in touch to proceed further. Relevant Skills and Experience Coming onto my experience, my proficiency lies in HTML/HTML5, CSS/CSS3, jQuery, JavaScript, PHP, Mysql, WordPress, Angularjs. Proposed Milestones Daha fazlası

in 5 gün içinde155$ USD
(0 Değerlendirme)
0.0
in 3 gün içinde155$ USD
(0 Değerlendirme)
0.0
petermathu

Hi, Your job posting has caught my attention and I am keenly considering your job post. I have excellent experience in Mentioned skills. Looking Forward to hear you ..... Thanks Relevant Skills and Experience Larav Daha fazlası

in 3 gün içinde155$ USD
(0 Değerlendirme)
0.0
imagicaworld

Hello Relevant Skills and Experience please have a look at our portfolio link:- [url removed, login to view] Proposed Milestones $150 USD - D

in 3 gün içinde150$ USD
(0 Değerlendirme)
0.0
rabhardwaj

I have been in this field for more than 7 years. I have experience in php,perl,Html,postgress ,Web Services, Rest Api, Zend ,YIi,Mysql.i provide support Chester cap llc more than 5 years. Chester cap llc have a grant m Daha fazlası

in 3 gün içinde77$ USD
(0 Değerlendirme)
0.0
in 3 gün içinde250$ USD
(0 Değerlendirme)
0.0
WebSolutionssoft

i checked your given code and provided links of ,php files i am ready for it Relevant Skills and Experience wordpres php html css Proposed Milestones $55 USD - default

1 gün içinde 55$ USD
(0 Değerlendirme)
0.0
WebXcellance

Hello Sir, please check my recent work [url removed, login to view] [url removed, login to view] [url removed, login to view] Thanks. Relevant Skills and Experience PHP Proposed Milestones $97 USD - Proje Daha fazlası

in 3 gün içinde97$ USD
(0 Değerlendirme)
0.0
sumitphp

hi, i checked that attached .php code and got your issue, just send me db table or access i'll do it right now Relevant Skills and Experience i am having 6 year experience in php. Proposed Milestones $35 USD - on com Daha fazlası

1 gün içinde 35$ USD
(0 Değerlendirme)
0.0
in 3 gün içinde50$ USD
(0 Değerlendirme)
0.0
JinYongbin

I have more than 5 years experience in PHP-based development and created more than 100 websites and 200 plugins for a wide variety of different CMS, message boards and frameworks. Relevant Skills and Experience PHP,My Daha fazlası

in 3 gün içinde155$ USD
(0 Değerlendirme)
0.0
yogeshssanwal

Greetings from Webs Cybernetics!! My name is Yogesh Sanwal, Can you please come over chat to discuss further regarding the project as I would love to hear more about the idea/concept? Thanking you! Stay tuned, I'm Daha fazlası

in 2 gün içinde48$ USD
(0 Değerlendirme)
0.0