dot Posted February 14, 2006 Report Posted February 14, 2006 mēģināju palaist valūtas skriptiņu ( šo te ) rakstaas "nevaru piesleegties". vaina nav skriptaa, bet gan serverii. mosh kaut ko neesmu uzinstaleejis.. paldies jau ieprieksh.
v3rb0 Posted February 14, 2006 Report Posted February 14, 2006 ka tik šis http://lv2.php.net/manual/en/ref.filesyste...allow-url-fopen nav pie vainas.
Ugga Posted February 15, 2006 Report Posted February 15, 2006 Hmm..Iemaucu šo kodu no php.net: <?php $file = fopen ("http://localhost/index.php", "r"); if (!$file) { echo "<p>Unable to open remote file.\n"; exit; } while (!feof ($file)) { $line = fgets ($file, 1024); /* This only works if the title and its tags are on one line */ if (eregi ("<title>(.*)</title>", $line, $out)) { $title = $out[1]; break; } } fclose($file); ?> allow_url_fopen = On Kā palaižu skriptu tā Windows izmet :PHP Script Interpreter has encountered a problem and needs to close. We are sorry for the inconvenience. Error_log failā ir: Premature end of script headers: c:/php/php.exe. Kas par bumbām? Netieku pat tiktāl ka būtu "Unable To Open Remote File". Itkā viss ir pareizi
Klez Posted February 15, 2006 Report Posted February 15, 2006 uzliec defaulto php.ini failu. php.ini-recomended tad vaidzeetu straadaat :P
Recommended Posts