Re: [PHP] Re: auto download

2006-02-23 Thread Jochem Maas
Jens Kleikamp wrote: Benjamin Adams wrote: I have three links. The code already auto selects one. I'm trying to take that one link and automaticly start the download. I tryed with header('location:$link'); but it tells me "Warning: Cannot modify header information" what would I use to start dow

[PHP] Re: auto download

2006-02-23 Thread Mathieu Dumoulin
If your page is already displayed and you want to auto start a link, its not done via PHP, its done via javascript to open a new window towards one of those links. Nothing prevents you from outputting javascript yourself from PHP, give it a try its really fun to build dynamic javascript applica

[PHP] Re: auto download

2006-02-23 Thread Jens Kleikamp
Benjamin Adams wrote: I have three links. The code already auto selects one. I'm trying to take that one link and automaticly start the download. I tryed with header('location:$link'); but it tells me "Warning: Cannot modify header information" what would I use to start downloading? one of the li