[ Leftfield @ 28.08.2006. 11:46 ] @
Code:

require_once($config['basepath'] . '/ukl/misc.poc.php');
$misc = new misc();
$start_time = $misc->getmicrotime();


Dobijam gresku:

Warning: require_once(/ukl/misc.poc.php) [function.require-once]: failed to open stream: No such file or directory in C:\Root\wamp\www\Nekretnine\index.php on line 22

Fatal error: require_once() [function.require]: Failed opening required '/ukl/misc.poc.php' (include_path='.;C:\php5\pear') in C:\Root\wamp\www\Nekretnine\index.php on line 22

Probao sam sve sto znam ali :(

[ _owl_ @ 28.08.2006. 15:58 ] @
hint1: $config['basepath'] je najverovatnije nedefinisan (tj. prazan)
hint2: jesi li siguran da na windows platformi mozes da koristis / kao separator direktorijuma

[ Leftfield @ 28.08.2006. 16:39 ] @
Pomogao si mi u razmisljanju - Hvala.

Rjesio sam:

Code:

require_once($config['basepath'] . 'C:\Root\wamp\www\Nekretnine/ukl/misc.poc.php');


Cudno ali radi :)