Jump to content

getting the value of the js online editor into the php string


ted_chou12

Recommended Posts

this is what ive got so far, however, im having trouble inserting it from the posted area, instead of save, it gives a popup, can anyone suggest me what i should do?
<?php
$dataf = "file.txt";
$file = fopen($dataf,"w");
$write = fwrite($file,$_POST['myEditArea']);
fclose($file);
?>

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.