Jump to content

[SOLVED] fopen()..back a directory


ag3nt42

Recommended Posts

anyone know how to write to a file that is up one directory?

 

like if your in this directory\/:

 

/root/myfile/install/I'm here

 

and my file to write to is here:

 

/root/myfile/

 

thanx in advance,

 

ag3nt42

 

ps. I've tried using

 

fopen("http://root/myfile");

 

but then i get a bad error

 

cannot use Write through HTTP

Link to comment
https://forums.phpfreaks.com/topic/109769-solved-fopenback-a-directory/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.