Toymods Car Club
www.toymods.org.au
F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Members Members    Search Search
Toymods » The Outhouse » nerdy question

Show: Today's Posts  :: Show Polls 
Email to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
AuthorTopic
ehendrikd
Forums Junkie


Location:
ballarat
Registered:
April 2003
 
nerdy question Wed, 24 March 2004 23:53 Go to next message
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
  Send a private message to this user    
Nark
Forums Junkie


Location:
Cabramatta, NSW
Registered:
May 2002
      Nark@toymods.net/Work
Re: nerdy question Thu, 25 March 2004 00:00 Go to previous messageGo to next message
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

Smile
  Send a private message to this user    
ehendrikd
Forums Junkie


Location:
ballarat
Registered:
April 2003
 
Re: nerdy question Thu, 25 March 2004 00:27 Go to previous message
awesome thanks nark Wink

used .htaccess and .htpasswd problem solved

cheers
evan
  Send a private message to this user    
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic:UHF/VHF cordless handhelds
Next Topic:*anyone* an opeth fan?
Goto Forum:
-=] Back to Top [=-

Current Time: Sat Aug 2 20:19:39 UTC 2025

Total time taken to generate the page: 0.003911018371582 seconds

Bandwidth utilization bar

.:: Contact :: Home ::.

Powered by: FUDforum 2.3.8
Copyright ©2001-2003 Advanced Internet Designs Inc.