ciruliz Posted July 14, 2004 Report Share Posted July 14, 2004 Taatad - ja staav php zem IIS servera & mes gribam izmantot include() funkciju, [vai arii require() vai realpath() ..] , vinja straadaa tik ilgi, kameer dokuments, ko veelamies iekljaut, ir pakaartots root folderim. probleema - tikliidz folderis ir realizeets kaa IIS virtual directory, viss paarstaaj darboties. php neatbalsta iis virtual dirs?? BET phpinfo() funkcija atrgriezh [gandriiz vai pashaa saakumaa] informaaciju, ka virtual directories support -- enabled . . . nekur nav apraxtiits , kur to mainiit, kur nemainiit. PALDIES PAR JEBKURU IDEJU... Link to comment Share on other sites More sharing options...
_Rein_ Posted July 14, 2004 Report Share Posted July 14, 2004 php.ini failaa ir sadalja: ;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;; ; UNIX: "/path1:/path2" ;include_path = ".:/php/includes" ; ; Windows: "\path1;\path2" ;include_path = ".;c:\php\includes" ar ko nosaka includes diru. un tur nav nekaada sakara ar virtuaaliem diriem. Link to comment Share on other sites More sharing options...
ciruliz Posted July 14, 2004 Author Report Share Posted July 14, 2004 To es pats arii izdomaaju. man joprojaam paliek jautaaajums par f-ju realpath(), kurai itkaa include_path neietekmee. un phpinfo() virtual directory support -- enabled Link to comment Share on other sites More sharing options...
Roze Posted July 14, 2004 Report Share Posted July 14, 2004 Ar IIS neesmu darbojies jau gadus 4, bet vai virtuaalas direktorijas (jeb aliasi) nav tikai virtuaali (t.i. acceseejami tikai caur http pieprasiijumu un hdd reaali nekas neveidojas). Proti php jau includes veic izmantojot reaalo failu sisteemu (failu fizisko atrashanaas vietu). Uz *ix sisteemaam gan to viegli imiteet ar symlinkiem, bet uz win skjiet buus jaavada reaalie pathi. Link to comment Share on other sites More sharing options...
Recommended Posts