Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Problem downloading file(Problem downloading file)
Problem downloading file [message #1006560] Thu, 31 January 2013 17:53 Go to next message
Alejandro Barrero is currently offline Alejandro BarreroFriend
Messages: 11
Registered: February 2011
Junior Member
My code is:
header('Content-type: text/plain');
header('Content-Disposition: attachment; filename=test.txt');

The file exists in my local server with one line, but I am getting
This is a line</body>

Your help will be greatly appreciated.
Re: Problem downloading file [message #1007020 is a reply to message #1006560] Mon, 04 February 2013 05:07 Go to previous message
bit constructor is currently offline bit constructorFriend
Messages: 4
Registered: February 2013
Junior Member
Hi Alejandro,

this is perhaps the wrong forum to ask here?

Perhaps if you go to to the forum where you installed the server functions from?
(e.g. Apache, Zend, PHP, Ubuntu, XAMPP or others)

best regards
Previous Topic:Code completion without project
Next Topic:Java Heap Error
Goto Forum:

Current Time: Mon May 01 00:56:50 GMT 2017

Powered by FUDForum. Page generated in 0.02767 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software