Author | Topic |

Location: ballarat
Registered: April 2003
|
nerdy question
|
Wed, 24 March 2004 23:53
|
 |
the reponce time is quicker than google groups here, so i will give it a go!
i have a php page on a unix server that reads and writes to some files. what permissions and what do i have to do set up so the php page can read/write the files but also so the files are not visible to the rest of the world?
cheers
ehendrikd
|
|
|

Location: Cabramatta, NSW
Registered: May 2002
|
Re: nerdy question
|
Thu, 25 March 2004 00:00

|
 |
You have to set some options on the webserver for the PHP to read and write files I think, but this should be the standard setup.
Also make sure the user that PHP is running under (prolly the "apache" user) has read and write access to the directory that you're reading/writing to.
To hide access to the world, do a Google search for .htaccess
|
|
|

Location: ballarat
Registered: April 2003
|
Re: nerdy question
|
Thu, 25 March 2004 00:27
|
 |
awesome thanks nark 
used .htaccess and .htpasswd problem solved
cheers
evan
|
|
|