Ad block is installed and active. Please support us by disabling it.
HomeMonday, November 20, 2017, 09:13:05
1

PHP File Create

Tuesday, February 10, 15, 14:00:52, 3 Yaers Ago Via wain, Hits: 2773
Create and write data to a file using the php frwite function.
Example:
Code:
<?php
$file = "myfile.html";
$action = fopen($file, 'w') or die("can't open file");
$write = "php - file create";
fwrite($action, $write);
fclose($action);
?>

Sign In

Sponsor

Related

PHP Write to File

PHP Write to File :: PHP Tutorial, requirement(s): PHP server

How to insert new line (IP Address) with fwrite

How to insert new line (IP Address) with fwrite, Get IP address and write to file.

How to check checkbox checked

Checking if checkbox is checked with jQuery

How to set up password for phpMyAdmin in Wamp Server

Password for phpMyAdmin in Wamp

Link Base 1.1. - Free PHP Link Index Script

Manage your links using a MySQL database. Features easy install, user submission, and an admin panel to add, edit and remove categories and links.

Link Base L.1.1.

This script allows you to manage your links using a MySQL database. It features easy install, user submission, and an admin panel to add, edit and remove categories and links. The script is easy to customize to suit your needs.

GuestBook PHP Script

Allow visitors to leave messages on your site. It features easy install, admin notification, and control panel to remove unwanted entries.

Contact Us Form With Captcha

A contact us form with email and form field validation. It allows your visitors to send you an email directly from your website. Features: Captcha Image, HTML output.

Site Recommendation

This script will allow your visitors to recommend your site to their friends.

Preventing multiple form submissions

Preventing multiple form submissions
About Author

wain

Date Registered: Sun, Feb 8, 15
Last Time Online: Thu, Jun 15, 17
So far has created 115 entries.
wain
This author has not yet filled in any details.