Chupakabra Posted July 17, 2011 Report Share Posted July 17, 2011 Sveiki. Radas velme paspeleties ar web brovser spelem.Skatos ka interneta pilns ar jau gatavam spelitem.Es tik isti nesaprotu ka tos php failus pareizi jaieliek sava majas lapa lai cilveki var sakt spelet.Varetu ka palidzet? Seit ir tas par ko runaju. http://php.resourceindex.com/Complete_Scripts/Games/ Es nesaprotu vienigi ka palaist to instalaciju.Ceru uz atsaucibu. P.S. - negribu piebazt internetu ar tadam spelem,man vienkarsi tas ieintereseja.Gribetos saprat. Quote Link to comment Share on other sites More sharing options...
viena tante Posted July 18, 2011 Report Share Posted July 18, 2011 praktiski visiem pieejamajiem kodiem ir līdz readme fails, kurā ir pastāstīts kas un kā jādara Quote Link to comment Share on other sites More sharing options...
Chupakabra Posted July 18, 2011 Author Report Share Posted July 18, 2011 Nu itka ir protams.Bet varbut vari paskaidrot? Dragon Knight Installation Instructions ### SYSTEM REQUIREMENTS ### - PHP (4.1 and higher) - MySQL - zlib compression enabled on your server (optional) ### INSTALLATION INSTRUCTIONS ### 1. Create a new database for Dragon Knight to use, if you don't already have one set up. 2. Edit 'config.php' to include the correct values for your database setup. 3. Upload the contents of the Dragon Knight folder to your site. 4. In your browser, run 'install.php' and follow the instructions. 5. After completing installation, delete 'install.php' from your Dragon Knight directory for security. 6. Enjoy the game. Kas man jaieraksta taja config.php faila? Jo kad palaizu Install failu vins izmet erorru ka nevar ieinstelet.Varbut daru nepareizi.Sis install.php fails ir japarveido par install.html?Jo savadak jau nevaru vinu palaist. Ceru uz sapratni.Vienkarsi interese. Quote Link to comment Share on other sites More sharing options...
daGrevis Posted July 18, 2011 Report Share Posted July 18, 2011 Tev, pirmkārt, ir jābūt instalētam PHP. Quote Link to comment Share on other sites More sharing options...
Chupakabra Posted July 18, 2011 Author Report Share Posted July 18, 2011 Kad ieladeju visus failus vins man saka so.Bet ja izdzesu tad neiet jo nesmu ieinstalejis. Please delete install.php from your Dragon Knight directory before continuing. Quote Link to comment Share on other sites More sharing options...
Chupakabra Posted July 18, 2011 Author Report Share Posted July 18, 2011 Tev, pirmkārt, ir jābūt instalētam PHP. Tu doma so XAMPP...? Quote Link to comment Share on other sites More sharing options...
daGrevis Posted July 18, 2011 Report Share Posted July 18, 2011 Es domāju PHP, bet XAMPP arī derēs, jo tur iekšā ir PHP. Domāju, ka neesi pareizus datus ievadījis tajā 'conf' failā... tur vajag būt Tavas datubāzes 'server', 'username', 'password', 'name'. Quote Link to comment Share on other sites More sharing options...
Chupakabra Posted July 18, 2011 Author Report Share Posted July 18, 2011 Es domāju PHP, bet XAMPP arī derēs, jo tur iekšā ir PHP. Domāju, ka neesi pareizus datus ievadījis tajā 'conf' failā... tur vajag būt Tavas datubāzes 'server', 'username', 'password', 'name'. To failu noteikti nesmu pareizi sarakstijis.Un tad tie faili ir jamet ieksa taja XAMPP nevis uz majas lapas servera?Laikam izklausos galigi stulbs :) Quote Link to comment Share on other sites More sharing options...
codez Posted July 18, 2011 Report Share Posted July 18, 2011 config failā tev visdrīzāk ir jāieraksta mysql lietotāja vārds un parole, kā arī iespējams db nosaukums. Faili tev jākopē tur, kur tu gribi palaist, ja uz sava datora, tad savā datorā, ja publiski internetā, tad uz kāda publiski pieejama servera. Quote Link to comment Share on other sites More sharing options...
Chupakabra Posted July 18, 2011 Author Report Share Posted July 18, 2011 Tad tiktalu taka butu skaidrs.Config faila ir si pentere <?php // config.php :: Low-level app/database variables. $dbsettings = Array( "server" => "localhost", // MySQL server name. (Default: localhost) "user" => "", // MySQL username. "pass" => "", // MySQL password. "name" => "", // MySQL database name. "prefix" => "dk", // Prefix for table names. (Default: dk) "secretword" => ""); // Secret word used when hashing information for cookies. ?> Ko no sita drikst dzet ara.Un gribu palaist publiski interneta lai varu ar darugu paakstities. Tatad iemetu visus failus interneta kas ir mapite. Sini config faila ierakstu savu interneta adreses user un pass.Vienigi database name vel nav skaidrs. Quote Link to comment Share on other sites More sharing options...
Chupakabra Posted July 18, 2011 Author Report Share Posted July 18, 2011 Meginu uzlikt uz si servera zymic.com Quote Link to comment Share on other sites More sharing options...
daGrevis Posted July 18, 2011 Report Share Posted July 18, 2011 Iekačā Counter Strike un āksties. Quote Link to comment Share on other sites More sharing options...
Chupakabra Posted July 18, 2011 Author Report Share Posted July 18, 2011 Iekačā Counter Strike un āksties. Nu iztiksim bez apvainojumiem.Tas ka nesmu datoros genijs nenozime,ka man ir 12 gadi un speleju tik bezjedzigas spelites. Man liekas ari,ka savus jautajumus uzdevu cik ne vien sakarigi un izsmelosi speju ar savam zinasanam par PHP. Quote Link to comment Share on other sites More sharing options...
daGrevis Posted July 18, 2011 Report Share Posted July 18, 2011 Nu uzzini datus no tā Tava hostinga un tur arī savadi... Quote Link to comment Share on other sites More sharing options...
Chupakabra Posted July 18, 2011 Author Report Share Posted July 18, 2011 Nu uzzini datus no tā Tava hostinga un tur arī savadi... Nu es zinu Host: User: Port: Name Servers ns1.zxq.net ns2.zxq.net MySQL Hostname localhost Path to your website ............... Ar to pietiek? Kad ierakstiju config.php sito informaciju man zinamu.Tad uzspiezot uz majas lapas adresi paradas tikai erorr.Ja partaisu install.php failu uz install.html tad varu palaist pirmo instalesanas posmu kur lauj izveleties instalet uzspiezu un error. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.