Kod
<?php ?>
Drugim problemem jest ze apache nie czyta mi include w php i nie wiem co zrobić próbowałem już wszystkiego serwer stoi na starym komputerze jest on przeznaczony pod shella.
Za pomoc z góry dziękuję

Pozdrawiam Kefu.
<?php ?>
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/log.php:2) in /var/www/log.php on line 3 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/log.php:2) in /var/www/log.php on line 3
<?php include ('bla.php'); //reszta kodu
<?php //reszta kodu
<?php ?>
#!/bin/sh # Copyright (c) 2010 TeamSpeak Systems GmbH # All rights reserved COMMANDLINE_PARAMETERS="${2}" #add any command line parameters you want to pass here BINARYPATH="$(dirname "${0}")" cd "${BINARYPATH}" LIBRARYPATH="$(pwd)" if [ -e "ts3server_linux_x86" ]; then BINARYNAME="ts3server_linux_x86" elif [ -e "ts3server_linux_amd64" ]; then BINARYNAME="ts3server_linux_amd64" elif [ -e "ts3server_freebsd_x86" ]; then BINARYNAME="ts3server_freebsd_x86" elif [ -e "ts3server_freebsd_amd64" ]; then BINARYNAME="ts3server_freebsd_amd64" else echo "Could not locate binary file, aborting" exit 5 fi case "$1" in start) if [ -e ts3server.pid ]; then if ( kill -0 $(cat ts3server.pid) 2> /dev/null ); then echo "The server is already running, try restart or stop" exit 1 else echo "ts3server.pid found, but no server running. Possibly your previously started server crashed" echo "Please view the logfile for details." rm ts3server.pid fi fi if [ "${UID}" = "0" ]; then c=1 while [ "$c" -le 10 ]; do sleep 1 c=$((++c)) done echo "!" fi echo "Starting the TeamSpeak 3 server" if [ -e "$BINARYNAME" ]; then if [ ! -x "$BINARYNAME" ]; then echo "${BINARYNAME} is not executable, trying to set it" chmod u+x "${BINARYNAME}" fi if [ -x "$BINARYNAME" ]; then export LD_LIBRARY_PATH="${LIBRARYPATH}:${LD_LIBRARY_PATH}" "./${BINARYNAME}" ${COMMANDLINE_PARAMETERS} > /dev/null & echo "TeamSpeak 3 server started, for details please view the log file" else echo "${BINARNAME} is not exectuable, cannot start TeamSpeak 3 server" fi else echo "Could not find binary, aborting" exit 5 fi ;; stop) if [ -e ts3server.pid ]; then if ( kill -TERM $(cat ts3server.pid) 2> /dev/null ); then c=1 while [ "$c" -le 300 ]; do if ( kill -0 $(cat ts3server.pid) 2> /dev/null ); then sleep 1 else break fi c=$((++c)) done fi if ( kill -0 $(cat ts3server.pid) 2> /dev/null ); then echo "Server is not shutting down cleanly - killing" kill -KILL $(cat ts3server.pid) else echo "done" fi rm ts3server.pid else echo "No server runing (ts3server.pid is missing)" exit 7 fi ;; restart) ;; status) if [ -e ts3server.pid ]; then if ( kill -0 $(cat ts3server.pid) 2> /dev/null ); then echo "Server is running" else echo "Server seems to have died" fi else echo "No server running (ts3server.pid is missing)" fi ;; *) echo "Usage: ${0} {start|stop|restart|status}" exit 2 esac exit 0