Durukan Bal

  • Home
  • Notes
  • Services
    • Bash – Get My Remote IP Address
    • Attack Videos
    • PHP – Basic Torrent Tracker Server
  • Social
    • Twitter
    • Linkedin
  • cv
  • Powered By Antpi.Net

PHP – Write File Sample

Published by Durukan Bal on 11/10/202211/10/2022

<?php
    $myfile = fopen("newfile.txt", "w") or die("Unable to open file!");
    $txt = "John Doe\n";
    fwrite($myfile, $txt);
    fclose($myfile);
?>
Categories: PHP language
Tags: sample

48 Comments

Leave a Reply Cancel reply

Avatar placeholder

You must be logged in to post a comment.

Categories
  • Bash language
  • C language
  • DOS Attack
  • HTML
  • MySql language
  • PHP language
  • Scan And Search
  • Sniff
  • SQL Injection
Tags
example function list operators sample Syntax

Related Posts

PHP language

PHP – Simple Master Whois Server On Linux

PHP language

PHP – Basic Torrent Tracker Server

Using Server URL: “http://torrent.tracker.durukanbal.com/“ “https://torrent.tracker.durukanbal.com/“

PHP language

PHP – Automation File Lock