Re: [PHP] auto download

2006-02-22 Thread tedd
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 link is another page so I

Re: [PHP] auto download

2006-02-22 Thread John Nichel
Benjamin Adams wrote: I have it working with javascript but the if statements are not working: --- echo $num_download; if($num_downlaod <= 50){ -- See a problem? -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAI

Re: [PHP] auto download

2006-02-22 Thread Benjamin Adams
I have it working with javascript but the if statements are not working: window.open(''); }else if(($num_download > 50) && ($num_download <= 75) && ($conf [$links]['link2'] != '')){ ?> window.open(''); }else i

Re: [PHP] auto download

2006-02-22 Thread John Nichel
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

[PHP] auto download

2006-02-22 Thread Benjamin Adams
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 link is another page so I