Jump to content
pantelica

Ajutor php

Recommended Posts

Posted

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.

  • Moderators
Posted (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 by Dragos

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...