may Posted September 28, 2006 Share Posted September 28, 2006 Hi,i cannot delete files using ftp_delete and the second problem i m facing is that i cannot view image files on unix server thru php codemy code goes as follows:<form name="form1" enctype="multipart/form-data" action=""><input name="image" type="image" src="/home/egreenon/public_html/cevent/main/adverts/1-Logo.jpg"/></form> However i m able to view doc files, txt files and other files but not images! Link to comment https://forums.phpfreaks.com/topic/22400-deleting-viewing-files/ Share on other sites More sharing options...
Orio Posted September 28, 2006 Share Posted September 28, 2006 1) Try using unlink() for deletion of files.2) Why did you put the full path in the "src"? Use cevent/main/adverts/1-Logo.jpgOrio. Link to comment https://forums.phpfreaks.com/topic/22400-deleting-viewing-files/#findComment-100384 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.