Ad block is installed and active. Please support us by disabling it.
HomeFriday, September 22, 2017, 00:43:50
1

PHP File Create

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

Creating a basic bad word filter in PHP

This tutorial will show you how to create a basic bad word filter in PHP

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.

Comments 1.1. :: PHP Script

This script allows your visitors to add comments to any single page on your web site.

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.

Random MySQL Query

Random MySQL query, requirement(s): PHP Server, MySQL

MySQL Inner Join

MySQL Inner Join - Creating Dynamic Webpages Using PHP and MySQL, Requirement(s): PHP Server, MySQL

PHP getdate

Returns an associative array containing the date information of the timestamp, or the current local time if no timestamp is given.

Adodb Recordcount Example

RecordCount returns the number of rows in the record set.

PHP Trim

trim() Strip whitespace (or other characters) from the beginning and end of a string.
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.