I have one text file:
When I click Download , it should download and save it in my local download path.
I tried.
window.open("data.txt");
and
header("Location:data.txt")
But both of them open a text file browser. I upload a txt file.
Anyone please help me ..
thanks
Manikandan.
Manikandan thangaraj
source share