On an apache server, using php, if you want to write an .htm file in a different file, how do you designate that file path.
$placePost = "post_file\".$postfilename.".php";
$handle = fopen($placePost, "wb");
$numbytes = fwrite($handle, $post);
fclose($handle);
Where is my mistake here? It doesn't show me an error, it just doesn't write the file.
$placePost = "post_file\".$postfilename.".php";
$handle = fopen($placePost, "wb");
$numbytes = fwrite($handle, $post);
fclose($handle);
Where is my mistake here? It doesn't show me an error, it just doesn't write the file.