*jancis38* Posted December 22, 2007 Report Share Posted December 22, 2007 Tikko uzinstalēju AppServ 2.5.9 versiju, startēju, eju iekšā lapā, un izmet tādu brīnumu: Warning: include() [function.include]: URL file-access is disabled in the server configuration in C:\Web\www\index.php on line 6 uz 6 rindiņas ir <?php include ("..."); ?> Kas būtu jādara, lai to novērstu? Link to comment Share on other sites More sharing options...
martins256 Posted December 22, 2007 Report Share Posted December 22, 2007 servera konfigurācijā ieslēdz URL file-access. Link to comment Share on other sites More sharing options...
*jancis38* Posted December 22, 2007 Author Report Share Posted December 22, 2007 servera kofigurācijā? es nezinu kurš fails tas ir. :/ Link to comment Share on other sites More sharing options...
andrisp Posted December 22, 2007 Report Share Posted December 22, 2007 php.ini allow_urlopen vai kaut kas tamlīdzīgs. Link to comment Share on other sites More sharing options...
marcis Posted December 22, 2007 Report Share Posted December 22, 2007 tu drošvien gribi urli inklūdot. tev javag php.ini failā uzlikt allow_url_include 1 Link to comment Share on other sites More sharing options...
*jancis38* Posted December 22, 2007 Author Report Share Posted December 22, 2007 atradu allow_url_fopen kas arī ir On un neiet. Link to comment Share on other sites More sharing options...
*jancis38* Posted December 22, 2007 Author Report Share Posted December 22, 2007 ierakstiju allow_url_include 1 @ php.ini + restartēju datoru, bet nekas nemainijās. es inklūdoju *.php failu. Link to comment Share on other sites More sharing options...
*jancis38* Posted December 22, 2007 Author Report Share Posted December 22, 2007 bija jāieraksta: allow_url_include = On Paldies jums! Link to comment Share on other sites More sharing options...
andrisp Posted December 22, 2007 Report Share Posted December 22, 2007 99% procentu, ka tev nemaz nevajag izmantot include(). Šodrīt atkliks tajā mērķa lapā ievietot php kodu un tas izpildīsies uz tava servera. Link to comment Share on other sites More sharing options...
Recommended Posts