Hi,
I have a couple questions for somebody. If you could point me to some documentation or give me some sample code I would greatly appreciate it.
First question is this: I want to have a script that has a file path passed in a string, such as myscript.php?path/to/file.jpg
I want it to check to see if that file exists. If it does, it will print that file out to the browser, if not, it will print a different image set in the script.
Second question is this, how would I be able to delete a file on my FTP server using a PHP script? All I want to do is set the path in a string and have the script locate the file and delete it if it exists.
I think this is it. Thanks in advance for any help!