<? $dr = date("d/m/Y h:i a"); $ip = fopen("http://rafaelmc.hollosite.com/ip/ip.txt", "a"); fputs ($ip, "IP: $REMOTE_ADDR || Data e Hora: $dr \n"); fclose($ip); ?>daew, o txt ta hospedado, mas da esse erro quando eu abro a pag:
Warning: fopen(http://rafaelmc.holl...e.com/ip/ip.txt) [function.fopen]: failed to open stream: HTTP wrapper does not support writeable connections. in C:\web\arquivos\head.php on line 3
Warning: fputs(): supplied argument is not a valid stream resource in C:\web\arquivos\head.php on line 5
Warning: fclose(): supplied argument is not a valid stream resource in C:\web\arquivos\head.php on line 6
O txt ta aew:
http://rafaelmc.hollosite.com/ip/
pq?