Hi all,
I am having trouble with a CGI enabled version of PHP at the server I work in.
This requires the line below at the beginning of the script:
#!/usr/local/bin/php -q
The problem is that i cannot put any header() functions because #!/usr/local/bin/php -q is assumed to be an output already. Therefore returning me the error:
Warning: Cannot add header information - headers already sent by (...url...
I have looked everywhere, but the closest thing I found was something about output_buffering, which I ini_set it but didn't do any good.
Help?
Thanks!