Posted by matt on 11/15/06 22:10
Pedro Graca wrote:
> 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.
>
Ok fixed that, not just this error:
Warning: Invalid argument supplied for foreach() in
/public_html/file_download.php on line 27
Navigation:
[Reply to this message]
|