Skip to main content

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: 12
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.

Your help will be greatly appreciated;

Alejandro Barrero
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:xdebug not breaking at breakpoints
Next Topic:Juno, PDT
Goto Forum:

Current Time: Sat Jan 28 08:03:14 GMT 2023

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

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

Back to the top