Current location: Hot Scripts Forums » Programming Languages » PHP » Creating directories and files


Creating directories and files

Reply
  #1 (permalink)  
Old 08-16-03, 01:57 AM
cobalto2060 cobalto2060 is offline
Newbie Coder
 
Join Date: Aug 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Question Creating directories and files

Creating directories and files

I’m starting with PHP, and I need a script than can create new directories, and save data into a .txt file. I already now my way through functions like mkdir(), chdir(), fopen(), fput(), and some others like that, but my real problem is, how can I write in a directory than doesn’t allow writing? How can a script change the permits so it can write files by itself?

Does anyone have a example script that I can see?

Cobalto2060

P.D. Please forgive my poor English.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 08-17-03, 04:20 PM
Ole Nygaard Ole Nygaard is offline
Newbie Coder
 
Join Date: Aug 2003
Location: Copenhagen, Denmark
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Dear cobalto2060

Try this web based file manage:

http://wacker-welt.de/webadmin/

..easy to install and easy to use - and only one file webadmin.php !!

Rgds.
__________________
Ole :-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 06:37 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.