daGrevis Posted June 1, 2009 Report Share Posted June 1, 2009 Nav kāda iespēja, kā uzzināt subDirektoriju bez cilvēka iejaukšanās? Nu domāju http://example.com/šo/šo_arī/un_šo_protams. ...un vispār man met ārā ķļūdu izmantojot jau uzzināto HTTP_HOST'u... Bija nepieciešams definēt vietu, uz kuras atrodas visi faili... NEzinu kā lai to paska. RootPath. Tātad... http://codepad.org/vsO9PEra ..., bet met ārā ķļūdu, lai gan tāds fails pastāv... Warning: require() [function.require]: URL file-access is disabled in the server configuration in C:\xampp\htdocs\subDir\includes\core.php on line 7 Warning: require(http://localhost/subDir/includes/configuration.php) [function.require]: failed to open stream: no suitable wrapper could be found in C:\xampp\htdocs\subDir\includes\core.php on line 7 Fatal error: require() [function.require]: Failed opening required 'http://localhost/subDir/includes/configuration.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\subDir\includes\core.php on line 7 Quote Link to comment Share on other sites More sharing options...
v3rb0 Posted June 1, 2009 Report Share Posted June 1, 2009 URI nav tas pats kas folderi 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.