simplysooo
Создатель
- Регистрация
- 19 Июн 2013
- Сообщения
- 15
- Реакции
- 5
- Автор темы
- #1
проверка такая
Весь код полностью во вложении , я пробую так
сгенерированное вставляю в
спрашивается. где ошибся ?
Код:
array_shift( $host );
}
join( '.', $host );
$host = ;
md5( $this->_name . '_key:' . $host . ':' );
$key = explode( '.', $host );
if (( $params->key != $key && $task != 'license' )) {
$app->redirect( 'index.php?option=com_jshopping&controller=importexport&task=license&ie_id=' . $id, JText::_( 'CIMEX_LIC_ERR' ), 'error' );
return null;
}
$this->def_params = array( 'separator' => ';', 'cseparator' => '|', 'charset' => 'cp1251', 'img_path' => 'tmp' . DS . 'images', 'exp_path' => 'tmp' );
}
function license() {
JFactory::getapplication( );
$app = ;
$app->input->getInt( 'ie_id' );
$id = ;
$app->input->getCmd( 'key', null );
if (!$key) {
if (IS_J2x) {
require_once( 'tmpl' . DS . 'license.php' );
return null;
}
require_once( 'tmpl' . DS . 'license.j3.php' );
return null;
}
json_decode( $this->ietable->params );
$params = $key = ;
$params->key = $key;
$this->ietable->params = json_encode( $params );
if (!$this->ietable->store( )) {
$app->redirect( 'index.php?option=com_jshopping&controller=importexport&task=license&ie_id=' . $id, $this->ietable->getError( ), 'error' );
return null;
}
$app->redirect( 'index.php?option=com_jshopping&controller=importexport&task=view&ie_id=' . $id );
}
Весь код полностью во вложении , я пробую так
Код:
<?php
$_host = '123_key:domen.ru';
$license_key = md5( $_host );
$license_key = md5( $license_key );
echo $license_key;
?>
спрашивается. где ошибся ?
Вложения
Последнее редактирование модератором: