473,466 Members | 1,369 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to use mkdir to create dynamically folders using textbox?

17 New Member
how to use mkdir to create dynamically folders using textbox ?

coding
======

<?php
$foldername="text";
mkdir = $foldername;
?>

This will create text folder dynamically once the program runs . I want to do that using textbox as input and if submit button is clicked it should create folder dynamically my name given in the textbox
Jan 20 '11 #1
2 5347
stepterr
157 New Member
Just create a form with the textbox so when its submitted you can grab the $_POST value and assign it to your variable $foldername
Jan 21 '11 #2
HaLo2FrEeEk
404 Contributor
mkdir can't be run like that, it's a function:

mkdir($foldername);

http://php.net/mkdir

You should read about the function before attempting to use it.
Jan 24 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Kiyomi | last post by:
Hello, I create a Table1 dynamically at run time, and at the same time, I would like to create LinkButton controls, also dynamically, and insert them into each line in my Table1. I would...
3
by: sumi | last post by:
How do i create a dir using python.........
8
by: Peter | last post by:
Hi everybody, I'm a new in C# and have a problem I need to create dynamically the name of object let's say "obj1", "obj2" etc. They're hashtables (Action Script objects) I'm doing like...
5
by: Steve S | last post by:
Heres what I want to do...User types into a texbox, clicks a button, the button saves that text to a file. The problem is that when I click the submit button, any changes made to the textbox are...
1
by: keithb | last post by:
I have found that I must re-create dynamically added controls on every postback in order to find and access them programatically. The controls I am working with are inside a GridView control. When...
0
by: petri | last post by:
Could any one say me,how to create a row dynamically with a textbox and comobox in a button click in a grid.Also i need to create the textbox and combobox with id as i need to do calculation...
4
by: lyne_asp | last post by:
Hello everybody, please help me to create dynamically upload file. here is my code: for (int counter = 1; counter <= 4; counter++) { FileUpload fu = new FileUpload(); ...
7
by: Louise06 | last post by:
Hi there, I am working with a Content Management System - CMS (ASP.net solution). I would like to create .asp folders which could contain documents stored in the CMS. Thanks for advising me....
2
by: zimbu | last post by:
Hi all, I have created some textboxes dynamically by using var sun = document.createElement('input'); with button click. after some time I will re visit the fields, how do I retrive that...
2
by: ismailc | last post by:
Good day, I need help. I would like to Update a Sharepoint List (Document Library) Folders using Web Services with Javascript. I have searched on Goggle but nothing that updates a document...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.