Genius Posted October 12, 2005 Posted October 12, 2005 HI I would like to show the file name from a specific folder on my site.. eg in my catalog folder i have a folder called docs , in that i have a file called test.doc In my products info i have managed to get a link to the file but i cannot get the name test.doc to show. can someone please help me.. this is what i have so far.. echo '<a href="' . tep_href_link(DIR_WS_DOCS . $product_info['products_docs']) . '">' . TEXT_DOC . '</a>'; the TEXT_DOC is set in my langages/english/product_info.php as define('TEXT_DOC', 'name'); Instead of name i need to show the actual file name and it's extention.. test.doc Any help would be great. thanks
♥Monika in Germany Posted October 12, 2005 Posted October 12, 2005 check in admin/backups.php how the files in the backups folder are displayed ... :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
Genius Posted October 12, 2005 Author Posted October 12, 2005 HI all I have managed to solve it , for those who may wonder... all i did was instead of TEXT_DOC i changed that to $product_info['products_docs']) in the products_info page.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.