Ad block is installed and active. Please support us by disabling it.
HomeMonday, January 22, 2018, 18:19:27
1

PHP File Create

Tuesday, February 10, 15, 14:00:52, 3 Yaers Ago Via wain, Hits: 3163
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 form with file upload

Advanced Contact Form with email and form field validation. It allows your visitors to send you an email directly from your website.

Upload Attachment - PHP Tutorial

Upload attachment with PHP example, Requirement(s): PHP server

View content in a zip file with PHP

List all files in a zip archive with PHP

Math Captcha V6

PHP Math Captcha Image Version 6

GuestBook PHP Script

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

Upload File with PHP

Basic file uploading with PHP

PHP explode

Explode — Split a string by string.

PHP Links Script 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.

Tell A Friend with Captcha

This form allows your visitors to suggest your site to a friend. It features an HTML email format and an admin notification email.

Block Visitors From Specific IP Address

Learn How To Restrict Users From Different IP Addresses.
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.