HomeMonday, July 24, 2017, 22:36:09
1

PHP File Create

Tuesday, February 10, 15, 14:00:52, 3 Yaers Ago Via wain, Hits: 2173
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 str_replace

str_replace - This function returns a string or an array with all occurrences of search in subject replaced with the given replace value

PHP imagecreate

imagecreate() returns an image identifier representing a blank image of specified size.

PHP Mail

Sends an email.

MySQL Basic Functions

MySQL Basic Functions - select, delete, update..

Upload and Resize an Image with PHP

Tutorial - How to upload and resize image with PHP

PHP $_GET Function

Get function in PHP

MySQL – Select from two tables

Select data from two tables, PHP MySQL

GuestBook PHP Script

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

PHP Cookies and Sessions Tutorial

PHP Cookies and Sessions Tutorials
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.