- Magisk
- One mobilszolgáltatások
- iPhone topik
- Íme az új Android Auto!
- Samsung Galaxy S24 Ultra - ha működik, ne változtass!
- Szívós, szép és kitartó az új OnePlus óra
- Samsung Galaxy Fit 3 - keveset, de jól
- Honor Magic6 Pro - kör közepén számok
- Samsung Galaxy S23 és S23+ - ami belül van, az számít igazán
- Nothing Phone (3a) és (3a) Pro - az ügyes meg sasszemű
Új hozzászólás Aktív témák
-
Krszti1660
csendes tag
válasz
Krszti1660 #3793 üzenetére
ezt ja ki:S
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/a7726055/public_html/inc/config.php on line 5
<?
include("db.php");
$link = mysql_connect($db_server, $db_user, $db_password) or die("Could not connect");
mysql_select_db($db_name) or die("Could not select database");
$query = "SELECT * from config";
$result = mysql_query($query) or die("Query failed");
while ($row = mysql_fetch_assoc($result)) {
$config[$row['soption']]=$row['svalue'];
}
$site_name = $config['SiteName'];
$sql="select * from users where userid='1'";
$result = mysql_query($sql) or die("Query failed.");
while ($row = mysql_fetch_array($result))
{
$support_email=$row['email'];
}
$server_url = $config['SiteUrl'];
// config options
$version = $config['ScriptVersion'];
$uploads = $config['Uploads'];
$registration = $config['MemberRegistration'];
$validation = $config['EmailValidation'];
$ads = $config['Advertisements'];
$watermarking = $config['Watermarking'];
// thumbnail settings
$dest_height = $config['ThumbHeight'];
$dest_width = $config['ThumbWidth'];
$server_root = $config['SiteRoot'];
$server_directory = "";
$server_save_directory = $server_directory . "/images/"; // /folder/
// do not change the following variables
global $server_dir;
$server_dir = $server_root . $server_save_directory;
$page_url = $server_url . $server_directory;
$image_url = $server_url . $server_save_directory;
$valid_mime_types_display = $config['Extension'];
$valid_file_ext=explode(",",$config['Extension']);
function getSize ($imageurl)
{
if ( intval(phpversion()) < 5 )
die ( 'PHP5 Required' );
$headers = get_headers($imageurl, 1);
return $headers['Content-Length'];
}
// Convert a URL to the local file path and vice versa, convert a local file path to a URL.
// this sets the sytem / or \ :
strstr( PHP_OS, "WIN") ? $slash = "\\" : $slash = "/";
// This is the location of the php file that contains this
// function. Usually this request is made to files/folders
// down the directory structure, so the php file that
// contains these functions is a good "where am i"
// reference point:
$WIMPY_BASE['path']['physical'] = getcwd();
$WIMPY_BASE['path']['www'] = "http://".$_SERVER['HTTP_HOST'];
function url2filepath($theURL){
global $WIMPY_BASE, $slash;
$AtheFile = explode ("/", $theURL);
$theFileName = array_pop($AtheFile);
$AwimpyPathWWW = explode ("/", $WIMPY_BASE['path']['www']);
$AtheFilePath = array_values (array_diff ($AtheFile, $AwimpyPathWWW));
if($AtheFilePath){
$theFilePath = $slash.implode($slash, $AtheFilePath).$slash.$theFileName;
} else {
$theFilePath = implode($slash, $AtheFilePath).$slash.$theFileName;
}
return ($WIMPY_BASE['path']['physical'].$theFilePath);
}
function filepath2url ($theFilepath){
global $WIMPY_BASE, $slash;
$AtheFile = explode ($slash, $theFilepath);
$theFileName = array_pop($AtheFile);
$AwimpyPathFILE = explode ($slash, $WIMPY_BASE['path']['physical']);
$AtheFilePath = array_values (array_diff ($AtheFile, $AwimpyPathFILE));
$thFileURL = implode("/", $AtheFilePath)."/".$theFileName;
return ($WIMPY_BASE['path']['www']."$thFileURL");
}
?>a db.php-ban meg nincs semmi
-
Krszti1660
csendes tag
válasz
Sk8erPeter #3791 üzenetére
most fel akarok tenni egy másik motort és az instalnál ezt írja ki:
File ' . $db_file . ' is not writable. Please change the access permissions or delete current file.
És a db.php-ben meg nincs semi :S
-
Krszti1660
csendes tag
válasz
Krszti1660 #3786 üzenetére
meg találtam és próbáltam átt írni 777-re de akkor sem jó :S
dpi_init.php on line 80 ennek a php-nak a kódját másoltam be.... -
Krszti1660
csendes tag
Na most kérdezek egy láma kérdést:
session_start();
list($usec, $sec) = explode(" ", microtime());
$START_TIME = ((float)$usec + (float)$sec); $WIPED_TIME = 0;$root_path ="{ROOT_PATH}";
$cdomain ="{C_DOMAIN}";if(!DEFINED('NOGZ') && eregi('gzip',$_SERVER['HTTP_ACCEPT_ENCODING'])) @ob_start("ob_gzhandler");
REQUIRE_ONCE( './includes/dpi_functions.php' );
REQUIRE_ONCE( './includes/dpi_temp.php' );
REQUIRE_ONCE( './includes/dpi_specials.php' );
REQUIRE_ONCE( './includes/dpi_iptc.php' );
REQUIRE_ONCE( './includes/dpi_custom.php' );$settings = load_settings();
DEFINE('TEMP_DIR', "./theme/$settings[theme]/templates");#Load the Global Settings
$meta_tags = eval_template('header_meta_tags');
$header_right = eval_template('header_right');
$myurl = urlencode("http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]");$center = ''; #Initialize center content
$title = '';
$logged_user = FALSE;if(isset($_COOKIE['user'])) {
@list($id,$pass) = @explode(',',$_COOKIE['user']);
$id = _html($id);
$pass = _html($pass);
$USR = user($id);if($USR) {
if(md5($USR['password']) == $pass) {
$logged_user = html_arr($USR);
$admincp_link = strtolower($settings['admin_user']) == strtolower($logged_user['username']) ? eval_template('user_admin_link') : '';if($logged_user['locked'] == 'Y') {
setcookie('user','',time(),'/',$cdomain);
echo "Automatically logging out, your account has been suspended by administrator.<br>";
redirect("$root_path/index.php",3);
die();
}}
}
}$header_links = eval_template($logged_user ? 'user_links' :'visitor_links');
$V_TIMAGES=false;
if(!$logged_user) {
if(isset($_SESSION['s_'.md5(_ip())])) {
$total_images = substr_count($_SESSION['s_'.md5(_ip())],',');
$total_images++;
$series = urlencode(base64_encode($_SESSION['s_'.md5(_ip())]));
$header_links .= eval_template('visitor_totals');
$V_TIMAGES=true;
}
}$iarchive_p1 = date("Y_F_d",filemtime(DATA_DIR."/LID"));
$css = eval_template("css");Ezt írja ki: warning : File/Folder is not writable (chmod to 777 through FTP)
és nem is találom a chmod-ot :S -
Krszti1660
csendes tag
válasz
Tele von Zsinór #3765 üzenetére
ezt komplett át kellene nézni és aztán vagy meg csinálni vagy pedig hagyni a francba. Így is ki fizettem a domain-t...
Szóval csak át kéne nézni -
Krszti1660
csendes tag
válasz
Tele von Zsinór #3753 üzenetére
Na sziasztok
Nekem egy programozó kelleneEgy mmorpg maffiás játékot szeretnék elindítani és ennek az oldal motrát kellene át nézni. Domain, tárhely már meg van ha az oldal motort is meg tudná valaki nézni mindjárt lehet is fordítani le és indulhat a játék
Kérlek valaki írjon PM-et vagy pedig itt -
Krszti1660
csendes tag
válasz
Tele von Zsinór #3753 üzenetére
Hát most nem tudok kérdezni mert hulla fáradt vagyok de kb holnap este 18óra fele ha lehet akkor fel jövök és beszélünk
-
Krszti1660
csendes tag
Sziasztok
Kellene nekem egy profi php-s aki érti a mysql-t is
Szóval van egy játék motrom és nem működik :S
azért mert állítólag a mysql- lekérdezések nem jók. Aki tud az írjon!
Új hozzászólás Aktív témák
Hirdetés
- Egyre csak fejlődik az AI, emberek tízezreit rúgja majd ki a BT
- One otthoni szolgáltatások (TV, internet, telefon)
- Sütés, főzés és konyhai praktikák
- Végleg lenyomta a tévét a streaming az USA-ban
- NBA és kosárlabda topic
- Viccrovat
- Pokoli repetát hoz az új GeForce driver
- SSD kibeszélő
- Vezetékes FEJhallgatók
- Steam topic
- További aktív témák...
- Eladó konfig! Ryzen 7 7800X3D 2TB SSD 64GB DDR5 RX9070XT 16GB!
- Új, makulátlan állapotú Samsung Galaxy Buds FE, fehér, fél év garancia
- Új, makulátlan állapotú Samsung Galaxy Watch7 44mm ezüst, 2 év garancia
- Új, makulátlan állapotú Samsung Z Fold 6 256GB Tengerészkék, független, 2 év garancia
- Használt TP-Link Deco M4 - AC1200 Router (Mesh-ként is használható)
- Quadro FX 570 eladó
- BESZÁMÍTÁS! Apple MacBook Pro 14 M4 16GB RAM 512GB SSD garanciával hibátlan működéssel
- Motorola E40 64GB, Kártyafüggetlen, 1 Év Garanciával
- BESZÁMÍTÁS! ASROCK H310CM i5 8400 16GB DDR4 256GB SSD 1TB HDD GTX 1060 3GB Rampage SHIVA TT 500W
- ÁRGARANCIA!Épített KomPhone i7 14700KF 32/64GB RAM RX 9070 XT 16GB GAMER PC termékbeszámítással
Állásajánlatok
Cég: Promenade Publishing House Kft.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest