Simple PHP read and write to a text file

This code snippet reads a text file that if it is not existed it will create one with some text in it.

Next time this code is executed, if the file existed, PHP echoes the content of the file.

Or this one, the better one:

 

Getting boored? Why not playing a game?

Power Block

Tiki Solitaire

Pet Connect

Cake Shop

Jewels Blitz 3

Forest Match

Bike Racing

Aquador

Solitaire Swift

Bubble Shooter Classic HD

Black and white snake

Leave a Reply

Your email address will not be published. Required fields are marked *