I am the owner of three websites:
ZeggHQ: http://www.zegghq.com/
Browser-Based Game Zone: http://www.bbgamezone.com/
SiteDevices: http://www.sitedevices.com/
I enjoy coding PHP games, and that is what my community, Browser-Based Game Zone is dedicated to. If you also like PHP/text-based games, come drop by the site and say a Hi :)
I have been using PHP for 3-4 years now, and I consider myself a somewhat experienced webmaster.
My passion is ...
PHP coding, games
My favorite memory ...
Taiwan
What I am reading/watching/listening to ...
Alkaline Trio - Old School Reasons
My first job ...
Server rework
In this tutorial I will teach you how to manipulate files with native PHP functions. In the Beginning First off, we will start with checking the status of a file. To check if a file exists, you can use the file_exists() function. This function takes a string as a parameter, which is the relative or absolute path to a file. If the file is found, the function will return true, otherwise it will return false. Example: <?php if (file_exists("file.txt")) { echo "The file exists!"; } else { echo "The file doesn't exist!"; } ?> Permissions We can also check if we have permission to read, wr...
More..Andy Hu
Member since: April 2007
Articles Written: 4