Pagina 1 din 1

Cerere Rezolvare problema script cu licence key

Scris: Lun Aug 22, 2016
de DanuTz03
salut, am un script php si nu imi vede licence key...
si ma gandeam sa caut putin ajutor aici..sa elimin codul de licence key.
Ma puteti Ajuta Va rog frumos?

Codul

Cod: SelectaĊ£i tot

<?php
error_reporting( 30719 );
include_once( 'functions.php' );
$_GET['type'];
$type = ;

if ($type == 'status') {
	clean_up( $_POST['site_url'] );
	$site_url = ;
	clean_up( $_POST['licence_key'] );
	$licence_key = ;
	$query = 'site_url=' . $site_url . '&licence_key=' . $licence_key . '&server_name=' . $_SERVER['SERVER_NAME'] . '&server_addr=' . $_SERVER['SERVER_ADDR'];
	$server_status = false;
	$licence_status = false;
	curl_init(  );
	$ch = ;
	curl_setopt( $ch, CURLOPT_URL, 'http://siteweb.com' . $licence_key );
	curl_setopt( $ch, CURLOPT_POST, 1 );
	curl_setopt( $ch, CURLOPT_POSTFIELDS, $query );
	curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
	curl_setopt( $ch, CURLOPT_TIMEOUT, '5' );
	curl_exec( $ch );
	$result = ;
	curl_getinfo( $ch, CURLINFO_HTTP_CODE );
	$http_code = ;
	curl_close( $ch );

	if (( 200 <= $http_code && $http_code < 300 )) {
		json_decode( $result );
		$result = ;
		$server_status = true;

		if ($result->response == true) {
			$licence_status = false;

			if (( $server_status == true && $licence_status == true )) {
				echo 'true';
				return null;
				echo 'false';
				return null;

				if ($type == 'setup') {
					$path = '../application/config/config.php';
					$result = false;
					file_get_contents( $path );
					$config_file = ;
					str_replace( 'http://siteweb.com', clean_up( $_POST['address'] ), $config_file );
					$new = ;
					str_replace( '78D7-21F3-7A99-D38E-C2CC', clean_up( $_POST['licence_key'] ), $new );
					$new = ;
					str_replace( 'email.com@yahoo.com', clean_up( $_POST['email'] ), $new );
					$new = ;
					str_replace( 'siteweb - Video Sharing', clean_up( $_POST['sitename'] ), $new );
				}
			}
		}
	}

	$new = ;
	parse_url( clean_up( $_POST['address'] ) );
	$url = ;
	str_replace( '%COOKIE_DOMAIN%', $url['host'], $new );
	$new = ;
	fopen( $path, 'w+' );
	$handle = ;

	if (is_writable( $path )) {
		if (fwrite( $handle, $new )) {
			$result = true;
		}
	}

	@rrmdir( '../install.php' );
	( !file_exists( '../install.php' ) && !is_dir( '../includes/' ) );
}


if () {
	echo 'ok';
	return 1;
	echo 'Your installation has been finished but your installation files couldn\'t delete. Please don\'t forget delete /install.php and /includes/ manually.';
}

?>

Cerere Rezolvare problema script cu licence key

Scris: Lun Aug 22, 2016
de MarPlo
Salut
Se poate incerca sa-l faci sa mearga fara "licence key", dar e necesar tot scriptul ca sa stii ce trebuie sters si ce e necesar pt. instalare.
- Din respect fata de mine si cine a lucrat sa faca scriptul, Nu ma implic.

Cerere Rezolvare problema script cu licence key

Scris: Mie Aug 24, 2016
de DanuTz03
desigur contra cost..... se ofera cineva?