Ad block is installed and active. Please support us by disabling it.
HomeThursday, September 21, 2017, 03:17:29

How to insert new line (IP Address) with fwrite

Tuesday, February 10, 15, 09:51:03, 3 Yaers Ago Via wain, Hits: 2798
How to insert new line (IP Address) with fwrite, Get IP address and write to file.

$newline = $ipaddress."\r";
$file = "text.txt";
$fh = fopen($file, "a");
echo $newline;

Sign In



Show / Hide Div with CSS

CSS Display and Visibility:The visibility property specifies whether or not an element is visible.

Create dynamic Web Pages with PHP & MySQL

Create dynamic Web Pages with PHP & MySQL, Requirement(s): PHP Server, MySQL

PHP DateTimeZone

PHP representation of time zone

Process Form Data with Jquery

jQuery, Process form data

Upload Image With PHP

[Example3] Tutorial - How to upload image in php.

PHP Forms

FREE PHP forms

PHP Trim

trim() Strip whitespace (or other characters) from the beginning and end of a string.

Advanced Contact Form - PHP Script

Advanced Contact Form with email and form field validation. Features: HTML Output(Response), Captcha Image.

PHP Fwrite : fwrite

php write to file - how to write data to a file using the php frwite function
About Author


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