pantelica Posted April 25, 2011 Report Share Posted April 25, 2011 Vreau sa deschid niste fisiere aflate pe serverul meu de sa-mp. Daca se pot deschide, le criptez daca nu , nu.Am incercat pe blogul meu sa deschid un fisier si a mers.$fisier = 'http://site.ro/fisier.txt';$file =fopen($fisier, "r");Dar nu stiu cum sa fac sa deschid pe serverul de sa-mp un fisier sau macar un director.Am incercat asa:$folder = 'ip';print_r(scandir($folder));$fisier = 'ip/scriptfiles/conturi/nume.ini';$file =fopen($fisier, "r");Dar nu merge. Quote Link to comment Share on other sites More sharing options...
pantelica Posted April 25, 2011 Author Report Share Posted April 25, 2011 Pai si din afara nu pot? Sub nicio forma? Quote Link to comment Share on other sites More sharing options...
Moderators Dragos Posted April 25, 2011 Moderators Report Share Posted April 25, 2011 (edited) Pai si din afara nu pot? Sub nicio forma?E ca si cum tu te uiti in chilotii tai pe drum, dar nu te poti uita in chilotii tipei blonde ce trece pe langa tine.Un cacat de exemplu am dat si eu, dar sper sa intelegi. Edited April 25, 2011 by Dragos Quote Link to comment Share on other sites More sharing options...
pantelica Posted April 25, 2011 Author Report Share Posted April 25, 2011 ok mersi. Quote Link to comment Share on other sites More sharing options...