Hey guys I need help with this php code for my vb project it saves text to a file on webhost, with this code
but I need help changing this code to replacing whatever text I want
Dim request5 As WebRequest = WebRequest.Create("http://kristiank44.lolidk.net/post.php?w=" & textbox1.text
request5.GetResponse()
So how can you fix this to replace all text into data.dat from textbox1? (since this code adds text again on next line) thanks, Sorryy been posting a lot for my big project
'w' Open for writing only; place the file pointer at the beginning of the file and truncate the file to zero length. If the file does not exist, attempt to create it.
$fp = fopen($logfile, "w"); // "w" for write, & erases original file content