LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-16-2008, 01:40 PM   #1
hotfoot
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
PHP to make directories


I am trying to create a Web form that will allow people to create folders on my web server that they can upload documents to. ---This is an internal web server to our company used for Client information storage so I am not worried about anyone getting "unauthorized access".---

I am trying to set something up with PHP so that you fill out the form, and once you submit the form it will take the Project Name(from the form) and use that variable to create the folder named the exact same thing.

I am wondering if it is possible to make the directory with PHP, or if I would have to use a shell script? If I have to use a shell script how would I get the web variable to come through to the script?

Thanks for any and all help you can give me.
 
Old 05-16-2008, 01:47 PM   #2
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
See the following:

http://www.w3schools.com/php/func_filesystem_mkdir.asp

HTH

Forrest
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
users accessing directories,files using php scripts ckob Linux - Security 3 03-14-2008 08:06 AM
recursively copy php.ini to www directories osio Programming 3 07-01-2005 04:24 AM
Make tar of most recent directories drlaz Linux - Newbie 1 06-22-2004 06:38 PM
Enable PHP in ~user Directories user1234 Linux - Software 1 03-11-2004 03:18 AM
ftp can't make directories mehesque Linux - Networking 1 10-21-2003 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration