Posted by Pedro Graca on 11/15/06 15:17
matt wrote:
> Hmm I am getting an error to do with headers already being set?
>
> Warning: session_start() [function.session-start]: Cannot send session
> cookie - headers already sent by (output started at
> /public_html/file_download.php:1) in /public_html/file_download.php on
> line 12
I suppose your line 1 of file_download.php is
<?php
Right?
Did you copy the script directly from my post? With the spaces in front?
The '<' should be the very first character in the file :)
> Warning: Invalid argument supplied for foreach() in
> /public_html/file_download.php on line 27
This warning will go away once you get the headers sorted out.
--
I (almost) never check the dodgeit address.
If you *really* need to mail me, use the address in the Reply-To
header with a message in *plain* *text* *without* *attachments*.
Navigation:
[Reply to this message]
|