Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Co może być nie tak?, Fatal error: install() [function.require]: Failed opening required 
Trix94
post
Post #1





Grupa: Zarejestrowani
Postów: 11
Pomógł: 0
Dołączył: 18.03.2012

Ostrzeżenie: (0%)
-----


Witam, tamten plik już rozkodowałem udało się (IMG:style_emoticons/default/Lkingsmiley.png) ale teraz mam inną sytuacje, ponieważ podczas instalacji wyskakuje mi cos takiego

CODE
Warning: install(class/class_db_ { Array [ 'driver' ]} .php) [function.install]: failed to open stream: No such file or directory in /var/www/sites/yoyo.pl/m/a/mafiagametest/install.php on line 548

Fatal error: install() [function.require]: Failed opening required 'class/class_db_ { Array [ 'driver' ]} .php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/sites/yoyo.pl/m/a/mafiagametest/install.php on line 548


A linijka wygląda tak
CODE
require "class/class_db_ { $_POST [ 'driver' ]} .php" ;


Macie jakieś sugestie?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
by_ikar
post
Post #2





Grupa: Zarejestrowani
Postów: 1 798
Pomógł: 307
Dołączył: 13.05.2009
Skąd: Gubin/Wrocław

Ostrzeżenie: (0%)
-----


Kod
'class/class_db_ { Array [ 'driver' ]} .php'

Jednoznacznie ten kawałek kodu sugeruje że dane które się znajdują w $_POST['driver'] to jest kolejna tablica. Druga sprawa to co tam robi post i to bezpośrednio umieszczony, bez filtrowania? Bardzo bezpieczne, bardzo..
Go to the top of the page
+Quote Post

Posty w temacie


Closed TopicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 27.12.2025 - 19:11