PHP for VB.Net
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
this is how I run it
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
but I need help changing this code to replacing whatever text I want
Code:
<?php $msg = $_GET['w']; $logfile= 'data.dat'; $fp = fopen($logfile, "a"); fwrite($fp, $msg); fclose($fp); ?>
this is how I run it
Code:
Dim request5 As WebRequest = WebRequest.Create("http://kristiank44.lolidk.net/post.php?w=" & textbox1.text
request5.GetResponse()