CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Can I create folder on Apache from CGI script?

 



digioleg54
User

Apr 28, 2017, 9:50 AM

Post #1 of 4 (904 views)
Can I create folder on Apache from CGI script? Can't Post

I to create a new directory or even several directories on apache server. How can I do it from CGI script?

Thanks


Laurent_R
Veteran / Moderator

Apr 28, 2017, 10:13 AM

Post #2 of 4 (898 views)
Re: [digioleg54] Can I create folder on Apache from CGI script? [In reply to] Can't Post

Sometimes I get the feeling that you overlook the answers you're provided.

Apache is not an operating system and your question is typically about system commands. So, for at least the third time, please provide information about the operating system on which Apache is running.


digioleg54
User

Apr 28, 2017, 10:28 AM

Post #3 of 4 (897 views)
Re: [Laurent_R] Can I create folder on Apache from CGI script? [In reply to] Can't Post

Linux.


Laurent_R
Veteran / Moderator

Apr 28, 2017, 12:03 PM

Post #4 of 4 (892 views)
Re: [digioleg54] Can I create folder on Apache from CGI script? [In reply to] Can't Post

Check the Perl documentation for the mkdir function: https://perldoc.perl.org/functions/mkdir.html.

This should be what you need.

Pay special attention to the last paragraph of this documentation, may be it's another solution that could fit your need.


(This post was edited by Laurent_R on Apr 28, 2017, 12:06 PM)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives