View Single Post
Old 2004-06-22, 19:42   Link #2
wun
Junior Member
 
Join Date: Apr 2004
Quote:
Originally Posted by AOforever1
First off I know this may not the appropriate forum for this discussion, but I've been posting here more than in any other place. So I'll just get straight to the point.

I am currently trying to create a php program where dynamic data is stored on text files and, hence I will need to be able to encrypt my data in php files (user passwords etc), read/write out to .txt files through php code.

If anybody can help me with these topics I'd greatly appriciate it.

A few specific questions:

What is a .mdu file extension?
How does the CHMOD work with owner and group level access?
ok..

why to a text file? you haven't got access to a database?? most hosts will have at least MySQL installed...

easier to access, password protected...

but if you really need to use text files... php has a crypt() funtion... link to crypt() description on php.net

.mdu.. not idea... couldn't find anythign on the net about it... usually filext.com helps me out with that...

chmod is a command you use to change the permissions...
4 = read
2 = write
1 = execute

so chmod 755 is owner can do all... group and public can read and excute...

in general you can treat group like you treat public.

in general leave owner (you) set to 7 unless you want to stop yourself from editing the file.
wun is offline   Reply With Quote