PDA

View Full Version : PHP Help



:Blob
19-06-2006, 05:00 PM
Whats the PHP code to

1. Make a new file under the name you have typed in

2. Make a new directory under the name you have typed in

I have been searching for ages on google

Help plz?

Danny, do you still have the code from cutenewser?

Mentor
19-06-2006, 05:26 PM
Create a file via normal write

<?php
//What we want to call it
$File = "YourFile.txt";
// Create it
$newfile = fopen($File, 'w');
?>

nets
19-06-2006, 05:57 PM
http://php.net/mkdir

:Blob
20-06-2006, 02:32 PM
http://php.net/mkdir

Thanks

+rep each if i can

Want to hide these adverts? Register an account for free!