Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Skrypt. Pomoc w edytowaniu, pomozcie
ppukownik
post 9.05.2006, 12:19:23
Post #1





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 1.02.2005

Ostrzeżenie: (10%)
X----


jest to skrypt do ogame... jednak musze tu w config wyedytowac i zmienic dane ale ja wogole sie nie znam szczerze i szukam pomocy. Moglby ktos to zmienic.

serwer na ktorym on bedzie to
Kod
http://60free.ovh.org/pl/index.html



  1. <?php
  2.   //  --------------------------------------------------------------------  //
  3.   //                            oG.AdminPanel                               //
  4.   //                                                                        //
  5.   //         Copyright (c) 2005 Paweł Halicki,      http://hwao.be/         //
  6.   //  --------------------------------------------------------------------  //
  7.   //  This program is free software; you can redistribute it and/or modify  //
  8.   //  it under the terms of the GNU Lesser General Public License as        //
  9.   //  published by the Free Software Foundation; either version 2.1 of the  //
  10.   //  License, or (at your option) any later version.                       //
  11.   //  --------------------------------------------------------------------  //
  12.   //
  13.  
  14.    $Config['db']['user'] = 'root';  //login
  15.    $Config['db']['pass'] = '';//haslo
  16.    $Config['db']['base'] = 'ogame';//baza danych
  17.    $Config['db']['host'] = 'localhost';
  18.    $Config['db']['prefix'] = '';
  19.    
  20.    $Config['url'] = 'http://localhost/ogame2/'; //url do strony
  21.    
  22.  
  23.    define( 'p', $Config['db']['prefix'] );
  24.    
  25.    function clear( $sString ) {
  26.       static $mMagicQuotes = null;
  27.       
  28.       if( is_null( $mMagicQuotes ) ) {
  29.          $mMagicQuotes = get_magic_quotes_gpc();
  30.       }
  31.       
  32.       if( $mMagicQuotes ) {
  33.          $sString = stripslashes( $sString );
  34.       }
  35.       
  36.       return mysql_escape_string( $sString );
  37.    }
  38.  
  39. ?>


poprawiam
---
nospor


Ten post edytował ppukownik 9.05.2006, 12:34:39
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 3)
nospor
post 9.05.2006, 12:22:00
Post #2





Grupa: Moderatorzy
Postów: 36 557
Pomógł: 6315
Dołączył: 27.12.2004




Cytat
Co tu wpisac?
poprawny tytul smile.gif
Prosze poprawic topic o wlasciwy tytul mowiący coś o tresci tematu

pozatym prosze uzywac wlasciwego bbcode

a, no i przenosze na wlasciwe miejsce


--------------------

"Myśl, myśl, myśl..." - Kubuś Puchatek || "Manual, manual, manual..." - Kubuś Programista
"Szukaj, szukaj, szukaj..." - Kubuś Odkrywca || "Debuguj, debuguj, debuguj..." - Kubuś Developer

Go to the top of the page
+Quote Post
ppukownik
post 9.05.2006, 12:35:42
Post #3





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 1.02.2005

Ostrzeżenie: (10%)
X----


ok dzieki i juz porawione teraz bede czekal na pomoc
Go to the top of the page
+Quote Post
kwiateusz
post 9.05.2006, 18:42:58
Post #4


Admin Techniczny


Grupa: Administratorzy
Postów: 2 071
Pomógł: 93
Dołączył: 5.07.2005
Skąd: Olsztyn




co ta mjest nie zrozumialego ? zakaldajac konto na hostingu dostaniesz dane do abzy i wpiszujesz je w odpowienie pola.. mas znawet kolo nich opis za co konkretne odpowiada ..
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 00:25