joomla versionu: joomla 1.5.9
bilesen / modul versionu: lutfen bilesen surumunu yaziniz
kurulum hatasi ıle karsilastiniz mi? hayir
sorun derecesi: yeni kullanici
problemden once ne yapmistin?
problemi cozmek icin neleri denedin?
mesajinizi yaziniz
merhaba,
joomla modülü dışarıdan mesela wordpress bir site ansayfasından nasıl çağırabiliriz. Mesele yeni üyeleri orda göstermek istiyorum. Bu konuda bilgiis olan var mı?
Bir mantığım var ancak çalıştıramadım. Daha doğrusu no direct access hatası veriyor.
[php]<?Php
defined('_jexec') or die ('no direct access');
$username = "xxxx";
$password = "xxxx";
$hostname = "xxxx";
//connection to the database
$dbhandle = mysql_connect($hostname, $username, $password)
or die("unable to connect to mysql");
global $mainframe;
//select a database to work with
$selected = mysql_select_db('xxxx',$dbhandle)
or die("could not select examples");
//execute the sql query and return records
$query = mysql_query("select params from jos_modules where id='31'");
//some extra settings
require_once ($_server['document_root'] .'/v2/modules/mod_mostread/helper.Php');
$rowdata = mysql_fetch_assoc($query);
?>[/php]
