Jump to content

Creating folders via PHP?


Mutley

Recommended Posts

quick example for you.

[code]
<?php
if(isset($_POST['submit'])){

$name=$_POST['name'];

@mkdir($name);

}

?>

<form method="POST" action="test_name.php">
<br>
please tell me your dir name
<br>
<input type="text" name="name">
<br>
<input type="submit" name="submit" value="send">
[/code]

The rest read the link ok.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.