Hirdetés
- Hogy milyen lett az ASUS ProArt széria csúcsnotesze? Hát ilyen!
- Ilyen egy komoly célszerszám
- Nosztalgikus húrokat pendít meg a Qwertykeys legújabb, szürreális ajánlata
- Az AMD X870 platform meghódítására tör a Sapphire alaplapos divíziója
- Ha a koreaiakon múlik, még évekig ingünk-gatyánk rámehet a memóriákra
- Fejhallgató erősítő és DAC topik
- Sony MILC fényképezőgépcsalád
- Vezetékes FEJhallgatók
- Melyik tápegységet vegyem?
- Apple MacBook
- Intel Core i7-5xxx "Haswell-E/EP" és i7-6xxx "Broadwell-E/EP" (LGA2011-v3)
- Az Intel korábbi vezére szerint a kvantumforradalom gyorsan elsöpri a GPU-kat
- Épített vízhűtés (nem kompakt) topic
- Milyen billentyűzetet vegyek?
- AMD APU (AM4 és AM5) topik
Ú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ó kellene
Egy 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
- Trollok komolyan
- Fejhallgató erősítő és DAC topik
- Sony MILC fényképezőgépcsalád
- Kezünkben a OnePlus 15 és az Oppo Find X9-ek
- Android felhasználók OFF topikja
- Vezetékes FEJhallgatók
- Milyen légkondit a lakásba?
- Melyik tápegységet vegyem?
- Tőzsde és gazdaság
- Kerékpárosok, bringások ide!
- További aktív témák...
- 5G Lenovo ThinkPad P14s Gen 3 Intel Core i7-1280P Nvidia T550 32GB 512GB 1 év teljeskörű garancia
- 5G Lenovo ThinkPad P14s Gen 3 Intel Core i7-1280P Nvidia T550 32GB 1000GB 1 év teljeskörű garancia
- Samsung UE50NU7022 125 cm / 50 4K UHD Smart TV 6 hó garancia Házhozszállítás
- Xbox One X 1 TB + kontroller 6 hó garancia, számlával!
- PlayStation 5 SLIM DIGITAL 1 TB + kontroller 6 hó garancia, számlával!
- BESZÁMÍTÁS! MSI X99A i7 5820K 16GB DDR4 240GB SSD 1TB HDD GTX 1050Ti 4GB Deepcool Ducase V2 600W
- Bomba ár! Lenovo 14W Gen2 - AMD 3015e I 4GB I 128SSD I 14" FHD I HDMI I Cam I W11 I Garancia!
- OnePlus Nord 2T 128GB, Kártyafüggetlen, 1 Év Garanciával
- BESZÁMÍTÁS! MSI B450M R5 5600X 32GB DDR4 500GB SSD RX 6800 16GB Zalman Z1 PLUS Cooler Master 750W
- Bontatlan DJI OSMO Mobile 6 - ez elbírja a 16 pro max-ot!
Állásajánlatok
Cég: ATW Internet Kft.
Város: Budapest
Cég: BroadBit Hungary Kft.
Város: Budakeszi





