Arrggg: stripping a file name
| From: | Jeff Jordan | Date: | Fri, 03 Dec 2004 23:10:45 +0000 |
| Subject: | Arrggg: stripping a file name | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-15998@lists.php.net to get a copy of this message | ||
I would appreciate any help someone can give.
I have a field that contains c:\myfiles\pictures\abc.jpg
all I want to store in my table is abc.jpg
The last effort was
$myfile = explode('\x92', $_POST[frontelevsrc]);
$_POST[frontelevsrc] = array_pop($myfile);
note: I have also tried "\x92" (double quotes).
Can anyone help?
Thanks
Jeff