Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Danny Woods
November 16, 2009, 9:23 pm
rate this thread
email@example.com (Dave Griffith) writes:
If that script is accurate, you're going to have a problem with (at
least) these lines. The single quotes prevent variable interpolation,
so you're trying to read and write files literally named
$upload_dir/$filename, $upload_dir/$outfile, etc. You'll have more luck
if you change these to double quotes, or, as an example,
sprintf('%s/%s', $upload_dir, $filename).