Main Menu

friends

Latest articles

the easy way to kill processes
29/12/2009 | mad mad mod

Use pkill to kill processes based on their name. For example to terminate all instances of mplayer:


# pkill mplayer
    


how to copy hidden files from one directory to another
10/03/2010 | mad mad mod

Let's assume that you have a directory "test" containing the following files:  [root@blackmod test]# ls -la
total 8
drwxr-xr-x.  2 root root 4096 2010-03-10 06:11 .
dr-xr-x---. 11 root root 4096 20 [ ... ]


Other Articles
Facebook MySpace Twitter Digg Delicious Stumbleupon Google Bookmarks 

Designed by:
SiteGround web hosting Joomla Templates
PHP: Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent E-mail
programming

Solution: make sure that session_start() is the first statement in your PHP script. Even a  white space or or any other characters before session_start() or even before <?PHP tag will result in an error.

 

example:

_<?PHP
session_start();
(...)

 

This will result in "Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent" because the first character in the script is a " " and this will be sent to the browser BEFORE the session_start().

 

 

 

Comments (0)
Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:D:angry::angry-red::evil::idea::love::x:no-comments::ooo::pirate::?::(
:sleep::););)):0
Security
Please input the anti-spam code that you can read in the image.

!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."

 
mad mad mod, Powered by Joomla! and designed by SiteGround web hosting