I
iLikeMyiPhone
Guest
I am a PHP Programmer (beginner) myself but this question puzzles me. Any help is appreciated!
1. Design a class to access files on a local filesystem. This must
include opening a file, making changes, and saving the file. It is
important to include the ability to binary read and write so any type
of file can be edited. The class should be easy to use and include
appropriate error checking.
2. Using the class created in question 1 write a function that will
accept the url of a valid image(jpg, gif, png) and download the file
to the local machine in a folder called "external_images". The
filename saved should be the return value of the function. The
function should be easy to use and include appropriate error checking.
1. Design a class to access files on a local filesystem. This must
include opening a file, making changes, and saving the file. It is
important to include the ability to binary read and write so any type
of file can be edited. The class should be easy to use and include
appropriate error checking.
2. Using the class created in question 1 write a function that will
accept the url of a valid image(jpg, gif, png) and download the file
to the local machine in a folder called "external_images". The
filename saved should be the return value of the function. The
function should be easy to use and include appropriate error checking.