Page 1 of 1

saver is in safe mode and copying files

Posted: Mon Aug 14, 2006 8:31 am
by apalm
Hi

This is the situation. after creating a dinamic page I want to transfer it from directory A to B on the same server. I need help from the begning since I have never done this before.

Here are some questions:

1) Do I need to pass again server user and pass, if yes how do I do??

2) Apperantly the server is in save mode. What does it means? What do I have to do to go around?

3) How do I change the permissions of the file??

Thank you

Anna

Posted: Mon Aug 14, 2006 9:27 am
by feyd
  1. no
  2. it means you will be restricted on where the file functions will allow you to read from and write to.
  3. chmod()

saver is in safe mode and copying files

Posted: Mon Aug 14, 2006 3:47 pm
by apalm
I did try chmod, but it told me "could not open directory or directory not found", that's were all began. I would like to know what should I do. Should I work with session and pass the user name and pass? Is there some code example I could look ???


Anna

:(

server is in safe mode and copying files from private direct

Posted: Tue Aug 15, 2006 10:15 am
by apalm
OK. Maybe if I put into a different perspective, someone will be able to help me.

This is what I have:

The php file is in the private directory on my server (here where I login). On that file I build a dinamic page coming from DB. I save that page on subdirectory A on the private directory. Then what I want is to copy that page to the public_Html directory.

The following are the error I am receiving:

PATH NOT OK (here I tested if server is in safe mode. It looks like it is)

Warning: fopen(page.html): failed to open stream: No such file or directory in /home/

Warning: chmod(): No such file or directory in /home2/

Warning: chmod(): No such file or directory in /home2/


Can anyone give me help on what to do and where to start????

Anna