|
Posted by robert on 09/28/39 11:46
| <pre>
| <code>file_exists($path . $filename);</code>
| </pre>
| which returns false. What really has me befuddled, though, is that if
| I put in the line
| <pre>
| <code>file_exists($path . "OpACoeffofPowervsSpeed.wmf");</code>
| </pre>
| it returns true. I can't figure out, for the life of me, why it is
| doing this. If anyone can help, I would be very much appreciative. If
| you need to see the rest of the script, or the originating text file, I
| can get those to you, but there's not really a whole lot else to see.
use this:
echo '<pre>' . $path . $filename . '</pre>';
that's far more helpful than file_exists...it will show *why* your dynamic
path is failing...we *already* know that the file doesn't live where you're
telling php it does.
anyway, i'd rather see your code that parses out the file name.
hth,
me
Navigation:
[Reply to this message]
|