سلام عليكم
عندي نسخه مرخص من سكربت phpcow بس مشكله اذا مثل حذفت قاعده بيانات وجيت اعيد تركيبها يطلب مني تفعيل دومين يعني لازم ارجع لهم واطلب تفعيل دومين ثم يرسلون لي رساله مثل كذا مثال
sssss.com/phpcow/activate.php
اذا ضغطت عليها تفعل الدومين ويشتغل سكربت الحين نفس الحرمه ابي افعل الدومين بدون كل شوي ارجع لهم طبعن ملف مشفر فكيت تشفير ملف activate.php وهذه هو الكود :
كود PHP:
<?php
/*********************/
/* */
/* Dezend for PHP5 */
/* NWS */
/* Nulled.WS */
/* */
/*********************/
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html>\r\n<head>\r\n\t<title>Product Activation</title>\r\n\t<style type=\"text/css\">\r\n\t\tbody, html {\r\n\t\t\tfont-family: arial, tahoma, helvetica, sans-serif;\r\n\t\t\tfont-size: 12px;\r\n\t\t\tcolor: #000000;\r\n\t\t\tbackground-color: white;\r\n\t\t\tmargin: 0px;\r\n\t\t\tpadding: 5% 0px;\r\n\t\t}\r\n\t\t.content {\r\n\t\t\twidth: 40%;\r\n\t\t\tborder: 1px solid #D5D5D5;\r\n\t\t\tmargin-top: 8px;\r\n\t\t\tpadding: 24px;\r\n\t\t\tbackground-color: #EEEAEA;\r\n\t\t\tcolor: #000000;\r\n\t\t\ttext-align: left;\r\n\t\t\tmargin: 0 auto;\r\n\t\t}\r\n\t\t.content div {text-align: center;}\r\n\t\t.content span {color: #800000;}\r\n\t\t.content strong {color: red;}\r\n\t\t.content a {color: blue;}\r\n\t</style>\r\n</head>\r\n\r\n<body>\r\n\r\n";
require_once( "cowadmin/siteconfig/commons.php" );
require_once( "cowadmin/functions/sql_functions.php" );
require_once( "cowadmin/lib/folders.class.php" );
require_once( "cowadmin/lib/googlemanager.class.php" );
require_once( "cowadmin/lib/zipreader.class.php" );
if ( isset( $_REQUEST['activationkey'] ) && preg_match( "/^[a-zA-Z0-9]{32}$/", $_REQUEST['activationkey'] ) )
{
$client =& new soapclient( "http://66.45.232.62/updates/updater/server.php" );
$params = array( );
$params['params']['key'] = $_REQUEST['activationkey'];
$params['params']['domain'] = $_SERVER['SERVER_NAME'];
$params['params']['uri'] = $_SERVER['REQUEST_URI'];
$response = $client->call( "doActivate", $params, "urn:doActivate", "urn:doActivate" );
if ( isset( $response['activationData'] ) )
{
$zipReader =& new zipreader( $response['activationData'] );
$entries = $zipReader->getentries( );
$ff =& new folders( );
$path = null;
$file = null;
foreach ( $entries as $entry )
{
if ( preg_match( "/\\.php$/", $entry['filename'] ) )
{
$fileData = $zipReader->readfile( $entry['filename'] );
if ( $fileData )
{
$tmp = explode( "/", $entry['filename'] );
if ( 1 < sizeof( $tmp ) )
{
$file = array_pop( $tmp );
$path = implode( "/", $tmp );
}
else
{
$path = "./";
$file = $tmp[0];
}
$ff->fwrite( $path, $file, $fileData );
}
}
}
$ff->destroy( );
echo "\r\n<div class=\"content\">\r\n\t<div><b><span>PHPCow product activation completed</span></b></div>\r\n\t<br />\r\n\tNow you can access <a href=\"index.php\">front page</a> or <a href=\"cowadmin/index.php\">administration area.</a>\r\n\t<br />\r\n</div>\r\n\r\n";
}
else
{
echo "<div class=\"content\">\r\n\t<div><b><span>PHPCow product activation</span></b></div>\r\n\t<br />\r\n\t<strong>Unable to get product activation information. Activation key you provided is invalid.</strong>\r\n\t<br />\r\n</div>\r\n";
}
}
else
{
echo "\r\n<div class=\"content\">\r\n\t<div><b><span>PHPCow product activation</span></b></div>\r\n\t<br />\r\n\t<strong>Activation key you provided is invalid.</strong>\r\n\t<br />\r\n</div>\r\n\r\n";
}
echo "\r\n</body>\r\n</html>\r\n";
?>
السؤال كيف افعل دومين بدون ما اخبرهم كل شوي