PHP write file... need help
Posted
by Jordan Pagaduan
on Stack Overflow
See other posts from Stack Overflow
or by Jordan Pagaduan
Published on 2010-04-16T17:48:45Z
Indexed on
2010/04/16
17:53 UTC
Read the original article
Hit count: 247
php4
<?php $title = $_POST['title']; $filename = $title , ".php"; $fh = fopen($filename, 'w') or die ("can't open file"); $stringData = $title; fwrite($fh, $stringData); $stringData = $blog; fwrite($fh, $stringData); fclose($fh); ?>
This is only a sample. What is the correct code for that?
© Stack Overflow or respective owner