Hi all...
I'm trying to open a file using "fopen()", but I'm getting the error...
"stat failed for Resource id #1 (specified file does not exist)"
...but the file is there and the paths are correct.
Here's the code, and thanx in advance everyone.
//retrieve GET data
$dataField = $GET['dataField'];
$fileName = $GET['fileName'];
$newText = $GET['oldText'];
$newText = $GET['newText'];
//dump old file into $content
$fp = fopen($fileName,'r');
$content = fread($fp,filesize($fp));
fclose($fp);